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.
  • If you choose the Interactive mode with multiple tries or Immediate Feedback, and set the navigation method to Free, you can make a question appear only after answering a previous question. 

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. Log onto CLE, locate your course site where the quiz activity is located, and click on the quiz.
  2. Click on the quiz title to access the Quiz navigation bar.
  3. On the quiz page, click on the Settings tab. The Editing settings page will open.
  4. Under the Layout heading, click Show more. This will display extra Layout options. 

A screenshot showing the quiz settings page and the extra quiz layout window.png

  1. In the Navigation method drop-down menu, select Free.
  2. Under the Question behavior heading, from the How questions behave drop-down list, select either Interactive with multiple tries.

    A screenshot showing the quiz settings page and the question behavior drop-down menu.png

  3. 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 Questions tab in the Quiz navigation bar.
  3. To the left of each question, there is an unlock icon. To add a conditional dependency, click the unlock icon. This will create 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 Questions tab in the Quiz navigation bar. On this page, you can the 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 (A screenshot showing the quiz summary page and unlock icon next to each question.png). To add a conditional dependency, click the unlock icon. This will create conditional dependency. The icon will change to a lock icon (A screenshot showing the quiz summary page and lock icon next to each question.png).

A screenshot showing the quiz layout page and to add a conditional dependency.png

  1. To check the dependency, hover over the lock icon.
  2. 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.
Was this topic helpful?

Have more questions? Contact us