MCQs For NCERT Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib

MCQs Class 12

Please refer to the MCQ Questions for Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib with Answers. The following Plotting Data using Matplotlib Class 12 Informatics Practices MCQ Questions have been designed based on the latest syllabus and examination pattern for Class 12. Our experts have designed MCQ Questions for Class 12 Informatics Practices with Answers for all chapters in your NCERT Class 12 Informatics Practices book.

Plotting Data using Matplotlib Class 12 MCQ Questions with Answers

See below Plotting Data using Matplotlib Class 12 MCQ Questions with Answers Class 12 Informatics Practices MCQ Questions, solve the questions and compare your answers with the solutions provided below.

Question. _________ function is used to display the figure created using the plot() function.
(a) show()
(b) display()
(c) paint()
(d) None of these

Answer

A

Question. _______________ means graphical or pictorial representation of the data using graph, chart, etc.
(a) Flow chart
(b) Graphics
(c) Data visualisation
(d) None of these

Answer

C

Question. The interface of Matplotlib used for data visualization is
(a) Seaborn
(b) Anaconda
(c) matlab
(d) pyplot

Answer

D

Question. Point out the correct combination with regards to kind keyword for graph plotting.
(a) ‘hist’ for histogram
(b) ‘box’ for boxplot
(c) ‘area’ for area plots
(d) all of the mentioned 

Answer

D

Question. Which of the following plots makes it easy to compare two or more distributions on the same set of axes?
(a) Box plot
(b) Histogram
(c) Frequency polygon
(d) Bar chart 

Answer

C

Question. __________ plots are used to visually assess the uncertainty of a statistics.
(a) Lag
(b) RadViz
(c) Bootstrap
(d) None of the mentioned 

Answer

C

Question. Which of the following plots are often used for checking randomness in time series?
(a) Autocausation
(b) Autorank
(c) Autocorrelation
(d) None of the mentioned 

Answer

C

Question. The _________ method is used to create a line chart.
(a) pl.pie()
(b) pl.col()
(c) pl.plot()
(d) pl.line() 

Answer

C

Question. Which of the following is not a visualization under matplotlib?
(a) Scatter plot
(b) Histogram
(c) Box plot
(d) Table plot 

Answer

D

Question. Which function is used to create a histogram ?
(a) histo()
(b) histogram()
(c) hist()
(d) histtype 

Answer

C

Question. In histogram, it describes the no of data points that falls within a range of given values
(a) bin
(b) bins
(c) range
(d) range()

Answer

B

Question. Which Python package is used for 2D graphics?
(a) matplotli(b)pyplot
(b) matplotli(b)pip
(c) matplotli(b)numpy
(d) matplotli(b)plt

Answer

A

Question. _______ function can plot scatter chart.
(a) scatter( )
(b) scat( )
(c) plotscat( )
(d) None of these

Answer

A

Question. What is the default type of marker in line chart?
(a) line type
(b) circle marker
(c) pointmarker
(d) None of these

Answer

A

Question. To create a chart, pyplot provides
(a) figure()
(b) chart()
(c) plot()
(d) print()

Answer

C

Question. __________ library is used for creating static, animated, and interactive 2D- plots or figures in Python.
(a) pandas
(b) matplotlib
(c) numpy
(d) None of these

Answer

B

Question. Which of the following statements is used to create a histogram of ‘step’ type with 20 bins?
(a) plt.hist(x, bins=20,histype=“barstacked”)
(b) plt.hist(x, bins=20)
(c) plt.hist(x, bins=20,histype=“step”)
(d) plt.hist(x, bins=20,histype=hist() 

Answer

C

Question. plt.plot(x, y, ‘kh‘ linestyle=‘solid’)
In the above statement, ‘h’ stands for which type of marker ?
(a) tri_up marker
(b) hexagon1 marker
(c) horizontal line
(d) None of these

Answer

B

Question. Graph which can be plotted vertically or horizontally is 
(a) Bar
(b) Scatter
(c) Line
(d) Pie

Answer

A

MCQs For NCERT Class 12 Informatics Practices Chapter 4 Plotting Data using Matplotlib