numpy_test

numpy_test

University

20 Qs

quiz-placeholder

Similar activities

Quiz Informatika Kelas VIII

Quiz Informatika Kelas VIII

8th Grade - University

20 Qs

Python 1.0

Python 1.0

10th Grade - University

20 Qs

Round 1

Round 1

University

15 Qs

day 2

day 2

University

19 Qs

Linked List and Arrays in JAVA

Linked List and Arrays in JAVA

University

16 Qs

Introduction to Django Framework Quiz

Introduction to Django Framework Quiz

University

15 Qs

Python MCQ

Python MCQ

University

20 Qs

Geeks for Geeks PCCOER Info Session CP Quiz

Geeks for Geeks PCCOER Info Session CP Quiz

University

20 Qs

numpy_test

numpy_test

Assessment

Quiz

Computers

University

Medium

Created by

Mohammed Alhaan

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NumPy primarily provide for Python?
GUI applications
Web development tools
High-level mathematical functions and arrays
Image editing features

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command creates a 1D array from 0 to 9 in NumPy?
np.arange(10)
np.linspace(0, 9, 10)
np.range(10)
np.list(10)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of np.zeros((2,3))?
2x3 array of ones
3x2 array of zeros
2x3 array of zeros
2x3 array with random values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute returns the shape of a NumPy array?
.shape()
.dim()
.size()
.shape

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function reshapes a 1D array into 2D?
reshape()
ravel()
resize()
transpose()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does .T do on a NumPy array?
Creates a new array
Transposes it
Resizes it
Removes last axis

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operation is a + b for NumPy arrays?
Loop-based
Matrix multiplication
Element-wise addition
Broadcast function

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?