Search Header Logo

Fun with Numpy

Authored by Aswin Varghese

Fun, Education, Instructional Technology

9th - 12th Grade

Used 108+ times

Fun with Numpy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Each location of an element in an array is called ______________

Size

Length

Index

Element

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Two dimensional arrays are also known as ______________

Subscripts

Matrices

ndarray

Vectors

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

One dimensional arrays are also known as _____________

Vectors

ndarray

Matrices

Subscript

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of these is given as the 1st subscript?

column index no.

row index no.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

_________________ returns the length of each element of array in bytes.

len()

itemsize

shape

type

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A=np.array([1,2,3,4],dtype=np.float64)

What is the itemsize of array 'A'?

1

4

8

16

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

b=np.array([[1,2,3,4],[5,6,7,8],[10,11,12,13]])

Write the value of b[2,1].

3

6

10

11

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?