Graded Quiz: Introduction to Data Visualization Tools :Data Visualization with Python (IBM Data Analyst Professional Certificate) Answers 2025
1. Question 1
Matplotlib was created by:
-
❌ Daniel Johnson
-
✅ John Hunter, an American neurobiologist
-
❌ James Gosling
-
❌ Cleve Moler
Explanation:
Matplotlib was developed by John D. Hunter.
2. Question 2
Using inline backend, you cannot modify a figure after rendering.
-
❌ False
-
✅ True
Explanation:%matplotlib inline renders static images — after rendering, they cannot be updated.
3. Question 3
Which code starts Matplotlib magic functions?
-
❌ %matplotlib inline
-
❌ %matplotlib notebook
-
❌ $matplotlib outline
-
✅ %matplotlib
Explanation:%matplotlib is the magic command; inline/notebook are its modes.
4. Question 4
What does a line plot display?
-
❌ A plot that displays line fragments
-
❌ Used for pie charts
-
❌ Bar-style information
-
✅ Series of data points connected by straight lines
Explanation:
Line plots show trends across sequential data.
5. Question 5
Matplotlib’s three main layers:
-
❌ Artist, Scripting, Histogram
-
❌ FigureCanvas, Renderer, Event
-
❌ Line2D, Rectangle, Circle
-
✅ Backend, Artist, Scripting
Explanation:
Matplotlib architecture = Scripting layer → Artist layer → Backend layer.
6. Question 6
What is Jupyter Notebook?
-
✅ Open-source web app for live code, visualizations, text
-
❌ Conventional visualization tool
-
❌ Data visualization library
-
❌ Python backend library
Explanation:
Jupyter supports interactive coding + charts + markdown.
7. Question 7
Matplotlib was initially developed as an EEG/ECoG tool.
-
✅ True
-
❌ False
Explanation:
John Hunter created it to visualize brain signals.
8. Question 8
Backend layer’s three built-in interface classes (select three):
-
❌ Canvas
-
✅ Renderer
-
❌ Event
-
✅ FigureCanvas
-
❌ Canvas
-
❌ Event
-
❌ (only 3 choices allowed)
Correct three:
-
FigureCanvas
-
Renderer
-
Event
Explanation:
These three form Matplotlib’s backend interfaces.
9. Question 9
Line plots capture trends and fluctuations over time.
-
❌ False
-
✅ True
Explanation:
Line plots are ideal for identifying patterns.
10. Question 10
Bar plots are ideal for comparing groups or categories.
-
❌ False
-
✅ True
Explanation:
Bar charts show comparative quantities clearly.
🧾 SUMMARY TABLE
| Q | Answer | Key Concept |
|---|---|---|
| 1 | John Hunter | Matplotlib origin |
| 2 | True | Inline backend behavior |
| 3 | %matplotlib | Magic commands |
| 4 | Points connected by lines | Line plot purpose |
| 5 | Backend, Artist, Scripting | Matplotlib architecture |
| 6 | Interactive notebook tool | Jupyter |
| 7 | True | Matplotlib history |
| 8 | FigureCanvas, Renderer, Event | Backend interfaces |
| 9 | True | Line plot use |
| 10 | True | Bar chart purpose |