Create Conditional Quiz Questions

On the CLE, you can configure a quiz to have questions that are conditional upon another question. This will force a student to answer a question before they can proceed. Questions conditional upon other questions will display as either grayed out or with text indicating they will be unavailable until a previous question is answered.

  • This setting is not recommended for use with randomization of questions within a quiz.
  • Conditional questions can only be used when quizzes are set up with Interactive with multiple tries, Immediate Feedback, or Immediate Feedback as a setting.

Before starting

To configure your quiz for conditional question dependencies you will need to change your Layout and Question behavior on your Edit settings page. To do so,

  1. On your course page, click the link to open the quiz. The Quiz summary page will open.
  2. On the Quiz summary page, select the Gear icon (Screenshot of Actions menu), a drop-down list will open. From this list select Edit settings. The Editing settings page will open.
  3. Under the Layout heading, click Show more.... This will display extra Layout options. quiz_layout.png
  4. In the Navigation method drop-down list, select Free.
  5. Under the Question behavior heading, from the How questions behave drop-down list, select either Interactive with multiple tries. Screen_Shot_2020-12-15_at_2.36.49_PM.png
  6. Click Save and Display. You will be returned to the Quiz Summary page.

Enable conditional question dependencies

  1. On your course page, click the link to open the quiz. The Quiz summary page will open.
  2. On the Quiz summary page, select the Actions menu. A drop-down list will open. From this list select Edit quiz.
  3. To the left of each question, there is an unlock icon. To add a conditional dependency, click the unlock icon. This will create the conditional dependency. The icon will change to a lock icon.
  4. To check the dependency, hover over the lock icon.
  5. To unlock the question and remove the conditional dependency, click the lock icon. This will remove the conditional dependency. The lock icon will change to an unlocked icon.
  1. On your course page, click the link to open the quiz. The Quiz summary page will open.
  2. On the Quiz summary page, select the Actions menu (Screenshot of Actions menu). A drop-down list will open. From this list select Edit quiz. If you do not have questions added, see Add or Edit Questions in a Moodle Quiz.
  3. To the left of each question, there is an unlock icon (Screenshot of unlock icon). To add a conditional dependency, click the unlock icon. This will create the conditional dependency. The icon will change to a lock icon (Screenshot of lock icon).

    Padlock_of_quiz.png  
  4. To check the dependency, hover over the lock icon.
  5. To unlock the question and remove the conditional dependency, click the lock icon. This will remove the conditional dependency. The lock icon will change to an unlocked icon.

Have more questions? Contact us