{"id":37445,"date":"2022-02-19T18:09:39","date_gmt":"2022-02-19T12:39:39","guid":{"rendered":"https:\/\/mcq-questions.com\/?p=37445"},"modified":"2022-02-21T15:41:00","modified_gmt":"2022-02-21T10:11:00","slug":"mcq-questions-for-class-12-informatics-practices-plotting-data-using-matplotlib-part-2","status":"publish","type":"post","link":"https:\/\/mcq-questions.com\/mcq-questions-for-class-12-informatics-practices-plotting-data-using-matplotlib-part-2\/","title":{"rendered":"MCQ Questions for Class 12 Informatics Practices \u2013 Plotting Data Using Matplotlib Part 2"},"content":{"rendered":"
Question 1.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(b) True<\/p>\n
Question 2.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(b) True<\/p>\n
Question 3.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(b) True<\/p>\n
Question 4.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) False<\/p>\n
<\/p>\n
Question 5.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(b) True<\/p>\n
Question 6.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(b) True<\/p>\n
Question 7.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) False<\/p>\n
Question 8.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) False<\/p>\n
<\/p>\n
Question 9.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) False<\/p>\n
Question 10.<\/p>\n
(a) False
\n(b) True
\n(c) Error
\n(d) None of the above
\nAnswer:
\n(b) True<\/p>\n
<\/p>\n
Question 11.<\/p>\n
(a) gplt.plot( )
\n(b) plt.plot( )
\n(c) plt.plotgraph( )
\n(d) None of the mentioned
\nAnswer:
\n(b) plt.plot( )
\nIf the index consists of dates, it calls gcf().autofmt_xdate() to try to format the x-axis nicely,<\/p>\n
Question 12.<\/p>\n
(a) ‘hist’ for histogram
\n(b) ‘box’ for boxplot
\n(c) ‘area’ for area plots
\n(d) All of the mentioned
\nAnswer:
\n(d) All of the mentioned
\nThe kind keyword argument of plot( ) accepts a handful of values for plots other than the default Line plot,<\/p>\n
<\/p>\n
Question 13.<\/p>\n
(a) bar
\n(b) kde
\n(c) hexbin
\n(d) None of the mentioned
\nAnswer:
\n(a) bar
\nbar can also be used for barplot.<\/p>\n
Question 14.<\/p>\n
(a) sca_matrix
\n(b) scatter_matrix
\n(c) DataFrame.plot
\n(d) All of the mentioned
\nAnswer:
\n(b) scatter_matrix
\nYou can create density plots using the Series\/DataFrame. plot.<\/p>\n
Question 15.<\/p>\n
(a) ‘scatter’ for scatter plots .
\n(b) ‘kde’ for hexagonal bin plots
\n(c) ‘pie’for pie plots
\n(d) None of the mentioned
\nAnswer:
\n(b) ‘kde’ for hexagonal bin plots kde is used for density plots.<\/p>\n
Question 16.<\/p>\n
(a) Lag
\n(b) Random
\n(c) Lead
\n(d) None of the mentioned
\nAnswer:
\n(a) Lag
\nRandom data should not exhibit any structure in the lag plot.<\/p>\n
Question 17.<\/p>\n
(a) True
\n(b) False
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) True
\nThere are several plotting functions in pandas.tools.plotting.<\/p>\n
Question 18.<\/p>\n
(a) Autocausation
\n(b) Autorank
\n(c) Autocorrelation
\n(d) None of the mentioned
\nAnswer:
\n(c) Autocorrelation
\nIf the time series is random, such autocorrelations should be near zero for any and all time-lag separations.<\/p>\n
Question 19.<\/p>\n
(a) Lag
\n(b) RadViz
\n(c) Bootstrap
\n(d) None of the mentioned
\nAnswer:
\n(c) Bootstrap
\nResulting plots and histograms are what constitutes the bootstrap plot.<\/p>\n
<\/p>\n
Question 20.<\/p>\n
(a) True
\n(b) False
\n(c) Error
\n(d) None of these
\nAnswer:
\n(a) True
\nCurves belonging to samples of the same class will usually be closer together and form larger structures.<\/p>\n
Question 21.<\/p>\n
(a) matplotlibpyplot
\n(b) matplotlibpip
\n(c) matplotlibnumpy
\n(d) matplotlibplt
\nAnswer:
\n(a) matplotlibpyplot<\/p>\n
Question 22.<\/p>\n
(a) Matplotlib
\n(b) PIP
\n(c) plt.show( )
\n(d) python package
\nAnswer:
\n(b) PIP<\/p>\n
Question 23.<\/p>\n
(a) Check if PIP is Installed
\n(b) Install PIP
\n(c) Download a Package
\n(d) Check PIP version
\nAnswer:
\n(a) Check if PIP is Installed<\/p>\n
Question 24.<\/p>\n
(a) List installed packages
\n(b) List command
\n(c) Install PIP
\n(d) Packages installed
\nAnswer:
\n(a) List installed packages<\/p>\n
<\/p>\n
Question 25.<\/p>\n
(a) downloading pip to the latest version
\n(b) upgrading pip to the latest version
\n(c) removing pip
\n(d) upgrading matplotlib to the latest version
\nAnswer:
\n(b) upgrading pip to the latest version<\/p>\n
Question 26.<\/p>\n
\n(a) import matplotli(b)pyplot as pit plt.plot([1,2,3], [4.5,1]) plt.show( )
\n(b) import matplotli(b)pyplot as pit plt.plot((1,2],[4,5]) plt.show( )
\n(c) import matplotli(b)pyplot as pit . plt.plot([2,3],[5,1]) plt.show( )
\n(d) import matplotli(b)pyplot as pit plt.plot([1,3),[4,1]) plt.show( )
\nAnswer:
\n(a) import matplotli(b)pyplot as pit plt.plot([1,2,3),[4,5,1]) plt.show( )<\/p>\n
Question 27.<\/p>\n
(a) F6
\n(b) F4
\n(c) F3
\n(d) F5
\nAnswer:
\n(d) F5<\/p>\n
<\/p>\n
Question 28.<\/p>\n
(a) Line chart
\n(b) Bar chart
\n(c) Pie chart
\n(d) Scatter plot
\nAnswer:
\n(a) Line chart<\/p>\n
Question 29.<\/p>\n
(a) Statement A is correct
\n(b) Statement B is correct
\n(c) Both the statements are correct
\n(d) Both the statements are wrong
\nAnswer:
\n(c) Both the statements are correct<\/p>\n
Question 30.<\/p>\n
(a) visual
\n(b) matlibplot
\n(c) matplotlib
\n(d) matlab
\nAnswer:
\n(c) matplotlib .<\/p>\n
Question 31.<\/p>\n
(a) import matplotli(b)pyplot as pit
\n(b) import matplotli(b)pyplot
\n(c) import matplotlib as pit
\n(d) import matplotlib
\nAnswer:
\n(a) import matplotli(b)pyplot as pit<\/p>\n
Question 32.<\/p>\n
(a) line
\n(b) plot
\n(c) graph
\n(d) bar
\nAnswer:
\n(b) plot<\/p>\n
<\/p>\n
Question 33.<\/p>\n
(a) savefigure
\n(b) savefig
\n(c) save
\n(d) export
\nAnswer:
\n(b) savefig<\/p>\n
Question 34.<\/p>\n
(a) ‘<‘
\n(b) ‘<‘
\n(c) ‘<‘
\n(d) ‘<‘
\nAnswer:
\n(d) ‘<\u2019<\/p>\n
Question 35.<\/p>\n
(a) Weighted graph
\n(b) Directed graph
\n(c) Undirected graph
\n(d) Circular graph
\nAnswer:
\n(d) Circular graph<\/p>\n
<\/p>\n
Question 36.<\/p>\n
(a) pie
\n(c) bar
\nAnswer:
\n(d) histogram<\/p>\n
Question 37.<\/p>\n
(a) bar
\n(b) basemap
\n(c) scatterplots
\n(d) histogram
\nAnswer:
\n(c) scatterplots<\/p>\n
Question 38.<\/p>\n
(a) shortest_path
\n(b) short_path
\n(c) shortestPath
\n(d) sortPath
\nAnswer:
\n(a) shortest_path<\/p>\n
Question 39.<\/p>\n
(a) 3
\n(b) 4
\n(c) 2
\n(d) as many as we want
\nAnswer:
\n(b) 4<\/p>\n
Question 40.<\/p>\n
(a) Info graphics
\n(b) Graphics
\n(c) Dashboard
\n(d) Charts
\nAnswer:
\n(a) Info graphics<\/p>\n
<\/p>\n
Question 41.<\/p>\n
(i) Data visualization
\n(ii) Dashboards
\n(iii) Tables
\n(iv) Maps<\/p>\n
(a) i.iii
\n(b) iii, i
\n(c) i, iv
\n(d) i, ii
\nAnswer:
\n(d) i, ii<\/p>\n
Question 42.<\/p>\n
(a) matplotlib
\n(b) pip
\n(c) matinfolib
\n(d) matpiplib
\nAnswer:
\n(d) matpiplib<\/p>\n
Question 43.<\/p>\n
(a) Table
\n(b) Charts
\n(c) Maps
\n(d) Info graphics
\nAnswer:
\n(a) Table<\/p>\n
<\/p>\n
Question 44.<\/p>\n
(a) Scatter plot
\n(b) Table plot
\n(c) Histogram
\n(d) Box plot
\nAnswer:
\n(b) Table plot<\/p>\n
Question 45.<\/p>\n
(a) Scatter plot
\n(b) Line plot
\n(c) Box plot
\n(d) Chart plot
\nAnswer:
\n(c) Box plot<\/p>\n
Question 46.<\/p>\n
(a) import plt.matplotlib as plot
\n(b) import plot.matplotlib as pit
\n(c) import matplotli(b)pit as plot
\n(d) import matplotli(b)pyplot as pit
\nAnswer:
\n(d) import matplotli(b)pyplot as pit<\/p>\n
Question 47.<\/p>\n
(a) show ( )
\n(b) display ( )
\n(c) execute ( )
\n(d) plot ( )
\nAnswer:
\n(a) show ( )<\/p>\n
Question 48.<\/p>\n
(a) 3
\n(b) 2
\n(c) 1
\n(d) 0
\nAnswer:
\n(a) 3<\/p>\n
<\/p>\n
Question 49.<\/p>\n
(a) Navigate
\n(b) Pan
\n(c) Home
\n(d) Zoom
\nAnswer:
\n(c) Home<\/p>\n
Question 50.<\/p>\n
(a) Matplotlib
\n(b) Matplot
\n(c) Plotlib
\n(d) Matliplot
\nAnswer:
\n(a) Matplotlib<\/p>\n
Question 51.<\/p>\n
(a) line
\n(b) bar
\n(c) pie
\n(d) x-y plot
\nAnswer:
\n(b) bar<\/p>\n
<\/p>\n
Question 52.<\/p>\n
(a) Histogram
\n(b) Pie
\n(c) Bar graph
\n(d) None of these
\nAnswer:
\n(c) Bar graph<\/p>\n
Question 53.<\/p>\n
(a) Data visualization
\n(b) Data graphics
\n(c) Data dimension
\n(d) Data images
\nAnswer:
\n(a) Data visualization<\/p>\n
Plotting Data Using Matplotlib Class 12 MCQ Questions Part 2 Question 1. A line chart can be plotted using pyplot library\u2019s plot( ) function. (a) False (b) True (c) Error (d) None of these Answer: (b) True Question 2. A bar chart can be plotted using pyplot library\u2019s bar( ) function. (a) False (b) True …<\/p>\n