| KC | Knowledge Check |
1️⃣ Multiple Choice
Which chart type is most suitable for showing the development of a value over time?
A) Pie chart
B) Line chart
C) Bar chart
D) Histogram
Select the correct answer.
2️⃣ Multiple Choice
You want to compare the population of five countries in the year 2020.
Which chart type is most appropriate?
A) Line chart
B) Scatter plot
C) Bar chart
D) None of the above
Select the correct answer.
3️⃣ Multiple Choice
Assume:
plt.title("Population Growth")
What does this command do?
A) Creates a legend
B) Sets the title of the plot
C) Labels the x-axis
D) Saves the figure
Select the correct answer.
4️⃣ Multiple Choice
Assume:
plt.xlabel("Year")
What is the purpose of this command?
A) Sets the title of the figure
B) Labels the x-axis
C) Labels the y-axis
D) Creates a legend
Select the correct answer.
5️⃣ Multiple Choice
A pie chart is typically used to:
A) Show changes over time
B) Compare exact values on two axes
C) Show how categories contribute to a whole
D) Display geographic locations
Select the correct answer.
Discussion
The solutions will be discussed during the course session.