Home > Welcome to Moodle > Course Settings Page > Completion Tracking Questions (Check boxes next to assignments) > Restrict Access & Completion Tracking: Student Must Earn Passing Grade on Quiz to Move on
These steps require that you have completion tracking enabled in your course.
Ideal for warm-up quizzes and terminology tests, allowing a student to take a test until they pass it and are able to move on can help strengthen skills needed for following activities.