NumPy Quiz

NumPy Quiz

Professional Development

21 Qs

quiz-placeholder

Similar activities

Manejo de sistemas Operativos <TERCER PARCIAL>  Unidad 4 a 6

Manejo de sistemas Operativos <TERCER PARCIAL> Unidad 4 a 6

Professional Development

17 Qs

UJIAN SEMESTER II :  KKPI (TAHUN 2019-2020)

UJIAN SEMESTER II : KKPI (TAHUN 2019-2020)

Professional Development

20 Qs

Evaluacion Continua 02 - Enero 2024

Evaluacion Continua 02 - Enero 2024

Professional Development

16 Qs

Révision HTML, CSS et JavaScript

Révision HTML, CSS et JavaScript

Professional Development

20 Qs

Excel Básico  U1 & U2

Excel Básico U1 & U2

Professional Development

20 Qs

Lógica Python Revisão 1º Semestre

Lógica Python Revisão 1º Semestre

Professional Development

20 Qs

the truth table - boolean logic (python - lpthw)

the truth table - boolean logic (python - lpthw)

Professional Development

20 Qs

Evaluación de procesos 02

Evaluación de procesos 02

Professional Development

20 Qs

NumPy Quiz

NumPy Quiz

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Lilesh Pathe

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is NumPy primarily used for?

Creating GUIs

File handling

Numerical computations

Web development

Game development

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function creates an array with values [0, 1, 2, 3, 4]?

np.arange(5)

np.range(5)

np.linspace(0,5)

np.array(5)

np.series(5)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create an array of all ones with shape (2,3)?

np.ones((2,3))

np.ones[2,3]

np.one((2,3))

np.full((2,3), 1.0)

Both a and d

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of np.array([1, 2, 3]) * 2?

[1, 2, 3, 1, 2, 3]

[2, 4, 6]

[1, 2, 3, 2]

[1, 4, 9]

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does np.array([1, 2, 3]).ndim return?

1

2

3

0

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will np.arange(1, 10, 2) output?

[1, 2, 3, 4, 5, 6, 7, 8, 9]

[1, 3, 5, 7, 9]

[1, 2, 4, 6, 8]

[2, 4, 6, 8, 10]

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

(2, 2)

2

(4,)

(2,)

(1, 4)

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?