Question types

Data Visualisation question types

45 questions across 6 question groups — pick any mix to generate a Computer Science paper with step-by-step answer keys.

45
Questions
6
Question groups
5
Question types
Sample Questions

Data Visualisation questions

One sample from each question group in this chapter. Select any group above to see the full set with answer keys.

Q 8M.C.Q1 Mark
Choose the right answer for the given fill ups in the program:

  • A
    Subplot and Title
  • B
    Title and Blue
  • Title and green
  • D
    Pie and title

Answer: C.

View full solution
Q 9M.C.Q1 Mark
Choose the right answer for the given fill ups in the program:
  • A
    show and plot
  • plot and show
  • C
    plot and display
  • D
    display and show

Answer: B.

View full solution
Q 162 Marks Each2 Marks
Write a python program to make the pie chart from the given data:

labels = ['Oxygen','Hydrogen','Carbon_Dioxide','Nitrogen']

values = [4500,2500,1053,500]

View full solution
Q 172 Marks Each2 Marks
Write a python program to draw the bar chart for the given data: month = ['January', 'February', 'March', 'April', 'May',
'June', 'July', 'August', 'September', 'October', 'November', 'December']

Avetmp=[9.0,15.0,22.0,30.4,36.7,40.8,42.7,45.6,44.7,42.8,38.5,30.7,7.0]

View full solution
Q 182 Marks Each2 Marks
Write a python program to accept a list for the user and create another list which will double of x list. Create the line chart for the same.
View full solution
Q 192 Marks Each2 Marks
Write a Python programming to display a bar chart on the popularity of Programming Languages.

Sample data:

Programming languages: Java, Python, PHP, JavaScript, C#, C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7

View full solution
Q 202 Marks Each2 Marks
Mr Sharma is working with a Marketing company, and his boss wants to do a comparative study that the sales target done by all males and all females in one week. Write a python program to prepare a line chart. The program will read the combine sales of males and females from the user in a list.
View full solution
Q 213 Marks Each3 Marks
Write a Python program to draw a line chart with the suitable label in the x-axis, y-axis and a title. Value of X must be entered by the user as the list from the user and Y should be twice of X.
View full solution
Q 223 Marks Each3 Marks
Write a python program to create the pie chart use a different colour for the different countries.

Title: Carbon emission of the coutries 1990-2011

values=[27, 11, 25, 8, 1, 3, 25]

countres= [ "US", "China", "European Union", "Russian Federation", "Brazil","India","Rest of World"]

View full solution
Q 233 Marks Each3 Marks
Write a python program to draw the line chart for the following:

x_data = [2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013]

y_data = [18, 21, 18, 21, 16, 14, 13, 18, 17, 16, 19, 23]

View full solution
Q 243 Marks Each3 Marks
The data is about Time devoted by a student in various subject subjects = 'English', 'Physics', 'Chemistry', 'Mathematics', 'Comp. Sci.' time (in hours) = 0.3, 1.5, 1.5, 2, 0.4 Write a python program to draw the PIE chart for the above data. Use hexadecimal colour code, and subject chemistry is exploded value.
View full solution
Q 253 Marks Each3 Marks
The data is about Time devoted by a student in various subject = 'English', 'Physics', 'Chemistry', 'Mathematics', 'Comp. Sci.' time (in hours) = 0.3, 1.5, 1.5, 2, 0.4. Write a python program to draw PIE chart for the above data.
View full solution
Q 274 Marks Each4 Marks
Answer the following question based on the given dataset download from data.gov.in:

data name : Percentage of Schools with Computers from 2013-14 to 2015-16

Screen shot of the data:

Assuming that we have saved the file with name: "computer_data" in python default folder.

Assuming that all the required libraries are imported once:

(i) To create the data frame of the above file.

(ii) To display all the column names of the data frame.

(iii) To plot the line graph for the first 5 record of the Primary Only column on y-axis and 'State_UT' on x-axis.

The line colour should be red and marker as 'x'. The graph will display only 2013-14

(iv) To display the histogram of the 2013-14, primary_only column.

(v) To display bar graph of the last 7 record of the year 2013-14 use the title and required label. Also write the statement to create the data frame.

(vi) To display the pie chart of the first 10 records of the 2013-14. Also create the data frame.

(vii) To display the boxplot for the Sec with higher secondary and All India data.

(viii) To display the scatter diagram of the 2014-15

View full solution
Q 284 Marks Each4 Marks
WAPssuming the given dataset answer the questions below:

https://data.gov.in/catalog/statistical-hand-book-2009-education?filters%5Bfield_catalog_reference%5D=6690578& format=json&offset=6&limit=6&sort%5Bcreated%5D=desc

Schools for Professional Education 2007-08 : SHB 2009

(i) Write a python / statement to read the data frame.

(ii) Write a python code to plot the pie chart of all the institutions which have more than hundred teachers. Also display the values of portion.

(iii) Write a python code to plot the horizontal bar chart to plot the Type of institution and Total students.

(iv) Write a python code to plot the scatter diagram boys vs girls students.

(v) Write a python code to plot the histogram for no. of institution.

View full solution
Q 294 Marks Each4 Marks
Write a menu driven program using the function that asks the user which type chart, they want to make with given data: Sample data: Programming languages: Java, Python, R, JavaScript, C#, C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7
View full solution

Generate a Data Visualisation paper free

Pick question groups from the list above, set marks and difficulty, and export a branded PDF with step-by-step answer keys. First 3 chapters free — no signup.

Download App