Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data science quiz 1

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

What will be the output for the following code?

import numpy as np

dt=dt=np.dtype('i4')

print(dt)

a)

int32

b)

int64

c)

int128

d)

int16

2.

If a dimension is given as ____ in a reshaping operation, the other dimensions are automatically calculated.

a)

0

b)

1

c)

-1

d)

Infinite

3.

Which of the following Numpy operation are correct?

a)

Mathematical and logical operations on arrays.

b)

Fourier transforms and routines for shape manipulation.

c)

Operations related to linear algebra.

d)

All of the above

4.

 What will be output for the following code?

import numpy as np

a = np.array([1, 2, 3,4,5], ndmin = 2)

print a

a)

[[1, 2, 3, 4, 5]]

b)

[1, 2, 3, 4, 5]

c)

Error

d)

Null

5.

NumPY stands for?

a)

Numbering Python

b)

Number in Python

c)

Numerical Python

d)

None of the above

6.

Seaborn is python _________library based on matplotllib.

a)

Graphicial interface

b)

Data visualization

c)

Statistical graph

d)

Data structure

7.

Seaborn provides a high level interface for

a)

drawing attractive

b)

graphic tools

c)

statistical graph

d)

statistical bar

8.

find the syntax for seaborn

a)

import as sns

b)

import seaborn as

c)

import seaborn as sns

d)

all the above

9.

Find the Features of Seaborn

a)

Seaborn works well with NumPy and Pandas data structures

b)

It come with Tools for choosing color palettes to make beautiful plots

c)

It helps to visualize univariate and bivariate data

d)

It deals like how one variable is behaving with respect to other

10.

What is the function to give color to plot

b)

sns.swarmplot()

c)

color_palette()

d)

countplot()

11.

 

Define KDE

a)

Kool Desktop Environment

b)

Kentucky Department of Environment

c)

K Desktop Environment

d)

Kernel Density Estimation

12.

________store data in the form of rectangular grids by which the data can be over viewed easily.

a)

Dataset

b)

Datatype

c)

Dataframe

d)

Frame structure

13.

The interface for manipulating the styles is

a)

set_style()

b)

set_color()

c)

set_view()

d)

set_font()

14.

which function is used to remove the top

and right axis spines in white and ticks

themes

a)

despine()

b)

displot()

c)

color_paletee()

d)

set_context()

15.

We have another function which deals with color palettes.

a)

sb.despine()

b)

color_palette()

c)

seaborn.palplot()

d)

sb.sinplot()

16.

Function _________ provides the most convenient way to take a quick look at univariate distribution.

a)

distplot()

b)

countplot()

c)

sns.swarmplot()

17.

The best way to analyze Bivariate Distribution in seaborn is by using the ____________ function.

a)

Pyplot()

b)

Jointplot()

c)

palplot()

d)

current_palette()

18.

which function used to positions each point of scatter plot on the categorical axis and thereby avoids overlapping points

a)

stripplot()

b)

swarmplot()

c)

ountplot()

d)

none of the above

19.

seaborn helps to plot statistical time series data with flexible estimation and representation of uncertainty around the estimate

a)

True

b)

False

20.

Pandas key data structure is called?

a)

Keyframe

b)

DataFrame

c)

Statistics

d)

Econometrics