12th Standard Syllabus & Materials
12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set C
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set B
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set A
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set C

Published on: 13/09/2022
QB365 provides a detailed and simple solution for every Possible Creative Questions in Class 12 Computer Science Subject - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart , English Medium. It will help Students to get more practice questions, Students can Practice these question papers in addition to score best marks.
Download Tamil Nadu 12th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
What is the line chart? Explain with one example.
2.
What is the output for the following coding?
3.
What is the output for the following coding:
4.
Read the following code. What does the following represents.
(i) Labels
(ii) Usage
(iii) X ticks
(iv) Range
(v) Show
5.
List the buttons in matlibplot window.
6.
Write a python code to display the following plot.
7.
Write a python code to display the following plot.
1.
A line chart is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments.
A Line chart is often used to visualize a trend in data over intervals of time - a time series - thus the line is often drawn chronologically.
Example:
import matplotlib.pyplot as plt
years = [2014, 2015, 2016, 2017, 2018]
total_populations = [8939007, 8954518, 8960387, 8956741, 8943721]
plt. plot (years, total_populations)
pit. title ("Year vs Population in India")
plt.xlabel ("Year")
pIt.ylabel ("Total Population")
plt.showt ( )
In this program:
Plt.title( ) → specifies title to the graph
Plt.xlabel( ) → specifies label for X-axis
Plt.ylabel( ) → specifies label for Y-axis
Output:
2.
import matplotlib.pyplot as plt
plt.plot([1,2,3,4],[1,4,9,16])
plt.show ( )
Output:
This plot takes many parameters, but the first two here and 'X' and 'Y' coordinates. This means, we have 4 coordinates according to these lists: (1,1), (2,4), (3,9), (4,16)
3.
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.show ( )
Output:
This window is a matplotlib window, which allows us to see our graph. We can hover the graph and see the coordinates in the bottom right.
4.
(i) Labels ⇾ Specifies labels for the bars.
(ii) Usgae ⇾ Assign values to the labels specified.
(iii) Xticks ⇾ Display the tick marks along the x-axis at the values represented. Then specify the label for each tick mark.
(iv) Range ⇾ Create sequence of numbers.
(v) Show ⇾ Displays the plot
5.
6.
Program:
For example, to plot x versus y, you can issue the command:
import matplotlib. pyplot as plt
pIt.plot([1,2,3,4], [1,4,9,16])
plt.show ( )
Output:
7.
Program:
import matplotlib.pyplot as plt
pIt.plot([1, 2, 3, 4]) ,
plt.show ( )
Output:
12th Standard Syllabus & Materials
12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set B
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set A
NEW12th Standard
TN 12th Standard Physics Wave Optics Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Physics Wave Optics Creative Questions Study Material - QB365 Set C
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards