Google News
logo
Matplotlib - Quiz(MCQ)
A)
2D
B)
3D
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   2D

A)
Maps
B)
Charts
C)
Graphs
D)
Shapes

Correct Answer :   Shapes

A)
Nine number
B)
Seven number
C)
Five number
D)
Three number

Correct Answer :   Five number

A)
Bar chart
B)
Line chart
C)
Pie chart
D)
Horizontal bar chart

Correct Answer :   Line chart

A)
Pie
B)
Boxplot
C)
Histogram
D)
All of the above

Correct Answer :   All of the above

A)
Import matplotlib.pyplot
B)
Import matplotlib.pyplot as plt
C)
Import pyplot as plt
D)
Both (A) and (B)

Correct Answer :   Both (A) and (B)

A)
Comparison in different categories of data
B)
Relationship between two sets of numeric data
C)
Data trend over a period of time
D)
Contribution of individual values to a total value

Correct Answer :   Comparison in different categories of data

A)
df.plot( type = ‘hist’, edge = ‘red’)
B)
df.plot( type = ‘hist’, line = ‘red’)
C)
df.plot( type = ‘hist’, edgecolor = ‘red’)
D)
df.plot(type = ‘hist’, linecolor = ‘red’)

Correct Answer :   df.plot( type = ‘hist’, edgecolor = ‘red’)

A)
print()
B)
plot()
C)
chart()
D)
figure()

Correct Answer :   plot()

A)
pie()
B)
histg()
C)
plot()
D)
barh()

Correct Answer :   histg()

A)
Bar
B)
Line
C)
Box plot
D)
Histogram

Correct Answer :   Box plot

A)
hist()
B)
histo()
C)
histg()
D)
histogram()

Correct Answer :   hist()

A)
Bar
B)
Line
C)
Scatter
D)
Pie

Correct Answer :   Pie

A)
Color
B)
Marker
C)
Linestyle
D)
Lineheight

Correct Answer :   Lineheight

A)
box()
B)
bar()
C)
plot()
D)
None of the above

Correct Answer :   bar()

A)
Title
B)
Ticks
C)
Marker
D)
Data labels

Correct Answer :   Marker

A)
Scatter
B)
Bar
C)
Pie
D)
Histogram

Correct Answer :   Scatter

A)
Bar
B)
Pie
C)
Line
D)
Scatter

Correct Answer :   Bar

A)
Bar
B)
Line
C)
Pie
D)
Histogram

Correct Answer :   Line

20 .
A)
Function
B)
Library
C)
Collection
D)
Module

Correct Answer :   Module

A)
Marker
B)
Chart title
C)
Legend
D)
Data labels

Correct Answer :   Legend

A)
Handling
B)
Plotting
C)
Visualization
D)
Analysis

Correct Answer :   Visualization

A)
pyplot
B)
matlab
C)
Anaconda
D)
Seaborn

Correct Answer :   pyplot

A)
Line
B)
Bar
C)
Line with bar
D)
Bar with dots

Correct Answer :   Bar

A)
Bin
B)
Width
C)
Cumulative
D)
Histtype

Correct Answer :   Bin

A)
Pip matplotlib
B)
Install matplotlib
C)
Install pip matplotlib
D)
Pip install matplotlib

Correct Answer :   Pip install matplotlib

A)
2
B)
5
C)
10
D)
14

Correct Answer :   10

A)
csc.gov.in
B)
data.mygov.in
C)
data.gov.in
D)
digitalindia.gov.in

Correct Answer :   data.gov.in

A)
Quartile
B)
Count
C)
Median
D)
Maximum

Correct Answer :   Count

A)
Plt.boxplot()
B)
Plt.box()
C)
Plt.plot(kind=’box’)
D)
All of the above

Correct Answer :   Plt.boxplot()

A)
plt.savefig(“graph.png”)
B)
plt.savefig(“graph.pdf”)
C)
plt.savefig(“graph.jpg”)
D)
plt.savefig(“graph.ppt”)

Correct Answer :   plt.savefig(“graph.ppt”)

A)
Plt.box(data, horiz=True)
B)
Plt.box(data, vert=False)
C)
Plt.boxplot(data, vert = False)
D)
None of the above

Correct Answer :   Plt.boxplot(data, vert = False)

A)
png
B)
jpg
C)
pdf
D)
doc

Correct Answer :   png