NumPy Basics Quiz

NumPy Basics Quiz

University

20 Qs

quiz-placeholder

Similar activities

business 1.4 revision

business 1.4 revision

KG - Professional Development

20 Qs

PYTHON UNIT I MCQS

PYTHON UNIT I MCQS

University

15 Qs

Quiz No. 3 (Finals)

Quiz No. 3 (Finals)

University

20 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

SQL Quiz

SQL Quiz

University

18 Qs

POST TEST WEB STATIC

POST TEST WEB STATIC

University - Professional Development

20 Qs

switch case

switch case

University

17 Qs

GPS

GPS

9th Grade - University

15 Qs

NumPy Basics Quiz

NumPy Basics Quiz

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Harshita Kanojia

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NumPy stand for?

Number Python

Numerical Python

Numbers in Python

Numeric Python Programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to import NumPy?

import numpy as pnp

import numpy as np

import np as numpy

import NumPy

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main object in NumPy?

list

array

ndarray

matrix

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a 1D NumPy array?

np.array([1, 2, 3])

np.array((1, 2, 3))

np.array{1, 2, 3}

Both A and B

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

(2,)

(4,)

(2, 2)

(1, 4)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a NumPy array with 5 zeros?

np.zero(5)

np.zeros(5)

np.empty(5)

np.ones(5)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to create an array with values from 0 to 9?

np.range(10)

np.arrange(10)

np.arange(10)

np.linspace(10)

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?