Python Quest

Track 17 · Lesson 5 of 12

Project: quiz engine

Build a quiz engine that loads and validates questions from JSON, understands untidy typed answers, gives feedback, scores against a pass mark and runs a retry round.

About 90 minIntermediate6 exercises

You will be able to

  • Validate structured data from a file before the program relies on it
  • Separate understanding an answer (normalising) from judging it (checking)
  • Handle several question types with one consistent set of functions
  • Drive an interactive program from input() and test it with prepared answers
  • Change a requirement mid-project (a retry round) without breaking scoring

Included with a Formula Quest membership

It has 6 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.

View Formula Quest memberships

Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.