Header Ads Widget

Responsive Advertisement

important question for Class 12 term 1 Informatics practice examination


 

Important Data visualization important question for Class 12 term 1 Informatics practice examination 


Q – 1 A _________ refers to the graphical representation of data and information using charts or diagrams or maps.

–> Data Visualization


Q – 2 Data visualization helps to

a) Understand data easily

b) Take a decisions

c) Improve the past performance

d) All of these


Q – 3 The ______ module allows you to represent data visually in various forms.

–> pyplot


Q – 4 The ________ library provides the interface and functionality for plotting the graphs.

–> matplotlib


Q – 5 Which of the following offers many different names collections of methods?

a) PyPlot

b) matplotlib

c) matlab

d) graphs


Q -6 Which of the following correct statement to import pyplot module?

a) import matplotlib.pyplot

b) import MatPlotLib.PyPlot

c) import PyPlot as pl

d) import pyplot.plot


Q – 7 A __________ chart displays information as a markers connected by a straight lines.

–> Line


Q – 8 A bar chart is also known as column chart. (True/False)


Q – 9 The entire is covered by the graph is known as __________

–> Figure or Chart Area


Q – 10 Which is a common method used to plot data on the chart?

a) plot()

b) show()

c) legend()

d) title()


Q – 11 Which of the following is/are correct statement for plot method? pl alias name of matplotlib liberary of python

a) pl.plot(x,y,color,others)

b) pl.plot(x,y)

c) pl.plot(x,y,color)

d) all of these


Q – 12 What are the mandatory parameters to plot data on chart for plot() method?

a) x and y

b) color

c) others

d) None of these


Q – 13 To give a title to x-axis, which of the following method is useful?

a) pl.xtitle(“title”)

b) pl.xlabel(“title”)

c) pl.xheader(“title”)

d) pl.xlabel.show(“title”)


Q – 14 The pl.show() method must be used to display the chart in the end of the chart specification. (True/False)


Q – 15 The _________ method is used to create a line chart.

a) pl.pie()

b) pl.col()

c) pl.plot()

d) pl.line()


Q – 16 To create a horizontal bar chart, bar() function is used. (True/False)


Q – 17 To change the width of bars in bar chart, which of the following argument with a float value is used?

a) thick

b) thickness

c) width

d) barwidth


Q – 18 You can set different width for different bars in bar chart. (True/False)


Q – 19 To apply color you can only specify the color names. (True/False)


Q – 20 Which method is used to display or show the legends? pl as the object of matplotlib

a) pl.show()

b) pl.display()

c) pl.legend()

d) pl.values()


Write code to do the following:

Plot the following data on line chart:

Runs in Overs1020
CSK90170
DC100260

Write code to plot a line chart to depict the run rate of T20 match from given data:

OversRuns
660
1070
16140
20250

Plot following data on bar graph:

English: 99,80,90,98

Science: 100,97,98,99

Maths: 99,100,99,97



Post a Comment

0 Comments