RL NumPy Quiz 1

RL NumPy Quiz 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

APCSA Unit 6

APCSA Unit 6

10th - 12th Grade

14 Qs

APCSA Unit 6.2

APCSA Unit 6.2

10th - 12th Grade

14 Qs

AP Computer Science Principles Arrays

AP Computer Science Principles Arrays

10th - 12th Grade

14 Qs

AP CSA Unit 6 Arrays

AP CSA Unit 6 Arrays

10th - 12th Grade

14 Qs

Area and Arrays

Area and Arrays

10th - 12th Grade

15 Qs

AP CSA Arrays

AP CSA Arrays

10th - 12th Grade

14 Qs

Exploring Computer Science

Exploring Computer Science

10th - 12th Grade

14 Qs

Traversing Arrays

Traversing Arrays

10th - 12th Grade

14 Qs

RL NumPy Quiz 1

RL NumPy Quiz 1

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Aahnik Daw

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are true about NumPy

NumPy stands for Numerical Python

Fast as compared to the python List

Consumes less memory compared to python Lists

NumPy is a part of Python Standard Library

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In NumPy, with what datatype we work with ?

np.ndarray

array

List

numpy array

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are true about Dimensions of a NumPy array ?

The depth of an array can be measured by the number of dimensions of an array

A NumPy array can have any number of dimensions.

The shape of the ndarray can be described by n attributes when dimension is n

Dimension can be 0

4.

FILL IN THE BLANK QUESTION

2 mins • 3 pts

Media Image

A NumPy array is given in the picture. What is arr[1,2,1] + arr[0,1,2] - arr[1,1,1]


Hint: Answer is a three digit number

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Import the NumPy library with the alias jkdf

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I check the datatype of a NumPy array named arr?

type(arr)

arr.dtype

arr.type()

arr.dtype()

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are true?

The shape of an array is the number of elements in each dimension

In NumPy arrays we can store elements of different datatypes

Complex Floats are supported by NumPy

Given two 1-D arrays with characters, to find if the shorter array is a part of the larger array, we can take help of slicing

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?