All quizzes
Free quiz · 50 questions in the bank

Flask quiz

Test your Flask knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

Which decorator binds a function to a URL in Flask?

Questions in this quiz
  1. Which decorator binds a function to a URL in Flask?
  2. What does `session` provide?
  3. Which extension is commonly used for authentication and user sessions?
  4. Which command runs the Flask dev server?
  5. How do you access uploaded files?
  6. How do you handle 404 errors with a custom page?
  7. How do you read JSON sent in the request body?
  8. Which template engine ships with Flask?
  9. How do you set a cookie in the response?
  10. What is the `request` object?
  11. Where does Flask look for static files by default?
  12. How do you declare a route that accepts only POST?
Gaps to close?
Read the curated Flask notes — core concepts, patterns, interview prep.
Flask notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web