NumPy Quiz

NumPy Quiz

University

18 Qs

quiz-placeholder

Similar activities

ARRAYS AND FUNCTIONS

ARRAYS AND FUNCTIONS

University

15 Qs

Searching and Sorting

Searching and Sorting

University - Professional Development

15 Qs

ML quiz 5

ML quiz 5

10th Grade - Professional Development

20 Qs

JavaScript Arrays Quiz

JavaScript Arrays Quiz

11th Grade - University

20 Qs

Java - Revisão I

Java - Revisão I

University

20 Qs

Quiz Pemrograman Lanjut 2022/2023

Quiz Pemrograman Lanjut 2022/2023

University

20 Qs

MÓDULOS Y PAQUETES PARA MACHINE LEARNING CON PYTHON

MÓDULOS Y PAQUETES PARA MACHINE LEARNING CON PYTHON

University

20 Qs

Arrays and Pointers in C

Arrays and Pointers in C

University

15 Qs

NumPy Quiz

NumPy Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Ankita Roy

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term used for a NumPy array with any number of dimensions?

tensor

matrix

vector

ndarray

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of array in NumPy?

1-D Array

0-D Array

2-D Array

4-D Array

3-D Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the shape of a NumPy array represent?

The data type of the array

The number of dimensions

The size of the array along each dimension

The number of elements

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to reshape a NumPy array?

change_shape()

modify_shape()

reshape_array()

reshape()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations can be performed on NumPy arrays?

Addition

Subtraction

Multiplication

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the np.sum() function do?

Calculates the mean

Calculates the maximum value

Calculates the sum of array elements

Calculates the product of array elements

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to append a row to a NumPy array?

np.insert()

np.concat()

np.append()

np.add()

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?