New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Observe the output figure. Identify the coding for obtaining this output.

    (a)

    import matplotlib.pyplot as plt
    plt.plot([1,2,3],[4,5,1])
    plt.show()

    (b)

    import matplotlib.pyplot as plt
    plt.plot([1,2],[4,5])
    plt.show()

    (c)

    import matplotlib.pyplot as plt
    plt.plot([2,3],[5,1])
    plt.show()

    (d)

    import matplotlib.pyplot as plt
    plt.plot([1,3],[4,1])
    plt.show()

  2. 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)

  3. Which key is used to run the module?

    (a)

    F6

    (b)

    F4

    (c)

    F3

    (d)

    F5

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

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

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

Reviews & Comments about 12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - II updated Book back Questions

Write your Comment