# MCQ Question For Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib

Check the below NCERT MCQ Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib with Answers available with PDF free download. MCQ Questions for Class 12 Informatics Practices with Answers were prepared based on the latest syllabus and examination pattern issued by CBSE, NCERT and KVS. Our teachers have provided below Plotting Data using Matplotlib Class 12 Informatics Practices MCQs Questions with answers which will help students to revise and get more marks in exams

## Plotting Data using Matplotlib Class 12 Informatics Practices MCQs Questions with Answers

Refer below for MCQ Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib with solutions. Solve questions and compare with the answers provided below

Question.  Which of the following function is not used to customize the plot?
(a) grid()
(b) xlabel()
(c) title()
(d) chartformat()

D

Question. What is Data Visualization
(a) It is the graphical representation of information and data
(b) It is the numerical representation of information and data
(c) It is the character representation of information and data
(d) None of the above

A

Question. _______ function can plot bar graph.
(a) barplot( )
(b) plotbar( )
(c) bar( )
(d) None of these

C

Question. The histogram was introduced by
(a) John Smith
(b) Karl Pearson
(c) Kevin Peterson
(d) John McCarthy

B

Question. You can create a scatter plot matrix using the __________ method in pandas.tools.plotting.
(a) sca_matrix
(b) scatter_matrix
(c) DataFrame.plot
(d) all of the mentioned

B

Question. Which argument of bar() lets you set the thickness of bar ?
(a) thick
(b) thickness
(c) width
(d) barwidth

C

Question. The pyplot module is part of
(a) NumPy Library
(b) matplotlib library
(c) pandas library
(d) CSV library

B

Question.  Ms. Rama is confused about the window where the outputs of pyplot functions are plotte(d) Select the an appropriate answer to clear her confusion.
(a) Plot
(b) Figure
(c) Window
(d) All of these

B

Question. The frequencies are represented on ____________ in histogram.
(a) data labels
(b) Y-axis
(c) X-axis
(d) Legeneds

B

Question. The point which is used for plotting is ______________
(a) Setting the plotting device
(b) Select the printer
(c) Select the paper
(d) Set the page orientation

A

Question. Which argument of plot( ) function is use to change the marker type?
(a) markertype
(b) marker
(c) markersize
(d) None of these

B

Question. Which of the following command is the correct command to install matplotlib library?
(a) install matplotlib
(b) install pip matplotlib
(c) pip install matplotlib
(d) matplotlib install pip

C

Question. To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents? Python –m pip install –U pip
(c) removing pip

B

Question. Which of the following function of the pyplot module creates a figure?
(a) plot()
(b) savefig()
(c) figure()
(d) fig()

A

Question. The plot method on Series and DataFrame is just a simple wrapper around ____________
(a) gplt.plot()
(b) plt.plot()
(c) plt.plotgraph()
(d) none of the mentioned

B

Question. Which of the following are the benefits of using the Flask framework?
(a) It has an inbuilt development server.
(b) It has vast third-party extensions.
(c) It is WSGI compliant.
(d) All of the above

D

Question.The scatter() function:
(a) is a powerful method of creating scatter plots than plot() function
(b) can create line graph
(c) can create bar graph
(d) None of the above

A

Question.  ___________ helps in better understanding of results of the analysis.
(a) Data Abstraction
(b) Data Handling
(c) Data Visualization
(d) Data Hiding

C

Question. Pyplot is a
(a) Module
(b) Library
(c) Function
(d) Collection