How to Create a Moodle Quiz: Step-by-Step Guide
9. Setting #10: Restrict access
This allows you to set up restrictions that are fairly self-explanatory.

E.g. Activity completion - if you want students to have completed other activities before doing this quiz, this is where you would add that kind of restriction.
