Flashcard1 AI-ML

Flashcard1 AI-ML

Assessment

Flashcard

Computers

University

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is NumPy used for?

Back

Working with arrays and numerical computations

2.

FLASHCARD QUESTION

Front

How do you install NumPy?

Back

pip install numpy

3.

FLASHCARD QUESTION

Front

What does the 'np.newaxis' keyword do in NumPy?

Back

Adds a new axis (dimension) to an array

4.

FLASHCARD QUESTION

Front

What will be the output of ?
np.array([1, 2, 3, 4], dtype=bool)

Back

[True, True, True, True]

5.

FLASHCARD QUESTION

Front

What will np.eye(3) return?

Back

A 3x3 identity matrix

6.

FLASHCARD QUESTION

Front

What function is used to create an array filled with a specific value in NumPy? Options: np.empty(), np.zeros(), np.full(), np.ones()

Back

np.full()

7.

FLASHCARD QUESTION

Front

Which method is used to concatenate two NumPy arrays? Options: np.append(), np.hstack(), np.concat(), np.vstack()

Back

np.append()

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?