Search Header Logo

Quiz 15/10/2025

Authored by Dr Brahma

Engineering

University

Used 1+ times

Quiz 15/10/2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

What does this return?

def x(data)

z=max(data)-min(data)

return(z)

(a)  

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For getting 3rd, 4th and 5th row of a datafile "df" in python programming, we can write

df.loc[2,3,4]

df.loc[3,4,5]

df.iloc[3,4,5]

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The extension of the file name generated from the following program is

In [1]: import numpy as np

In [2]: a = 3.2

In [3]: np.save(‘data',a)

.h5

.pdf

.npy

.txt

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of following program?

In [1]: import numpy as np

In [2]: x = np.array([1,2,3])

In [3]: y = np.array([4,7,9])

In [4]: z = np.vstack((x,y))

In [5]: print np.shape(z)

(2, 3)

(1, 3, 5)

(1, 3, 9, 10)

(3, 2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Seaborn plot is best for showing the frequency of occurrences for each category in a categorical variable?

Count Plot

Line Plot

Rug Plot

Pair Plot

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Seaborn plot helps visualize pairwise relationships between multiple numerical variables in a dataset?

Pair plot

Relational plot

Swarm plot

Cluster map

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you customize the color of bars in a bar plot in Matplotlib?

bar_color parameter in bar()

color parameter in bar()

set_color() method

customize_color() method

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

Already have an account?