Cookbook
Completion requirements
Quiz
1. How can I not shuffle the first question?
2. How can I allow a choice of questions to answer
3. How can I know which questions students have already answered?
4. How can I ensure that a Random question is taken also from subcategories
5. How can I add a question from a category with more than 20 questions to a quiz
See also the Quiz miniguide and EXAM Moodle cookbook
How can I not shuffle the first question?
One can put the first question in a separate section.
However, that necessitates it being on a separate page.
To ensure that it appears on the same page as all the other questions, one can Chain it as follows:
How can I allow a choice of questions to answer
Use the Max questions to grade and/or Keep the highest options as follows:
Go to the Edit quiz page (or Edit exam in EXAM Moodle).
In Max questions to grade, enter a number less than the total number of questions - not including Description questions
In the Keep the highest field, enter a number less than the number in the Max questions to grade field or, if not set, less than the total number of questions in the quiz - again not including Description questions
(Any attempt to enter an illegal number will be ignored.)
For example:
If Max questions to grade is set to 5, then only the first five questions that the student answered will be graded.
Thus if he answered six questions, the 6th question (in the order of questions in his attempt) will be disqualified
If Max questions to grade is not set, but Keep the highest is set to 5, he can answer any number of questions but only the five with the highest grade will be considered.
Obviously both these options only make sense if the questions are all worth the same number of points.
If you change the value of one of these options, and there already are attempts, don't forget to Regrade.
Note: If the quiz is divided into sections, the options are available for each section.
How can I know which questions students have already answered?
In the Grades page, before an attempt has been submitted, there is a hyphen in the box for an attempt/question only if a response has as been saved or autosaved.
Otherwise the box in blank.
How can I ensure that a Random question is taken also from subcategories
When adding a Random question, before clicking on button Add Random question at the bottom of the popup window, check Also show questions from subcategories and click on button Apply filters
On the Questions page, the checkbox after the random question's name will now be checked and hovering near it will show Subcategories are included
Unfortunately, in the current release of Moodle, when returning to the question's edit page the checkbox is no longer checked.
However, unless you click on button Apply filters and then Update filter conditions at the bottom of the page, whether or not subcategories are included won't be changed.
That it is not clear when editing a question whether subcategories are included, is one problem amongst many in the implementation of Random questions in the current release of Moodle.
Some problems with Random questions in release 4.3 that were fixed here at HUJI:
How can I add a question from a category with more than 20 questions to a quiz
The popup that opens on selecting option ממאגר השאלות from dropdown menu הוספה shows only the first 20 questions in the category.
Attempting to view the next 20 questions sometimes changes the category.
Presumably this will be fixed in a future version of Moodle.
For now, the following seems to work
2. How can I allow a choice of questions to answer
3. How can I know which questions students have already answered?
4. How can I ensure that a Random question is taken also from subcategories
5. How can I add a question from a category with more than 20 questions to a quiz
See also the Quiz miniguide and EXAM Moodle cookbook
How can I not shuffle the first question?
One can put the first question in a separate section.
However, that necessitates it being on a separate page.
To ensure that it appears on the same page as all the other questions, one can Chain it as follows:
- On the Edit quiz page (or Edit exam page in EXAM Moodle):
- Click on button Select multiple items
- Click on the checkbox of the first item
- Click on button Chain selected
Symbol indicates that the question is now chained
How can I allow a choice of questions to answer
Use the Max questions to grade and/or Keep the highest options as follows:
Go to the Edit quiz page (or Edit exam in EXAM Moodle).
In Max questions to grade, enter a number less than the total number of questions - not including Description questions
In the Keep the highest field, enter a number less than the number in the Max questions to grade field or, if not set, less than the total number of questions in the quiz - again not including Description questions
(Any attempt to enter an illegal number will be ignored.)
For example:
If Max questions to grade is set to 5, then only the first five questions that the student answered will be graded.
Thus if he answered six questions, the 6th question (in the order of questions in his attempt) will be disqualified
If Max questions to grade is not set, but Keep the highest is set to 5, he can answer any number of questions but only the five with the highest grade will be considered.
Obviously both these options only make sense if the questions are all worth the same number of points.
If you change the value of one of these options, and there already are attempts, don't forget to Regrade.
Note: If the quiz is divided into sections, the options are available for each section.
How can I know which questions students have already answered?
In the Grades page, before an attempt has been submitted, there is a hyphen in the box for an attempt/question only if a response has as been saved or autosaved.
Otherwise the box in blank.
How can I ensure that a Random question is taken also from subcategories
When adding a Random question, before clicking on button Add Random question at the bottom of the popup window, check Also show questions from subcategories and click on button Apply filters
On the Questions page, the checkbox after the random question's name will now be checked and hovering near it will show Subcategories are included
Unfortunately, in the current release of Moodle, when returning to the question's edit page the checkbox is no longer checked.
However, unless you click on button Apply filters and then Update filter conditions at the bottom of the page, whether or not subcategories are included won't be changed.
That it is not clear when editing a question whether subcategories are included, is one problem amongst many in the implementation of Random questions in the current release of Moodle.
Some problems with Random questions in release 4.3 that were fixed here at HUJI:
- Name of category is shown instead of 'Random question based on filter condition
- Editing a random question is no longer broken
- A checkbox after the question name indicates whether subcategories are included. Hovering near the checkbox makes this explicit
How can I add a question from a category with more than 20 questions to a quiz
The popup that opens on selecting option ממאגר השאלות from dropdown menu הוספה shows only the first 20 questions in the category.
Attempting to view the next 20 questions sometimes changes the category.
Presumably this will be fixed in a future version of Moodle.
For now, the following seems to work
- Click on ממאגר השאלות to open the popup
- Select a category with more than 20 questions
- Click on ביצוע סינון
- Close the popup
- Click on ממאגר השאלות to open it again
- Click on another tab e.g. 2
- Add questions
- Close the popup