Search Header Logo

Data Analytics using Python - Quiz 2

Authored by Karunya Hacks

Computers

University

Used 4+ times

Data Analytics using Python - Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: np.left_shift(5, 2)

10.0
20.0
18.0
300.0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of : np.bitwise_and(10, 18)

18.0
10.0
2.0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to get the variance?

np.var
np.variance
np.arr.variance
arr.variance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to get the median?

np.median
arr.mean
mean()
np(arr.mean)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code:

a=np.array([[8,5,1],[6,2,7]])

print(np.sort(a))

[[8 5 1] [6 2 7]]] [2 6 7]]

[[1 5 8] [2 6 7]]

Error

[[8 5 1] [7 6 2]]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Pandas ?

A Giant Fuzzy Bear

Python library to perfom data operations

Python library to manipulate datasets

None of the Above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code: np.matlib.identity(5, dtype = float)

[[1. 1.] [1. 1.]]

error

[[0. 0.] [0. 0.]]

[[1. 0. 0. 0. 0.] [0. 1. 0. 0. 0.] [0. 0. 1. 0. 0.] [0. 0. 0. 1. 0.] [0. 0. 0. 0. 1.]]

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?

Discover more resources for Computers