Scipy and Numpy Quiz

Scipy and Numpy Quiz

University

10 Qs

quiz-placeholder

Similar activities

Array in C

Array in C

University

10 Qs

Arrays

Arrays

KG - University

10 Qs

Arrays

Arrays

11th Grade - University

10 Qs

Array

Array

11th Grade - University

10 Qs

Arrays I

Arrays I

University

6 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Informatika

Informatika

University

15 Qs

EC8393_FDS_MODEL EXAM_3_PART B

EC8393_FDS_MODEL EXAM_3_PART B

University

15 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?