Search Header Logo

Training Quiz 6

Authored by AI 2023

Computers

University

Used 4+ times

Training Quiz 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.

reshape, resize

resize, reshape

reshape2, resize

all of the mentioned

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

To create sequences of numbers, NumPy provides a function __________ analogous to range that returns arrays instead of lists.

arange

aspace

aline

all

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is NumPy library ?

library with a large collection of high-level mathematical functions

is a library written for the Python programming language for data analysis.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does NumPy stand for?

Numerical Python

Natural Python

Numeric Program

Nonlinear Python

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the default data type of NumPy arrays?

int32

float64

object

None of the above

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of the following code?

[2, 3, 4]

[0, 1, 2]

[5, 6, 7]

[2, 4, 6]

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is used to calculate the mean of a NumPy array?

mean()

average()

median()

all

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?