Basic Numpy Concepts

Basic Numpy Concepts

11th Grade

10 Qs

quiz-placeholder

Similar activities

Numpy 4 life

Numpy 4 life

9th - 12th Grade

10 Qs

Analisis Data Deforestasi (PLB)

Analisis Data Deforestasi (PLB)

11th Grade

10 Qs

Data visualization

Data visualization

10th Grade - University

12 Qs

CG Module5 Numpy

CG Module5 Numpy

4th Grade - University

13 Qs

RL NumPy Quiz 1

RL NumPy Quiz 1

9th - 12th Grade

10 Qs

Machine Learning

Machine Learning

11th Grade

10 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Reshaping & vStack&hstack( )

Reshaping & vStack&hstack( )

9th Grade - University

10 Qs

Basic Numpy Concepts

Basic Numpy Concepts

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Nivetha K

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Numpy in Python?

Numpy is a data visualization tool in Python.

Numpy is a game development framework in Python.

Numpy is a web framework for building APIs in Python.

Numpy is a library in Python used for numerical computing, offering support for large, multi-dimensional arrays and matrices.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a Numpy array?

Call numpy.new_array() for Numpy array creation.

Invoke numpy.make_array() to build a Numpy array.

Use numpy.create() to generate a Numpy array.

Use numpy.array() to create a Numpy array.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to find the shape of an array?

dimensions

length

size

shape

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you access elements in a Numpy array?

Use indexing and slicing to access elements in a Numpy array.

Elements can only be accessed through functions.

Access elements by their data type only.

Use loops to access elements in a Numpy array.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a list and a Numpy array?

A list can contain mixed data types; a Numpy array requires all elements to be of the same type.

A list is a fixed size, whereas a Numpy array can grow dynamically.

A Numpy array can only contain integers, while a list can contain any type.

A list is faster for numerical operations than a Numpy array.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a) List

b) DataFrame

c) ndarray

d) Series.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NumPy stand for?

a) Numerical Python

b) Numbers in Python

c) Number Processing

d) None of the above

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?