Scipy and Numpy Quiz

Scipy and Numpy Quiz

University

10 Qs

quiz-placeholder

Similar activities

NumPy

NumPy

University

15 Qs

Arrays

Arrays

KG - University

10 Qs

Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

Data Analytics using Python - Quiz 1

Data Analytics using Python - Quiz 1

University

10 Qs

[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

University

15 Qs

C++ vs Python: A Quiz Introduction

C++ vs Python: A Quiz Introduction

11th Grade - University

10 Qs

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

Array in C

Array in C

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?