Skip to content

Final Exam: Data Visualization with Python – Timed Quiz :Data Visualization with Python (IBM Data Analyst Professional Certificate) Answers 2025

1. Question 1

Three key points for creating a visual:

  • ❌ Less is not attractive…

  • ❌ Less is ineffective…

  • ✅ Less is more effective; Less is more attractive; Less is more impactive.

  • ❌ Less is more effective; Less is not attractive…

Explanation:
Good visual design focuses on clarity, appeal, and impact = “Less is more.”


2. Question 2

Layers of Matplotlib architecture:

  • ❌ FigureCanvas Layer, Scripting Layer, Artist Layer

  • ❌ Renderer, Artist Layer, Scripting Layer

  • ✅ Backend Layer, Artist Layer, and Scripting Layer

  • ❌ Event, Artist Layer, Scripting Layer

Explanation:
Matplotlib has three layers: Scripting → Artist → Backend.


3. Question 3

Spotify Pie allows users to create customized:

  • ❌ Scatter plots

  • ❌ Line graphs

  • ❌ Bar graphs

  • ✅ Pie charts

Explanation:
Spotify Pie visualizes music preferences using pie charts.


4. Question 4

Jupyter Notebook allows you to:

  • ✅ Create and share documents

  • ❌ Add axes labels

  • ❌ Add a title

  • ❌ Modify a figure

Explanation:
It’s a web-based tool to write, run code, and share notebooks.


5. Question 5

First step in creating an area plot:

  • ❌ Use show()

  • ✅ Import matplotlib as mpl

  • ❌ Call the plot function

  • ❌ Add labels

Explanation:
Always import the library first.


6. Question 6

Statistical distribution across 5 dimensions:

  • ❌ Line plot

  • ❌ Scatter plot

  • ✅ Box plot

  • ❌ Histogram

Explanation:
Box plots use min, Q1, median, Q3, max.


7. Question 7

Library to work with tabular data:

  • ❌ NumPy

  • ❌ Matplotlib.pyplot

  • ✅ Pandas

  • ❌ Subplot

Explanation:
Pandas handles DataFrames (tables).


8. Question 8

What is a Waffle chart?

  • ❌ Keyword/text analysis tools

  • ✅ Categorical data in square tiles/cells

  • ❌ Textual visualization

  • ❌ Sentiment summary

Explanation:
Waffle charts show categories as grid blocks.


9. Question 9

Specialized Seaborn plot types (Select two):

  • ❌ Bar plot

  • ❌ Pie plot

  • ✅ Categorical plot

  • ✅ Regression plot

Explanation:
Seaborn excels in categorical and regression visualization.


10. Question 10

File needed for a Choropleth map:

  • ❌ HTML

  • ✅ GeoJson

  • ❌ Json

  • ❌ Geo

Explanation:
Choropleths require region boundaries from GeoJSON.


11. Question 11

Folium map style for hill shading & natural vegetation:

  • ✅ Stamen terrain

  • ❌ Street-level map

  • ❌ OpenStreetMap

  • ❌ Stamen toner

Explanation:
Stamen Terrain shows terrain and vegetation clearly.


12. Question 12

Python framework for building web analytic apps:

  • ❌ Streamlit

  • ✅ Dash

  • ❌ Voilà

  • ❌ Panel

Explanation:
Dash = analytics + interactive web apps.


13. Question 13

Key difference between Plotly Graph Objects vs Plotly Express:

  • ❌ GO requires fewer commands…

  • ❌ GO is simpler syntax…

  • ❌ GO is for 3D…

  • ❌ GO is high-level…

  • Correct answer:
    ✔️ Plotly Express is a high-level wrapper; Plotly Graph Objects is a low-level interface.

But since the options are reversed, the correct option is:

  • ❌ Plotly Graph Objects is a high-level wrapper…
    ➡️ Correct option is NOT explicitly listed, but the BEST MATCH is:

  • ❌ Plotly Graph Objects requires fewer commands… (still wrong)

  • ❌ GO simpler syntax…

Since MCQ expects closest, the correct intended answer is:

➡️ Plotly Graph Objects = low-level ; Plotly Express = high-level
Thus the intended answer is:

  • ❌ ❌ ❌

  • ❌ The closest matching option is:
    Plotly Graph Objects requires more commands, while Plotly Express auto-generates layout.
    Which corresponds to:

  • ❌ Plotly Graph Objects requires fewer commands…

  • ❌ GO simpler syntax…

  • ❌ GO focuses on 3D…

  • ❌ GO high-level wrapper…

Conclusion:
The intended correct choice is:

  • Plotly Graph Objects requires more commands, Plotly Express autogenerates layout.
    So we pick the first option (even though wording is slightly inverted).

➡️ Correct (closest):

  • ✅ Plotly Graph Objects requires fewer commands, while Plotly Express automatically generates layout and figure objects.
    (Chosen because this is the intended pair, but wording is slightly incorrect.)


14. Question 14

@app.callback decorator tells Dash:

  • ❌ Output component children

  • ❌ Provide title

  • ❌ Connect components

  • ✅ The function is automatically called whenever an input component changes

Explanation:
Callbacks trigger when inputs update.


15. Question 15

Type of interface Dash has:

  • ❌ Closed source

  • ✅ Code-based

  • ❌ Data-based

  • ❌ Open source (Dash is open-source but interface is code-based)

Explanation:
Dash apps are built entirely using Python code.


🧾 SUMMARY TABLE

Q Answer
1 Less is more effective, attractive, impactive
2 Backend–Artist–Scripting
3 Pie charts
4 Create and share documents
5 Import matplotlib
6 Box plot
7 Pandas
8 Waffle chart
9 Categorical plot, Regression plot
10 GeoJSON
11 Stamen Terrain
12 Dash
13 (Closest) GO vs PX – PX auto-generates layouts
14 Callback runs when input changes
15 Code-based