Recall & Review
beginner
What is FastAPI mainly known for?
FastAPI is known for its speed and automatic generation of API documentation using Python type hints.
Click to reveal answer
beginner
How does Flask differ from Django in terms of project structure?
Flask is a micro-framework that gives you freedom to structure your project as you like, while Django provides a full-featured, structured framework with built-in components.
Click to reveal answer
beginner
Which framework includes an admin panel out of the box?
Django includes a built-in admin panel for managing data, which FastAPI and Flask do not provide by default.
Click to reveal answer
intermediate
Why might a developer choose FastAPI over Flask or Django?
A developer might choose FastAPI for its modern async support, automatic docs, and better performance for APIs.
Click to reveal answer
beginner
What is a key advantage of Flask for beginners?
Flask's simplicity and minimal setup make it easy for beginners to start building web apps quickly.
Click to reveal answer
Which framework automatically generates API documentation from your code?
✗ Incorrect
FastAPI uses Python type hints to generate interactive API docs automatically.
Which framework is considered a micro-framework?
✗ Incorrect
Flask is a micro-framework, meaning it provides the basics and lets you add features as needed.
Which framework includes a built-in admin interface?
✗ Incorrect
Django comes with a built-in admin panel to manage database content easily.
Which framework is best known for supporting asynchronous programming easily?
✗ Incorrect
FastAPI is designed with async support for better performance in handling many requests.
If you want a simple, flexible framework to start a small web app quickly, which should you pick?
✗ Incorrect
Flask is simple and flexible, making it great for beginners and small projects.
Explain the main differences between FastAPI, Flask, and Django in terms of features and typical use cases.
Think about speed, structure, and built-in tools.
You got /4 concepts.
Describe why a developer might choose Django over FastAPI or Flask for a new project.
Consider project size and built-in features.
You got /4 concepts.