Skip to content

Module 1 Graded Quiz: Python Basics :Python for Data Science, AI & Development (Applied Data Science Specialization) Answers 2025

1. Temperature drop

  • 3 ❌

  • 25 ❌

  • 22 ❌

  • 19 ✅


2. Restaurant bill calculation

  • 40 + 12 *1.15 ❌

  • (40 + 12) * 0.15 ❌

  • (40 * 0.15) + (12 * 0.15) ❌

  • (40 + 12) * 1.15 ✅


3. Python dynamic typing

  • Python variables have no type until used ❌

  • Python requires explicit type declarations ❌

  • Python variables can only hold one data type ❌

  • Python automatically determines variable types based on assigned values ✅


4. Boolean to integer

  • 0 ❌

  • “True” ❌

  • Error ❌

  • 1 ✅


5. String concatenation vs numeric addition

  • Converts numbers to text / strings to numbers ❌

  • Identical results ❌

  • String concatenation joins text; numeric addition adds numbers ✅

  • Requires len() ❌


6. Convert “data science basics” → “Data Science Basics”

  • article_title.upper() ❌

  • article_title.proper() ❌

  • article_title.capitalize() ❌

  • article_title.title() ✅


7. text = “Hello World” → text[0:5]

  • “Hello ” ❌

  • “ello” ❌

  • “Hello” ✅

  • “Hello World” ❌


8. Why Python is popular

  • Python’s readability & flat learning curve ✅

  • Requires advanced math ❌

  • Windows only ❌

  • Only scientific computing ❌


9. Why Jupyter Notebook for presentations

  • Only tables ❌

  • Combines code + text + visuals in narrative flow ✅

  • Auto PPT ❌

  • Hides technical details ❌


10. Output of print(“Python is “awesome””)

  • Python is awesome ❌

  • Python is \awesome ❌

  • Error ❌

  • Python is “awesome” ✅