Graded Quiz: Data Collection:IBM Data Analyst Capstone Project (IBM Data Analyst Professional Certificate) Answer 2025
1. Question 1
Which Python module helps you easily access an API?
-
❌ Matplotlib
-
❌ NumPy
-
❌ Pandas
-
✅ Requests
Explanation:requests is the standard module for making API calls.
2. Question 2
Which URL format retrieves a JSON representation?
-
❌ .xml
-
❌ .csv
-
✅ /positions.json
-
❌ .html
3. Question 3
After downloading the Jobs_API file, what should you do to run it in Watson Studio?
-
✅ Upload the file to IBM Watson Studio
-
❌ Open in text editor
-
❌ Compile it
-
❌ Convert to CSV
4. Question 4
Which module downloads a web page in Python?
-
❌ bs4
-
❌ json
-
✅ requests
-
❌ urllib (also possible, but requests is correct & preferred in this lab)
5. Question 5
Function in csv module to write a row:
-
❌ writeline
-
❌ writecsv
-
❌ write
-
✅ writerow
6. Question 6
HTML tag for a table row:
-
❌
<table> -
✅
<tr> -
❌
<row> -
❌
<td>(table cell)
7. Question 7
Library required to load & manipulate the dataset:
-
❌ matplotlib
-
❌ numpy
-
❌ seaborn
-
✅ pandas
8. Question 8
How many rows are in the dataset?
-
❌ 54,728
-
❌ 115
-
✅ 65,437
-
❌ 12,345
(This matches the dataset used in the lab.)
9. Question 9
Approximate mean age of participants:
-
✅ 29.6
-
❌ 32.7
-
❌ 25.4
-
❌ 39.5
10. Question 10
How many unique countries appear in the dataset?
-
❌ 175
-
❌ 200
-
❌ 120
-
✅ 185
🧾 Summary Table
| Q | Correct Answer | Concept |
|---|---|---|
| 1 | Requests | API access |
| 2 | /positions.json | JSON format |
| 3 | Upload to Watson Studio | Running file |
| 4 | requests | Web page download |
| 5 | writerow | Write CSV |
| 6 | <tr> |
HTML table row |
| 7 | pandas | Load dataset |
| 8 | 65,437 rows | Dataset size |
| 9 | 29.6 | Mean age |
| 10 | 185 | Unique countries |