Search Header Logo

python ba

Authored by lucky dubey

Computers

University

Used 2+ times

python ba
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

30 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 is Pandas ?

A Giant Fuzzy Bear

Python library to perfom data operations

Python library to manipulate datasets

None of the Above

6.

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]]

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?