Practice

Practice

University

20 Qs

quiz-placeholder

Similar activities

CS305 Microprocessor

CS305 Microprocessor

University

20 Qs

Plotting in Python

Plotting in Python

12th Grade - University

25 Qs

Data Structures Quiz 1

Data Structures Quiz 1

12th Grade - University

18 Qs

CRYPTEX FINAL QUIZ AIML

CRYPTEX FINAL QUIZ AIML

University

25 Qs

Data Science (Data Preparation & Visualitation)/Pandas Python

Data Science (Data Preparation & Visualitation)/Pandas Python

University

20 Qs

FDA FINAL QUIZ

FDA FINAL QUIZ

University

20 Qs

Pandas, NumPy, and Matplotlib Basics Quiz

Pandas, NumPy, and Matplotlib Basics Quiz

University

25 Qs

GirlsWhoML Workshop 0

GirlsWhoML Workshop 0

University

20 Qs

Practice

Practice

Assessment

Quiz

Computers

University

Easy

Created by

JOYDEEP ROY

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What does NumPy primarily provide?

Data visualization tools

Array objects and numerical operations

Machine learning algorithms

Web frameworks

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following creates a NumPy array of zeros?

numpy.zeros((3,3))

numpy.ones((3,3))

numpy.array((0,0))

numpy.zeros.array((3,3))

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the shape of this array? np.array([[1,2,3],[4,5,6]])

(3, 2)

(2, 3)

(1, 6)

(6,)

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

How can you find the data type of elements in a NumPy array?

array.type()

array.dtype

array.datatype()

array.gettype()

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will np.array([1,2,3]) + np.array([4,5,6]) return?

[1, 2, 3, 4, 5, 6]

[4, 10, 18]

[5, 7, 9]

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following reshapes an array arr to 2 rows and 3 columns?

arr.resize(2, 3)

arr.flatten(2, 3)

arr.shape(2, 3)

arr.reshape(2, 3)

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is a DataFrame?

A single row of data

A 2D labeled data structure

A 1D labeled array

A chart

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?