New ! Computer Science MCQ Practise Tests

12th Standard Computer Science English Medium Data Visualization Using Pyplot Reduced Syllabus Important Questions With Answer Key 2021

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 100

      Multiple Choice Questions


    24 x 1 = 24
  1. Which is a python package used for 2D graphics?

    (a)

    matplotlib.pyplot

    (b)

    matplotlib.pip

    (c)

    matplotlib.numpy

    (d)

    matplotlib.plt

  2. Identify the package manager for Python packages, or modules.

    (a)

    Matplotlib

    (b)

    PIP

    (c)

    plt.show()

    (d)

    python package

  3. To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
    Python –m pip install –U pip

    (a)

    downloading pip to the latest version

    (b)

    upgrading pip to the latest version

    (c)

    removing pip

    (d)

    upgrading matplotlib to the latest version

  4. Read the code:
    a. import matplotlib.pyplot as plt
    b. plt.plot(3,2)
    c. plt.show()
    Identify the output for the above coding

    (a)

    (b)

    (c)

    (d)

  5. Which key is used to run the module?

    (a)

    F6

    (b)

    F4

    (c)

    F3

    (d)

    F5

  6. 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 chart

    (b)

    Bar chart

    (c)

    Pie chart

    (d)

    Scatter plot

  7. 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 correct

    (d)

    Both the statements are wrong

  8. Which kind of data encoded visually communicate a quantitative message

    (a)

    String

    (b)

    Numbers

    (c)

    Images

    (d)

    None of these

  9. Which of the following is the representation of information in a graphic format?

    (a)

    Info graphics

    (b)

    Graphics

    (c)

    Dashboard

    (d)

    Charts

  10. Which of the following is a collection of resources assembled to create a single unified visual display?

    (a)

    Info graphics

    (b)

    Dashboard

    (c)

    Graphics

    (d)

    Chats

  11. The most popular data visualization library in Python is

    (a)

    matplotlib

    (b)

    pip

    (c)

    matinfolib

    (d)

    matpiplib

  12. In Python matplotlib is a

    (a)

    control structure

    (b)

    dictionary

    (c)

    library

    (d)

    list

  13. Matplotlib allows you to create a

    (a)

    Table

    (b)

    Charts

    (c)

    Maps

    (d)

    Info graphics

  14. The default x.vector has the same length of y but starts with

    (a)

    3

    (b)

    2

    (c)

    1

    (d)

    0

  15. The different kinds of plot created using

    (a)

    Matplotlib

    (b)

    Matplot

    (c)

    Plotlib

    (d)

    Matliplot

  16. Which of the following chart represents the frequency distribution of continuous variables?

    (a)

    Histogram

    (b)

    Pie

    (c)

    Line

    (d)

    Bar

  17. Which plot is a circular graphical representation of numerical data?

    (a)

    Histogram

    (b)

    xy plot

    (c)

    Bar plot

    (d)

    Pie chart

  18. Which parameter used to display ( ) the percentage value using Python string formatting in pie chart?

    (a)

    percent

    (b)

    autopct

    (c)

    pet

    (d)

    percentage

  19. Data visualization used ________ graphics.

    (a)

    2D

    (b)

    3D

    (c)

    Statistical

    (d)

    Image

  20. In Scatter plot, the position of a  point depends on its________ value

    (a)

    2 - Dimensional

    (b)

    3 - Dimensional

    (c)

    1 - Dimensional

    (d)

    7-Dimensional

  21. If a list given to the plot ( ) command, matplotlib assumes it is a sequence of _____ values

    (a)

    X

    (b)

    Y

    (c)

    0

    (d)

    4

  22. Zoom in will require ______ and drag.

    (a)

    click

    (b)

    left click

    (c)

    double click

    (d)

    right click

  23. Zoom out will require ________ and drag.

    (a)

    click

    (b)

    left click

    (c)

    double click

    (d)

    right click

  24. ________ and ______  are the two ways to display data in the form of diagram.

    (a)

    Line chart, Pie chart

    (b)

    Line chart, Bar chart

    (c)

    Bar Graph, Histogram

    (d)

    Line chart, Histogram

    1. 2 Marks


    11 x 2 = 22
  25. Define: Data Visualization.

  26. List the general types of data visualization.

  27. List the types of Visualizations in Matplotlib.

  28. How will you install Matplotlib?

  29. Write the difference between the following functions: plt.plot([1,2,3,4]), plt.plot([1,2,3,4], [1,4,9,16]).

  30. What is Infographics data visualization?

  31. Write a note on matplotlib or  which python library is used to create data visualization?

  32. Which plot shows the data as a collection of points? Explain or write a note on scatter plot.

  33. Write note or Box plot.

  34. What is pip?

  35. What are the two ways to display data in the form of diagram?

    1. 3 Marks


    8 x 3 = 24
  36. Draw the output for the following data visualization plot.
    import matplotlib.pyplot as plt
    plt.bar([1,3,5,7,9],[5,2,7,8,2], label="Example one")
    plt.bar([2,4,6,8,10],[8,6,2,5,6], label="Example two", color='g')
    plt.legend()
    plt.xlabel('bar number')
    plt.ylabel('bar height')
    plt.title('Epic Graph\nAnother Line! Whoa')
    plt.show()

  37. Write any three uses of data visualization.

  38. Write the coding for the following:
    a. To check if PIP is Installed in your PC.
    b. To Check the version of PIP installed in your PC.
    c. To list the packages in matplotlib.

  39. Write the plot for the following pie chart output.

  40. Write a python code to display the following plot.

  41. Write a python code to display the following plot.

  42. List the buttons in matlibplot window.

  43. Read the following code. What does the following represents.
    (i) Labels
    (ii) Usage
    (iii) X ticks
    (iv) Range
    (v) Show

    1. 5 Marks


    6 x 5 = 30
  44. Explain in detail the types of pyplots using Matplotlib.

  45. Explain the various buttons in a matplotlib window.

  46. Explain the purpose of the following functions:
    a. plt.xlabel
    b. plt.ylabel
    c. plt.title
    d. plt.legend()
    e. plt.show()

  47. Write a python code to display the following, plot.

  48. Write the key differences between Histogram and bar graph.

  49. Write s python code to display to following plot.
    Program

*****************************************

TN 12th Standard Computer Science free Online practice tests

Reviews & Comments about 12th Standard Computer Science English Medium Data Visualization Using Pyplot Reduced Syllabus Important Questions With Answer Key 2021

Write your Comment