TN Online TestSamacheer Kalvi practice

Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart Book Back One Mark Questions with Answers & Explanations (12th Standard Computer Science)

Share this chapter: Telegram

⬇ Download PDF: all 24 MCQs with answers ⬇ Practice PDF: answer key at the end

Every Book Back multiple-choice question from Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart (12th Standard Computer Science, Samacheer Kalvi) — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.

Answer key at a glance

Q1
Which is a Python package used for 2D charts?
  • A. matplotlib.pyplotCorrect
  • B. matplotlib.pip
  • C. matplotlib.numpy
  • D. matplotlib.plt
Explanation. The matplotlib.pyplot module is a collection of functions that make matplotlib work like MATLAB, enabling the creation of 2D charts in Python.
Q2
Identify the package manager for installing Python packages, or modules.
  • A. Matplotlib
  • B. PIPCorrect
  • C. plt.show()
  • D. python package
Explanation. PIP is the standard package manager for Python used to install and manage additional packages and modules.
Q3
Which of the following feature is used to represent data and information graphically?
  • A. Data List
  • B. Data Tuple
  • C. Classes and Objects
  • D. Data VisualizationCorrect
Explanation. Data visualization is the graphical representation of data and information using visual elements like charts, graphs, and maps.
Q4 Asked in board exam: March 2024
.......... is a collection of resources assembled to create a single unified visual display.
  • A. Interface
  • B. DashboardCorrect
  • C. Objects
  • D. Graphics
Explanation. A dashboard is a collection of resources compiled to create a single unified visual display of database metrics and charts.
Q5
Which of the following module should be imported to visualize data and information in Python?
  • A. csv
  • B. getopt
  • C. mysql
  • D. matplotlibCorrect
Explanation. Matplotlib is the core data visualization library in Python that must be imported to create graphical plots.
Q6
............ is a type of chart which displays information as a series of data points connected by straight line segments.
  • A. Line chartCorrect
  • B. Pie chart
  • C. Bar chart
  • D. All the above
Explanation. A line chart displays information as a series of data points joined by straight line segments, which makes it the natural choice for showing a trend over time. A pie chart shows parts of a whole as slices, and a bar chart compares values using rectangular bars.
Q7
Read the code: import matplotlib.pyplot as plt plt.plot(3,2) plt.show() Identify the output for the above coding.
  • A.
    The four options show different Matplotlib output plots of the code plt.plot(3,2) with various axis ranges and plotted points., choice A
  • B.
    The four options show different Matplotlib output plots of the code plt.plot(3,2) with various axis ranges and plotted points., choice B
  • C.
    The four options show different Matplotlib output plots of the code plt.plot(3,2) with various axis ranges and plotted points., choice C
    Correct
  • D.
    The four options show different Matplotlib output plots of the code plt.plot(3,2) with various axis ranges and plotted points., choice D
Explanation. plt.plot(3,2) plots just one point, x = 3 and y = 2. The default style draws lines between points and uses no marker, so a single point shows nothing visible. Matplotlib still sets the axis limits around that point, giving an empty-looking plot with the x axis centred on 3 (about 2.85 to 3.15) and the y axis centred on 2 (about 1.90 to 2.10).
Q8
Identify the right type of chart using the following hints. Hint 1: This chart is often used to visualize a trend in data over intervals of time. Hint 2: The line in this type of chart is often drawn chronologically.
  • A. Line chartCorrect
  • B. Bar chart
  • C. Pie chart
  • D. Scatter plot
Explanation. A line chart is used to track changes or visualize trends in data over continuous time intervals.
Q9
Read the statements given below. Identify the right option from the following for pie chart. Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function. Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.
  • A. Statement A is correct
  • B. Statement B is correct
  • C. Both the statements are correctCorrect
  • D. Both the statements are wrong
Explanation. Both statements are correct. In Matplotlib, plt.pie() builds a pie chart, and autopct formats and displays the percentage slices.
Take the Book Back practice test → Open the app

More for this chapter

Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About these Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart questions

These are the Book Back multiple-choice questions for Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Science syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.

Frequently asked questions

How many MCQs are there in Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart?

This chapter has 9 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.

Are these 12th Standard Computer Science MCQs free to practise online?

Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.

Where can I find the Data Visualization using Pyplot: Line Chart, Pie Chart and Bar Chart book-back answers?

The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python Variables and Operators 6 Control Structures 7 Python Functions 8 Strings and String Manipulation 9 Lists, Tuples, Sets and Dictionary 10 Python Classes and Objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV Files 14 Importing C++ Programs in Python 15 Data Manipulation through SQL