Search Header Logo
Flashcard1 AI-ML

Flashcard1 AI-ML

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground 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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?