
Scipy and Numpy Quiz

Quiz
•
Computers
•
University
•
Medium
Mr. 1684
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to return the mathematical number PI from the constants module, if the module is imported like this:
from scipy import constants
constants.pi
constants.pi_int
PI
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to a list of all units under the constants module, if the module is imported like this:
from scipy import constants
constants
dir(constants)
constants.list
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When dealing with curves, what are the low points called?
minima
low
U
bottom
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to return the number of 'not zero' values in an array?
nonzeros()
no_zeros()
nozeros()
count_nonzeros()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When working with constanst, what would be the result of the following:
constants.kilo
10.0
1000.0
1.0
100.0
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to create a NumPy array?
np.array([1, 2, 3, 4, 5])
np.createArray([1, 2, 3, 4, 5])
np.object([1, 2, 3, 4, 5])
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to check the number of dimensions in an array?
np.ndim
np.dim
np.ndim()
np.dim()
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Bootcamp Day 3 - Java Array

Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas

Quiz
•
University
13 questions
Array of Structure

Quiz
•
University
15 questions
Python Skills

Quiz
•
1st Grade - Professio...
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
10 questions
Quiz 11

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
10 questions
Quiz 8: Arrays&Vector

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade