Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Keywords: quiz, question, mathematics, science, exam, multiple choice, e-exam, e-assessment, summative, formative, instant feedback

Table of Contents
maxLevel3
minLevel2

...

Warning
titleCaution

The tutor is strongly advised to pre-generate and "deploy" variants of a question. Not pre-generating question variants Forces Moodle to generate them on the fly - for quizzes with larger numbers of participants this can cause quizzes to crash/freeze.
When a student attempts the question, they will be given a random selection from the deployed variants.


Why

...

deploy variants

Questions in STACK can contain randomly generated elements. A student will be given a random variant of a question generated by a pseudo-random seed.

...

  1. The easiest way to do so is to preview the question:
  2. Then click the Question tests & deployed variant link on the top right corner.
  3. Click ‘deploy’ if not already deployed.
  4. Next to Attempt to automatically deploy the following number of variants, enter the number of variants you would like and click Go. You can preview results and either exclude variants, or return to the quiz question settings to revise the randomisation you have used in the question.
  5. Check variants as required.
  6. This will show the list of currently deployed variants, and links to undeploy all or a specific variant.
  7. Optionally, click ‘Run all tests on all deployed variants (slow):’ and check/undeploy any variants you don’t want to use.

    Limitations

...

You can test questions by deploying random variants, and adding test cases.

Add test cases:

  1. Click Add a test case
  2. Provide a test input, and the expected outcome.
  3. Click Save changes
  4. Clik Run all tests on all deployed variants to run the test on all the deployed variants of your question.

...