Numpy

Numpy

University

20 Qs

quiz-placeholder

Similar activities

PYTHONFIN1

PYTHONFIN1

University

15 Qs

PyGame

PyGame

University

20 Qs

numpy_test

numpy_test

University

20 Qs

Python - TEI FatecPG - P2

Python - TEI FatecPG - P2

University

25 Qs

NumPy Quiz

NumPy Quiz

University

18 Qs

DAY-1 CRYPTEX AI/ML

DAY-1 CRYPTEX AI/ML

University

16 Qs

python openCV

python openCV

University

20 Qs

РЭУ тест по Python

РЭУ тест по Python

University

20 Qs

Numpy

Numpy

Assessment

Quiz

Computers

University

Medium

Created by

Sheryl A

Used 22+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

import numpy as np

arr = np.array([1, 2, 3, 4])

print(arr[1])

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Iimport numpy as np

arr = np.array(42)

print(arr)

42

4

2

24

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of NumPy in Python?

To do numerical calculations

To do scientific computing

Both A and B

None of the mentioned above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

NumPy package is capable to do fast operations on arrays.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

NumPy arrays can be ___.

Indexed

Sliced

Iterated

All of the mentioned above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a library in python

pandas

matplotlib

numpy

Visualization

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

import numpy as np

x = np.array([[0, 1], [2, 3]])

np.transpose(x)

array([[0, 2], [1, 3]])

array([[0, 1], [2, 3]])

array([[2, 3], [0, 1]])

None of the mentioned

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?