⚠
Privacy Notice: When you sign in with GitHub, your quiz attempts are stored in Google Firebase so you can track your progress. This data is only accessible to the course instructor, is not otherwise shared, and will be deleted at the end of the semester. For earlier deletion, contact the instructor. Prefer to stay anonymous? Use guest mode or a GitHub account without your real name.
Loading...

01 Quiz: Modern Python Implementation

Score: 0 / 20

Instructions

This interactive quiz tests your understanding of key concepts from Chapter 01 (Modern Python Development).


Preparation: Read First

Before attempting this quiz, study the following lecture sections:

From Chapter 01: Modern Development Tools:

  • Python’s dominance and ecosystem
  • Virtual environments and dependency isolation
  • pyproject.toml and modern project configuration
  • uv workflows: direct run, manual venv, named scripts
  • Script Python vs. Production Python

Why Take This Quiz?

For Your Learning:

  • Self-Assessment: Identify areas where you have strong understanding and topics that need review
  • Exam Preparation: The quiz format and difficulty mirror what you can expect in the final exam
  • Immediate Feedback: Get instant feedback on your answers to reinforce correct understanding
  • Active Recall: Testing yourself is one of the most effective learning techniques

Guidelines:

  • Each question has 4 options with exactly one correct answer
  • Try to answer without referring to the lecture materials first
  • Sign in with GitHub to save your progress across sessions
  • Or continue as guest (progress won’t be saved)

Scoring Guide

  • 18-20 correct: Excellent! Strong grasp of modern Python development workflows and tooling
  • 15-17 correct: Good understanding! Review the areas you missed, particularly the practical workflow concepts
  • 12-14 correct: Fair understanding. Revisit the lecture sections on virtual environments, uv workflows, and pyproject.toml
  • Below 12: Please review the lecture carefully. Focus on understanding why modern tools exist and what problems they solve
Question1 Python's Dominance

Why is Python considered the leading language for modern software development in 2025?

Question2 Virtual Environments

What fundamental problem do Python virtual environments solve?

Question3 Virtual Environments

In the lecture’s apartment building analogy for virtual environments, what do the “apartments” represent?

Question4 Virtual Environments

When you create a virtual environment, where are the project’s installed packages actually stored?

Question5 Modern Tooling

Before modern tools like uv, how many manual steps did developers typically need to perform to set up and run a Python project with dependencies?

Question6 pyproject.toml

What is the primary purpose of the pyproject.toml file in modern Python projects?

Question7 pyproject.toml

What does the version specifier pandas>=2.1.0 mean in a pyproject.toml file?

Question8 Modern Tooling

What makes uv significantly faster than traditional Python package management tools like pip?

Question9 uv Workflows

Which uv workflow is considered the most professional approach for distributing Python applications?

Question10 uv Workflows

When you execute uv run main.py, which of the following does NOT happen?

Question11 Professional Python

What is the PRIMARY difference between “Script Python” and “Production Python”?

Question12 Modern Tooling

Which of the following represents the MODERN, recommended way to add a package to your project with uv?

Question13 Professional Python

The lecture has you download a zipped project file, even though Git/GitHub is better. Why this pedagogical choice?

Question14 Python Internals

When Python looks for a package to import, in what order does it search?

Question15 Python's Dominance

According to the lecture, which factor is NOT a primary reason for Python’s dominance?

Question16 Professional Python

In Step 3 of the setup guide, you’re asked to replace the author name in pyproject.toml with your GitHub username. Why does this matter?

Question17 Modern Tooling

The lecture describes three eras of Python package management. What represents the “Modern Era”?

Question18 Professional Python

When you define road-viewer = "main:main" in the [project.scripts] section, what does the syntax mean?

Question19 uv Workflows

What’s the difference between uv tool install ruff and uv add ruff?

Question20 Professional Python

According to the lecture introduction, what’s the main difference between “writing a script that works” and “building professional software”?

© 2026 Dominik Mueller   •  Powered by Soopr   •  Theme  Moonwalk