python ba

python ba

University

30 Qs

quiz-placeholder

Similar activities

Python - TEI FatecPG - P2

Python - TEI FatecPG - P2

University

25 Qs

AI Bootcamp: 2024 Edition- Session 2

AI Bootcamp: 2024 Edition- Session 2

University

25 Qs

Stack and Queue

Stack and Queue

University

25 Qs

C PROGRAMMING

C PROGRAMMING

University

25 Qs

Compro. Final 1/64 part1

Compro. Final 1/64 part1

University

25 Qs

ITSA Selection Round 1

ITSA Selection Round 1

University

27 Qs

String in C Programming

String in C Programming

University

26 Qs

PYTHON CONTEST

PYTHON CONTEST

University

25 Qs

python ba

python ba

Assessment

Quiz

Computers

University

Hard

Created by

lucky dubey

Used 2+ times

FREE Resource

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

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?