...

/

Adding a Proctor to Run Timed Quizzes

Adding a Proctor to Run Timed Quizzes

Let’s learn why it's important to schedule our quizzes and add a boundary API to our project.

Scheduling quizzes

To be useful in a classroom setting, Mastery should be able to schedule quizzes. Here’s the step by step flow for the major actors working with Mastery:

  • A teacher schedules a quiz.

  • At the quiz’s scheduled starting time, the proctor makes that quiz available in the quiz manager.

  • A student takes a quiz.

  • At the scheduled end time, the proctor automatically stops all student processes for that quiz and removes the quiz from the manager.

This is exactly the kind of machinery that defines the worker layer. It’s not lifecycle code because it lives outside of the ...