Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 5 subjective questions Data Visualization

CAP776 — Programming In Python 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define data visualization. Explain the role of Matplotlib in Python data visualization.

  2. Question 2 of 20

    Describe how to create and customize a line plot using Matplotlib. Give a suitable Python example.

  3. Question 3 of 20

    Explain bar charts and distinguish between vertical, horizontal, grouped, and stacked bar charts.

  4. Question 4 of 20

    Write and explain a Matplotlib program that creates a grouped bar chart for two data series.

  5. Question 5 of 20

    What is a scatter plot? Explain how it can be used to identify relationships, clusters, and outliers.

  6. Question 6 of 20

    Create a scatter plot in Matplotlib in which point size and color represent additional variables. Explain the important parameters.

  7. Question 7 of 20

    Explain the construction, uses, and limitations of a pie chart. Mention how percentages are displayed in Matplotlib.

  8. Question 8 of 20

    Define a box-and-whisker plot. Explain its five-number summary, interquartile range, whiskers, and outliers.

  9. Question 9 of 20

    Given the ordered dataset , analyze how it would be represented by a box-and-whisker plot.

  10. Question 10 of 20

    What is a histogram? Explain the role of bins and distinguish a histogram from a bar chart.

  11. Question 11 of 20

    Describe how a histogram can be created and customized in Matplotlib. How does density=True affect the result?

  12. Question 12 of 20

    Explain how multiple subplots can be arranged in one Matplotlib figure using both plt.subplot() and plt.subplots().

  13. Question 13 of 20

    Design a Matplotlib figure containing four different plots in a arrangement. Explain how titles and layout are managed.

  14. Question 14 of 20

    Introduce Seaborn and explain its major features and relationship with Matplotlib and pandas.

  15. Question 15 of 20

    Compare Seaborn and Matplotlib with respect to abstraction, customization, statistical plotting, DataFrame support, and suitable use cases.

  16. Question 16 of 20

    Explain Seaborn's axes-level and figure-level functions. Give examples and state when each should be used.

  17. Question 17 of 20

    Describe how relational and categorical data can be visualized using Seaborn. Include suitable code examples.

  18. Question 18 of 20

    Explain distribution visualization in Seaborn using histograms, kernel density estimates, box plots, and violin plots.

  19. Question 19 of 20

    What principles should be followed to produce clear, accurate, and accessible data visualizations?

  20. Question 20 of 20

    What is a data dashboard? Describe important Python tools for creating dashboards and compare their main characteristics.

That's unit 5

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.