Best 50 Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Best 50 Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
CS-IP-Learning-Hub
Important Questions and Notes
Menu
Like
Click For
PANDAS SERIES MCQ
Q1. __________________ means graphical or pictorial representation of the data using graph, chart,
etc.
a. Data visualization
b. Visual Data
c. Matplot
Show Answer
Q2. Which of the following library to be imported for creating chart in python?
a. Matplotlib
b. Pandas
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 1/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
c. Math
d. Random
Show Answer
c. pyplot
Show Answer
Show Answer
b. ploting( )
c. plot( )
d. plots( )
Show Answer
b. Legend
c. Axis labels
Show Answer
b. show( )
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 2/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
c. display( )
d. screen( )
Show Answer
Q8. To plot x versus y, we can write ________________ #plt is an alias for matplotlib.pyplot
a. plt.plot(y, x)
Like
b. plt.plot(x)
c. plt.plot(x,y)
Show Answer
b. x ticks
c. xy ticks
Show Answer
b. x ticks
c. xy ticks
Show Answer
Click here to check your performance in Data Visualization MCQ Class XII IP
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 3/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Q11. plot(a, b) is provided with two parameters, which indicates values for _______________
a. x-axis and y-axis, respectively
c. x-axis only
b. Bar graph
c. Line chart
d. Pie chart
Show Answer
b. savefigure( )
c. savefig( )
Show Answer
b. show( )
c. savefig( )
Show Answer
b. histo( )
c. histochart( )
d. hist( )
Show Answer
Data Visualization MCQ Class XII IP
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 4/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Q16. Which of the following pyplot function is used to plot pie chart.
a. pie( )
b. piechart( )
c. circle( )
d. oval( )
Like
Show Answer
Q17. Which of the following pyplot function is used to plot bar graph.
a. bargraph( )
b. bar( )
c. barchart( )
d. oval( )
Show Answer
Q18. Which of the following pyplot function is used to set the label for the x-axis.
a. xlabeled( )
b. xlabel( )
c. x_axis_label( )
Show Answer
Q19. Which of the following pyplot function is used to set the values on the x-axis.
a. xticks( )
b. xlabel( )
c. xvalues( )
Show Answer
Q20. Which of the following pyplot function is used to set a title for the chart.
a. Title( )
b. c_title( )
c. title( )
Show Answer
Data Visualization MCQ Class XII IP
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 5/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Click here to check your performance in Data Visualization MCQ Class XII IP
Like
Q21. To show the grid lines in plot, we can write _______________ #plt is an alias of
matplotlib.pyplot
a. plt.grid( )
b. plt.grid(True)
Show Answer
Q22. A ___________ is any symbol that represents a data value in a line chart.
a. marker
b. mark
c. marks
Show Answer
b. plot( )
c. display( )
Show Answer
Q24. Write a statement to display “Amount” as x-axis label. (consider plt as an alias name of
matplotlib.pyplot)
a. plt.label(“Amount”)
b. plt.xlabel(“Amount”)
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 6/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
c. plt.xlabel(Amount)
Show Answer
Q25. Write a statement to “use * as marker” . (consider plt as an alias name of matplotlib.pyplot)
a. plt.plot(h, w, marker = “*”) #h and w are data representing x axis and y axis
Like
b. plt.plot(h, w, mark = “*”) #h and w are data representing x axis and y axis
c. plt.marker(“*”)
Show Answer
b. plot( )
Show Answer
Q27. If we have a Series type object (let’s say ‘s1’ ) we can call the plot method by writing
_____________
a. s1.plot( )
b. plot(s1)
c. s1.plot(s1)
Show Answer
Q28. Which attribute of plot( ) function help to specify the type of chart?
a. type
b. kind
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 7/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
c. kinds
d. types
Show Answer
Q29. Statement to plot a line chart for data stored in a DataFrame ‘df’ is _____
a. df.plot(line)
Like
b. plot(df, line)
c. df.plot(kind = “line”)
Show Answer
b. sizeofmarker
c. markersize
Show Answer
Click here to check your performance in Data Visualization MCQ Class XII IP
b. box
c. histogram
d. bargraph
Show Answer
Q32. Which attribute of plot( ) function is used to set the width of line in line plot?
a. widthline
b. linewidth
c. widthofline
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 8/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Show Answer
Q33. Which attribute of plot( ) function is used to set the style of line in line plot?
a. linestyle
b. styleline
c. styleofline
Like
d. none of the above
Show Answer
Q34. Which attribute of plot( ) function is used to set the edge color of bar in bar chart?
a. bordercolor
b. colorofedge
c. edgecolor
Show Answer
Q35. Which attribute of plot( ) function is used to set the different color of bars in bar chart?
a. color
b. barcolor
c. colorbar
Show Answer
Q36. ____________ are column-charts, where each column represents a range of values, and the
height of a column corresponds to how many values are in that range.
a. Bar graph
b. Histograms
c. Line chart
d. pie chart
Show Answer
Q37. Which parameter of plot( ) function help to set the values of bins in Histogram?
a. bin
b. bins
c. binvalue
d. none of the above
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 9/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Show Answer
Q38. Which attribute is used to change the border color of each hist in histogram?
a. border color
b. colorofborder
c. edgecolor
Like
d. none of the above
Show Answer
Q39. Which attribute is used to fill each hist with pattern in histogram?
a. pattern
b. fill
c. hatch
d. color
Show Answer
Q40. What is the default value of fill property in plot( ) function of creating histogram?
a. True
b. False
c. Green
d. Black
Show Answer
Click here to check your performance in Data Visualization MCQ Class XII IP
Q41. Fill in the blank in the given code, if we want to plot a line chart for values of list ‘a’ vs values
of list ‘b’.
a = [1, 2, 3, 4, 5]
plt.plot __________
a. (a, b)
b. (b, a)
c. [a, b]
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 10/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Show Answer
b. matplotlib.pyplot
Like
c. matplot.pyplot
Show Answer
import matplotlib.pyplot as pl
a = [1,2,3,4,5]
pl.plot(a,b)
pl.plot(a,c)
pl.show()
a. line chart
b. bargraph
c. histogram
Show Answer
Q44. The following code will show ___________ lines in the figure/chart.
import matplotlib.pyplot as pl
a = [1,2,3,4,5]
pl.plot(a,b)
pl.plot(a,c)
pl.show()
a. 1
b. 2
c. 3
d. 4
Show Answer
Q45. The following statement will create line plot of __________ color.
pl.plot(a, b, ‘g’) #a and b are list
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 11/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
a. black
b. yellow
c. green
d. magenta
Show Answer
Like
Q46. Which of the following chart can not be created by using matplotlib.pyplot ?
a. Box
b. Stats
c. Pie
d. Line
Show Answer
b. linechart( )
c. plot( )
d. plotter( )
Show Answer
b. Legend
c. legends
Show Answer
b. barh( )
Show Answer
Q50. The following code will create _______
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 12/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
d. None
Like of the above
Show Answer
Click here to check your performance in Data Visualization MCQ Class XII IP
b. False
Show Answer
Click For
Disclaimer : I tried to give you the correct solution of “ Data Visualization MCQ Class XII IP ” , but if you feel that there is/are
mistakes in “ Data Visualization MCQ Class XII IP ” given above, you can directly contact me at [email protected].
NCERT Book and Study material available on CBSE official website are used as a reference to create above “ Data Visualization
MCQ Class XII IP ”
Important Links
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 13/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Class 12 MCQ
Like this:
Loading...
Related
70 Important Pandas MCQ Questions with Answers 100 Important Python dataframe MCQ Class 12 IP 150+ Best MCQ File Handling in Python Class 12
Class 12 IP
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 14/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Leave a Reply
Like
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 261 other subscribers
Email Address
Subscribe
About me
I am a teacher with more than 17 years of experience in education field. You can contact me at [email protected]
BACK TO COLLEGE
NET BANKING
DISCOUNT*
Inspiron 16 Plus
Legal Rollover
Buy Now
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 15/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Recently Added
Archives
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 16/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Select Month
Like
Select Topic
Assignment (3)
Binary File Handling (1)
Class 10 IT 402 QnA (34)
Class 10 IT Notes (8)
Class 11 Chapter wise MCQ (5)
Class 12 Chapter wise MCQ (4)
Class 12 IP Notes (1)
Class 9 IT 402 QnA (10)
Class 9 IT Notes (2)
Error Finding Questions (1)
File Handling (10)
IT-402 Book Solution (7)
IT-402 Practical (1)
IT-402 Sample Paper (2)
List in Python (5)
MySQL (3)
NCERT CS Solution (11)
NCERT IP Solution (4)
Networking (1)
One Mark Question (1)
Pandas (5)
Practical Paper Class 12 (1)
Python Conditional Statement Test (1)
Python Data Structure (2)
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 17/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Contact Form
Name *
First Last
Email *
Comment or Message *
Submit
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 18/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Like
Recently Added
Name *
First Last
Email *
Comment or Message *
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 19/20
9/28/21, 4:43 PM Best 50+ Data Visualization MCQ Class 12 IP - CS-IP-Learning-Hub
Submit
Select Topic
Assignment (3)
Binary File Handling (1)
Class 10 IT 402 QnA (34)
Like
Class 10 IT Notes (8)
Class 11 Chapter wise MCQ (5)
Class 12 Chapter wise MCQ (4)
Class 12 IP Notes (1)
Class 9 IT 402 QnA (10)
Class 9 IT Notes (2)
Error Finding Questions (1)
File Handling (10)
IT-402 Book Solution (7)
IT-402 Practical (1)
IT-402 Sample Paper (2)
List in Python (5)
MySQL (3)
NCERT CS Solution (11)
NCERT IP Solution (4)
Networking (1)
One Mark Question (1)
Pandas (5)
Practical Paper Class 12 (1)
Python Conditional Statement Test (1)
Python Data Structure (2)
Python Dictionary (3)
Python Fundamental Test Series (1)
Python Loop Test Series (10)
Python loops Practice Questions (1)
Python Output based questions (1)
Python String (8)
Random in Python (1)
Solved Test (2)
Sorting algorithm (4)
Sumita Arora Solution Class 11 (1)
Tuples in Python (2)
https://csiplearninghub.com/data-visualization-mcq-class-12-ip/ 20/20