Scipy and Numpy Quiz

Scipy and Numpy Quiz

University

10 Qs

quiz-placeholder

Similar activities

NumpyPandas

NumpyPandas

University

10 Qs

training ep.2

training ep.2

University

11 Qs

Kuis 3  - ASD - A

Kuis 3 - ASD - A

University

10 Qs

J277 - 2.2 - Use of Arrays up to 2D

J277 - 2.2 - Use of Arrays up to 2D

10th Grade - University

8 Qs

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

Ayudantía #8 TICS100

Ayudantía #8 TICS100

University

10 Qs

Ayudantía #7 TICS100

Ayudantía #7 TICS100

University

9 Qs

ITC303 QUIZ #3

ITC303 QUIZ #3

University

10 Qs

Scipy and Numpy Quiz

Scipy and Numpy Quiz

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?