wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

QUIZ

Total questions: 23

Worksheet time: 13mins

Name
Class
Date
1.
How to create a numpy array?
a)
numpy.array([1, 2, 3, 4, 5])
b)
[1, 2, 3, 4, 5]
c)
array([1, 2, 3, 4, 5])
d)
numpy.array{(1, 2, 3, 4, 5)}
2.
What will be the output of np.arange(10,201,10)?
a)
[ 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200]
b)
[10 100 200]
c)
[10 10 10 10 10 10 10 10 10 10]
d)
error
3.

What will be the output of the code:

heights = [165,170,168,183,172,169]

weights = [61,76,56,81,62,60]

student_bio = np.array([heights,weights])

student_bio.shape

a)

(6, 2)

b)

(2, 6)

c)

array(2, 6)

d)

np.array(6, 2)

4.
What is the syntax to get the variance?
a)
np.var
b)
np.variance
c)
np.arr.variance
d)
arr.variance
5.
What is the syntax to get the median?
a)
np.median
b)
arr.mean
c)
mean()
d)
np(arr.mean)
6.

What will be the output of the following code:

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

print(np.sort(a))

a)

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

b)

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

c)

Error

d)

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

7.

What is Pandas ?

a)

A Giant Fuzzy Bear

b)

Python library to perfom data operations

c)

Python library to manipulate datasets

d)

None of the Above

8.
Python Library that can be used to clean data.
a)
pandas
b)
numpy
c)
matplotlib
d)
datacleanlib
9.
To find the number of columns and rows in a dataset, we can use
a)
shape
b)
df.size
c)
df.shape
d)
size
10.
Which among the following is used to identify missing data?
a)
df.isnull()
b)
df.sum()
c)
df.notnull()
d)
df.replace()
11.
With which methods can we fill missing values?
a)
Mean,Median
b)
bfill,ffill
c)
interpolate
d)
Mode
12.
Which of the following is not a method to fix missing values?
a)

Add Random Values

b)

replace them with a value

c)

Drop the row

d)

Drop the column

13.
Seaborn is used for
a)
Aggregation
b)
Data visualization
c)
Data Cleaning
d)
to get dataset of the sea
14.
Regression and Classification are
a)
Algorithms
b)
special programming languages
c)
related to biology
d)
related to neurology
15.

......... is a visualization tool for enterprise analytics.

a)

Google chart

b)

Infogram

c)

Tableau

d)

Plotly

16.

........... is another visualization tool that your teams of developers can adopt using APIs.

a)

Google chart

b)

Infogram

c)

Tableau

d)

Plotly

17.

.......... is compatible with Python R and Matlab and its visualization can be embedded in web-

based applications.

a)

Google chart

b)

Infogram

c)

Tableau

d)

Plotly

18.

...................data is information that does not reside in a relational database but that have some organizational properties that make it easier to analyze

a)

structured

b)

semi structured

c)

unstructured

d)

none of the above

19.

what data analytics provides us with

a)

hidden insights

b)

reports

c)

market analysis

d)

all the above

20.

.....................errors are those that occur when the person enters a wrong value on purpose.

a)

data entry error

b)

null error

c)

delibrate error

d)

system error

21.

Data set {brown, black, blue, green , red} is example of

a)

Continuous attribute

b)

Ordinal attribute

c)

Numeric attribute

d)

Nominal attribute

22.

Which of the following is NOT example of ordinal attributes

a)

Zip codes

b)

Ordered numbers

c)

Movie ratings

d)

Military ranks

23.

Which of these measures are used to analyze the central tendency of data?

a)

Mean and Normal Distribution

b)

Mean, Median and Mode

c)

Standard Deviation, Range and Mean

d)

Median, Range and Normal Distribution