Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Quiz FAQ.

Quiz FAQ: Difference between revisions

From MoodleDocs
(Add link)
(copied from 3.8 Docs)
 
(67 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Quiz}}
{{Quiz}}
==General==


==How can I randomly generate a quiz from a larger question bank?==
===How can I try a quiz before it is released?===
 
You have prepared a quiz exam for your students. It is currently in a hidden state. The exam opens on the day of the exam, at a time that the students know about. However, to satisfy yourself that it is doable in the time allotted, You wish to do a dry run yourself before that date. How can You accomplish this?
 
Method 1: Use the Preview feature available to you as a teacher as you are making the quiz.
Method 2:
 
# Make a dummy account with a name like "Test Student".
# Enrol that user in the course as a student.
# Add a "User override" to the quiz, so "Test Student" can attempt the quiz before it is open to everyone else.
# Log in as "Test student".
# Attempt the quiz.
# Log back in as teacher.
# Review the attempt.
# Go to Results -> Grades and delete the test attempt.
# Un-enrol "Test Student" from your course.
 
Method 3: Set up a Moodle Playground course for your teachers. Add teachers with dual role (teacher and student). Teachers can later copy the quiz/assignment/whatever over to their live class.
 
===How can I enable notification of quiz submissions?===
 
See [[Quiz submission notification]].
 
===How do I send a bulk message to all students who haven't completed a quiz?===
*From your navigation block, click ''Reports>Course participation''
*From the drop down, choose your quiz.
*In ''Show only'', choose "Student" and in ''Actions'', choose "post"
*In the list that appears, tick/check the boxes next to those you wish to message.
*In the bottom dropdown ''With selected users'', choose "send message"
 
[[File:quizemail.png]]
 
===How can build a quiz that picks X questions randomly from a larger question bank?===
See the section on adding random questions in [[Building Quiz]].
See the section on adding random questions in [[Building Quiz]].


==Can I have different start times/timings/numbers of attempts for different groups?==
===How can I print a copy of a quiz?===
*In the Quiz administration settings block, there is a link "group override".
 
*Click this link and you will be able to select your groups and change the quiz dates, times and number of attempts:
Use your browser printer option (for example by right-clicking and selecting Print) When a student prints their finished quiz, responses and feedback will also be printed.
 
[[File:browserquizprint29.png|thumb|center|400px|Print preview of finished quiz - Click to enlarge]]
 
You can also export the question as Moodle XML, or GIFT format. If you open either of those files in a text-editor, you should be able to see most of the details of each question.
 
=== How can I print all the students' quiz questions and answers?===
Install the [https://moodle.org/plugins/quiz_archive quiz archive report] additional plugin and print the webpage to PDF.
 
=== How can I optimize a Moodle server for performing more concurrent quizzes? ===


[[File:quizgroupoverride.png]]
See [[Performance recommendations]].


==What happens if students submit answers after the quiz closing date?==
=== Can I release the answers to students who did not attempt a quiz? ===
It is possible for students to still submit answers after the quiz has closed (for example if they started the attempt before the closing date but then took a long time before submitting). These responses are stored by the quiz module, but the students are not given any credit for them. The teacher can see these answers when reviewing the student's attempts and can give the student credit for them by hand. Also the teacher could change the closing date after the fact and regrade the attempts. The students answers would then get graded.
Yes. One way to handle this with standard Moodle would be to open the quiz after the deadline and add a time limit to the quiz of one second. Unless students are extremely quick they will not be able to gain any points, but would see the general feedback.


==Is there a nice way to print a copy of a quiz?==
=== How can I make Moodle quizzes if my school does not have enough computers / fast internet / a good Moodle server? ===
* Check the [[Offline quiz activity]] additional plugin.
* Read about the use of [[Safe_exam_browser#Chrome_OS_and_Safe_Exam_Browser| Chromebooks]] and [[Safe_exam_browser#Securing_a_Moodle_Quiz_on_an_iPad|iPads]] in the [[Safe exam browser]] Moodle documentation.
* Visit the page for [https://www.eventbrite.com.au/o/transforming-exams-e-exams-symposium-17431618115 Transforming Exams] - Transforming Exams is an Australian Government funded research project looking at approaches to conducting authentic digital assessment in the exam rooms of Australian universities via the use of Bring-your-own laptops. The project involves 10 Australian university partners and is lead out of Monash University. See [http://transformingexams.com/ TransformingExams.com] for project information.


Not at the moment.  See this tracker request: [https://tracker.moodle.org/browse/MDL-348 Printer-friendly (more compact) layout option for quiz]
===Can I print the quiz results without the answers history?===
*Also this discussion, where there is an unlikely hack: https://moodle.org/mod/forum/discuss.php?d=222565
If you want to to print the results of all the student attempts, but ommit the answers history, as it might take much space, you can do so by accessing the settings on Site admin -> Appearance -> Additional HTML. In the 'Within head' setting, put something like:
*Some CSS suggestions here: https://moodle.org/mod/forum/discuss.php?d=205969#p899667
*The University of Vienna published an [http://www.academic-moodle-cooperation.org/en/modules/offline-quiz/ offline quiz module for Moodle 2.2+] available for [http://www.academic-moodle-cooperation.org/en/modules/offline-quiz/ download in GitHub].


Also note the comments here: https://docs.moodle.org/en/Effective_quiz_practices#Printing_and_sharing_questions
<code php n>
<style type="text/css">
@media print {
    .que .history {
        display: none;
    }
}
</style>
</code>


See this [https://moodle.org/plugins/view.php?plugin=qformat_wordtable addon] for exporting questions (including images) in a question bank into a Word file
===Is it possible for a teacher to add a personal/private note to a student's quiz submission?===
Not really, but as a workaround, you can use the buit-in [[Notes]] feature.


Eion Campbell has a plugin that may be usefull here: https://moodle.org/plugins/view.php?plugin=qformat_htmltable
==Setup==


==Why am I no longer allowed to add or remove questions?==
===Why am I no longer allowed to add or remove questions?===
Most likely it is because you have students that have already attempted the quiz. You will need to delete all of the attempts by selecting them and choosing to delete them if you need to add/remove questions from a quiz.  
Most likely it is because you have students that have already attempted the quiz. You will need to delete all of the attempts by selecting them and choosing to delete them if you need to add/remove questions from a quiz.  


If you are developing a new quiz where the attempts have just been trials then deleting the previous attempts will have no consequeces in the grade book.
If you are developing a new quiz where the attempts have just been trials then deleting the previous attempts will have no consequences in the grade book.  
 
If this is not the case think carefully about how to handle the graded attempts.


There are several ways of getting to the “attempts #” which you need to click on to delete the previous attempts. Use which ever works for you.
There are several ways of getting to the “attempts #” which you need to click on to delete the previous attempts. Use which ever works for you.
Line 42: Line 93:
Go back to  Quiz Administration > Edit Quiz and you will now be able to add or delete questions.
Go back to  Quiz Administration > Edit Quiz and you will now be able to add or delete questions.


==How can I turn off glossary auto-linking in a quiz? ==
===How can I remove a problem question after the quiz has been taken?===
*In the Quiz administration settings block there will be a link "filter".
*Click the link and you will have the option to disable filters just for that particular quiz:
 
[[File:quizfilter.png]]
 
==How can I remove a problem question after the quiz has been taken?==


You can not remove a question once a quiz has been taken by one student or more. However you can change the score and flag the question so you know it has problems.
You can not remove a question once a quiz has been taken by one student or more. However you can change the score and flag the question so you know it has problems.
Line 55: Line 100:
*Caution: In some versions of Moodle if you use this question in an other quiz, this will potentially change the question in that quiz as well. A trick is to score the question as 0, then regrade the just completed quiz. This will establish the new grade for gradebook.  Now go back and change the score to the original value.   
*Caution: In some versions of Moodle if you use this question in an other quiz, this will potentially change the question in that quiz as well. A trick is to score the question as 0, then regrade the just completed quiz. This will establish the new grade for gradebook.  Now go back and change the score to the original value.   


Find the question in Question Bank.  Maybe edit the title (Do not use in Bio101).  Or if you do not share the question category with other teachers, create a sub category, move the offending question there, and perhaps create a better question to replace the one you just moved.  Create a new quiz and if necessary hide the old one.
Find the question in Question Bank.  Maybe edit the title (e.g. 'Do not use in Bio101').  Or if you do not share the question category with other teachers, create a sub category, move the offending question there, and perhaps create a better question to replace the one you just moved.  Create a new quiz and if necessary hide the old one.
*Caution: if other departments or teachers use a question category it might be wise to check with the team before moving or changing any question.  This is one reason importing questions in a course is a good best practice in some situations.
*Caution: if other departments or teachers use a question category it might be wise to check with the team before moving or changing any question.  This is one reason importing questions in a course is a good best practice in some situations.


==Can I have a quiz that is not graded?==
===How can I turn off glossary auto-linking in a quiz? ===
*In the Quiz administration settings block there will be a link "filter".
*Click the link and you will have the option to disable filters just for that particular quiz:


This is not a common requirement, so it may not work perfectly, but you can get close:
===Can I make a second quiz start right away after a first quiz is finished?===
By using a hack (See [https://moodle.org/mod/forum/discuss.php?d=377382 this forum thread]).


# On the quiz editing page, set the score for each question, and the total score for the quiz to 0.
In the 'Overall feedback' for the first quiz, add some code which redirects to the second quiz. Make a big button to make that obvious:
# On the quiz settings page, there is a grid of check-boxes. Turn off all the ones in the score column.


==Why is my quiz not displaying in the gradebook?==
<code css>
*Check that you have a maximum score that is more than 0 - if your score is 0, then the quiz will not appear in the gradebook.
<div style="text-align:center;padding:20px;">
  <a href="https://--your domain--/mod/quiz/view.php?id=--quiz 2 no--" target="_blank">
    <button type="button" style="height:100px;font-size:24px;">Click here to access Quiz 2</button>
  </a>
</div>
</code>


Remember you can tell gradebook not to include the quiz.
It would look like this:


==How do I allow a person to retake a quiz if I have it set for 1 attempt?==
[[File:Click here to access Quiz 2.png|200px]]
*In the Quiz administration settings block, there is a link "user overrides".
*Click this link and you can change the allowed number of attempts for that user. Screenshot:[https://docs.moodle.org/24/en/File:quizuseroverride.png]


==How can I give particular students extra time in a timed quiz?==
Notes:
*In the Quiz administration settings block there is a link "user overrides"
 
*Click this link and you will be able to choose one or more users and change the timing of their quiz
* The button will not appear in the gradebook.
* In the quiz settings and under Review options, select 'Overall feedback' under 'Immediately after the attempt'. Deselect 'Overall feedback' under 'Later, while the quiz is still open' and 'After the quiz is closed'.
 
==Attempts==
 
===How can I give particular students extra time or numbers of attempts?===
*In the Quiz administration there is a link "User overrides"
*Click this link and you will be able to choose one or more users and change quiz dates, times or number of attempts.


[[File:quizuseroverride.png]]
[[File:quizuseroverride.png]]


==I've entered quiz grades manually in the gradebook. How can I allow students to improve on these grades?==
===Can I have different start times/timings/numbers of attempts for different groups?===
*In the Quiz administration settings block, there is a link "group overrides" that allows you to do things like grant extensions to certain groups of students.
*Click this link and you will be able to select your groups and change the quiz dates, times and number of attempts:


When a grade is entered directly in the gradebook, an "overridden" flag is set, meaning that the grade can no longer be changed from within the quiz.
[[File:quizgroupoverride.png]]


However, the flag can be removed by turning editing on in the [[Grader report|grader report]], then clicking the [[Grade editing|edit grade]] icon, unchecking the overridden box and saving the changes.
===What happens if students submit answers after the quiz closing date?===
It is possible for students to still submit answers after the quiz has closed (for example if they started the attempt before the closing date but then took a long time before submitting). These responses are stored by the quiz module, but the students are not given any credit for them. The teacher can see these answers when reviewing the student's attempts and can give the student credit for them by manually entering a grade in the gradebook. Also the teacher could change the closing date after the fact and regrade the attempts. The students' answers would then get graded.


==How can I enable notification of quiz submissions?==
===How can a "Never submitted quiz" attempt be submitted?===
 
Currently  there is no way to retrieve an attempt that was "Never Submitted", and get it back into the "In progress" state. Perhaps the best solution is to plan ahead and set your quiz to set your quiz to be submitted automatically.  Alternatively, you can
See [[Quiz submission notification]].
# Update the quiz : set the "close the quiz" date after today
# Set "When time expires" to "There is a grace period ..."
#Under Grade set "Attempts allowed" to "unlimited"
#Question behavior: Each attempt builds on the last "Yes"
# Invite the students who did not close their exams
# Allow them to start a new attempt, and close it immediately.


==Why can't people (guests) take a quiz without creating an account and logging in?==
===Why can't people (guests) attempt a quiz without creating an account and logging in?===


This is difficult to implement for technical reasons.
This is difficult to implement for technical reasons.
Line 96: Line 161:
To explain: The quiz has to link all information about an attempt to a particular 'user' record in the database, and each user can only have one open quiz attempt at a time. All not-logged-in users share the same 'guest' user database record. Therefore, two guests could not attempt the quiz at the same time, and even if they could, it would be difficult to prevent one guest seeing another guest's attempts.
To explain: The quiz has to link all information about an attempt to a particular 'user' record in the database, and each user can only have one open quiz attempt at a time. All not-logged-in users share the same 'guest' user database record. Therefore, two guests could not attempt the quiz at the same time, and even if they could, it would be difficult to prevent one guest seeing another guest's attempts.


Of course, given enough work, it would be possible to change some of those assumptions, and so make it possible for guests to attempt quizzes. Indeed, some of the obstructions to implementing this have already been removed while doing other work on the quiz, but there is still some way to go.
Of course, given enough work, it would be possible to change some of those assumptions, and so make it possible for guests to attempt quizzes. Indeed, some of the obstructions to implementing this have already been removed while doing other work on the quiz, but there is still some way to go. If you would like to see this implemented, please vote for MDL-17892.


If you would like to see this implemented, please vote for MDL-17892.
A workaround is to create a visitor account, say with username = guest,  password = visitor, for everyone to share.


A workaround is to create a visitor account, say with username = password = visitor, for everyone to share.
===How can I prevent a student from reviewing or jumping around questions in a quiz?===
You can block the quiz navigation block and the summary of quiz page with CSS code in a theme.  However, if a student fails to answer a question, they will not know if you implement this "solution". Also if others on the site do not want this patch, make sure the theme you select for the course is not used by others.


==Can you explain the error The number of random questions required is more than are still available in the category!==
For example using the Afterburner theme, enter this in the CSS code area:


Review your quiz and verify Moodle has enough questions from each category of questions it will be pulling from. You may have inadvertently selected more questions than what exists in the category. Also make sure you're not pulling questions from a category that has zero questions. Because you are picking random questions, rather than a specific question, it may not be apparent at first that you have run out of questions to ask!
:div#mod_quiz_navblock {visibility:hidden;}
:table.quizsummaryofattempt {visibility:hidden;}


==How do I send a bulk message to all students who haven't completed a quiz?==
There are other CSS solutions.
*From your navigation block, click ''Reports>Course participation''
*From the drop down, choose your quiz.
*In ''Show only'', choose "Student" and in ''Actions'', choose "post"
*In the list that appears, tick/check the boxes next to those you wish to message.
*In the bottom dropdown ''With selected users'', choose "send message"
 
[[File:quizemail.png]]


==Can I download the quiz questions in a non-Moodle format?==
===How can I force my students to answer all the question in a quiz before they submit?===
You might want to keep a local copy of quiz questions as evidence. While Moodle doesn't offer a built-in method of doing this, suggestions include:
#previewing the quiz, getting to the review page and from your computer, choosing "Save as...webpage complete" and
#exporting the question as Moodle XML, or GIFT format. If you open either of those files in a text-editor, you should be able to see most details of each question. Not very pretty, but accurate.


==How can I turn off question flagging?==
There are various ways to answer this:
By default, flags are available in quiz questions.
# You can't.
# Your students are not stupid. They know they will get zero marks for any question they do not answer, so they already have a strong incentive to answer every question. Furthermore, at the end of the quiz there is the summary page where they can easily check that they have answered all the questions before they submit, so they won't accidentally miss questions.
# OK, so you want us to write code that won't let students submit before they have answered each question. Well, all that does is forces the student to put random junk like "asdf" into each question before they click the button, or randomly make a choice in each multiple choice question. There is no educational benefit in this. You get more meaningful information if students leave those questions blank rather than putting in random responses.


[[File:flag.png]]
==Grades==


There is a capablity attached to this: [[Capabilities/moodle/question:flag]]. Remove this capability from roles that you don't want to see the flags. You can either do that by editing the role definitions globally, or by overriding the permissions in just one quiz or course.
===Why is my quiz not displaying in the gradebook?===


==How do I create system-wide question categories?==
Go to the editing quiz page and check that you have a maximum grade that is more than 0 - if your score is 0, then the quiz will not appear in the gradebook.
* As an administrator or user with system permissions,  go to ''Question bank>categories'' in any course.
*Using the "Add category form" at the bottom of the page, set the parent of the new category to be the system context.


==How can I prevent a student from reviewing or jumping around questions in a quiz?==
===I've entered quiz grades manually in the gradebook. How can I allow students to improve on these grades?===
You can block the quiz navigation block and the summary of quiz page with CSS code in a theme.  However, if a student fails to answer a question, they will not know if you implement this "solution". Also if others on the site do not want this patch, make sure the theme you select for the course is not used by others.


For example using the Afterburner theme:  Site Administration >Appearance >Themes >Afterburner  and enter this in the CSS code area:
When a grade is entered directly in the gradebook, an "overridden" flag is set, meaning that the grade can no longer be changed from within the quiz.


:div#mod_quiz_navblock {visibility:hidden;}
However, the flag can be removed by turning editing on in the [[Grader report|grader report]], then clicking the edit grade icon, unchecking the overridden box and saving the changes.
:table.quizsummaryofattempt {visibility:hidden;}


There are other css solutions.
===How can I set a grade to pass?===


==How can I minimise the load on the server while using quizzes?==
See the section 'Setting a grade to pass for a quiz' in [[Activity completion settings]] for details.
*Try to avoid a lot of students starting a quiz at the same time
*Check these discussions:
**https://moodle.org/mod/forum/discuss.php?d=213259
**https://moodle.org/mod/forum/discuss.php?d=215641
**https://moodle.org/mod/forum/discuss.php?d=215130


For other notes on performance with quizzes, see the section 'Performance of different Moodle modules' in [[Performance recommendations]].
===How can I have a quiz that is not graded?===
==How can I make the quiz timer "float" or move down the page?==
See this forum thread: [https://moodle.org/mod/forum/discuss.php?d=210049 How to make the quiz timer float] for one suggestion.


==Why are images not included when exporting quiz questions?==
On the Edit quiz page, change the total score and each question's score to 0 instead of the defaults of 10 and 1 per question:
Images are only included if you export the questions using Moodle XML format. For all other question export formats (including GIFT), you will get broken images. Please see forum post [https://moodle.org/mod/forum/discuss.php?d=244615 Students not able to see images in exported quiz questions]
[[File:quizscore0.png]]


==Why does the quiz timer keep counting down when the student is not looking at the quiz?==
==Appearance==
It is not possible to stop the timer and start it again. Moodle cannot tell the difference between legitimate reasons for doing this (such as a fire alarm requiring evacuation of the test room) or a student simply using time going to another browser and googling the answers. Nor can Moodle tell if the connection has been lost, although the student does now get a warning MDL-42504


It might be preferable in certain circumstances, such as timed examinations using Quiz, to manually  announce the start/end time, rather then rely on the quiz timer.
===How can I turn off question flagging?===
By default, flags are available in quiz questions.


For further comments see:
[[File:flag.png]]
* https://moodle.org/mod/forum/discuss.php?d=96194
* https://moodle.org/mod/forum/discuss.php?d=177180
* https://moodle.org/mod/forum/discuss.php?d=237847


==How can a "Never submitted quiz" be submitted?==
There is a capability attached to this: [[Capabilities/moodle/question:flag]]. Remove this capability from roles that you don't want to see the flags. You can either do that by editing the role definitions globally, or by overriding the permissions in just one quiz or course.
Currently  there is no way to retrieve an attempt that was "Never Submitted", and get it back into the "In progress" state, but there is a tracker issue MDL-35745. Perhaps the best solution is to plan ahead and set your quiz to set your quiz to be submitted automatically.  Failing that, see also this [https://moodle.org/mod/forum/discuss.php?d=212819 forum thread] which suggests:
# Update the quiz : set the "close the quiz" date after today
# Set "When time expires" to "There is a grace period ..."
#Under Grade set "Attempts allowed" to "unlimited"
#Question behavior: Each attempt builds on the last "Yes"
# Invite the students who did not close their exams
# Allow them to start a new attempt, and close it immediately.


==How can I hide the number of marks available for each question?==
===How can I hide the number of marks available for each question?===


This is not really possible unless you are prepared to edit the code.
This is not really possible unless you are prepared to edit the code.
Line 198: Line 236:
Be warned that any of these approaches will affect every quiz in the Moodle site.
Be warned that any of these approaches will affect every quiz in the Moodle site.


==How can a teacher dry run a quiz before it is released?==
===How can I delay the quiz feedback after the quiz has passed===
* You have prepared a quiz exam for your students. It is currently in a hidden state.
* Suppose the students take a "Main" one-hour quiz from 2 April 14:00 to 2 April 15:00. They shall not have any feedback during and after the quiz until the following week.
* The exam opens on the day of the exam, at a time that the students know about.
* Students take a "Follow up" quiz a week later, starting 9 April 14:00. If they succeed the "Follow up" quiz, they can then review the "Main" quiz and get their points.
* However, to satisfy yourself that it is doable in the time allotted, You wish to do a dry run yourself before that date.
* How can You accomplish this?


===Method 1===
This can be done by editing the "Main" and "Follow up" quiz settings, and the Gradebook set up as follows:
You can use the Preview feature available to you as a teacher as you are making the quiz.
 
   
[[File:MoodleDocs201904041052.png|280px|thumb|right]]
===Method 2===
'''"Main" quiz settings'''   ''See also the image on the right'' ->
* Make a dummy account with a name like "Test Student".
 
* Enrol that user in the course as a student.
Timing
* Add a "User override" to the quiz, so "Test Student" can attempt the quiz before it is open to everyone else.
  Open the quiz:  2 April 14:00
* Log in as "Test student".
  Close the quiz: 9 April 14:00
* Attempt the quiz.
Review options
* Log back in as teacher.
  During the attempt
* Review the attempt.
    Uncheck feedbacks
* Go to Results -> Grades and delete the test attempt.
  Immediately after the attempt
* Un-enrol "Test Student" from your course.
    Uncheck feedbacks
  Later, while the quiz is still open
    Uncheck feedbacks
  After the quiz is closed
    Check feedbacks
Restrict access
  Student must match any of the following
    Date: until 2 April 15:00
    or
    Student must match all of the following (restriction set)
        Date: from 9 April 14:00
        and
        Grade: Follow up
          Check must be ≥ 1 %
 
'''"Follow up" quiz settings'''
 
Timing
  Open the quiz: 9 April 14:00
 
'''Gradebook set up'''
Main quiz: Weight 0.0, ID number "main"
Follow up quiz: Weight 0.0, ID number "followup"
Grade item "Total": Weight 100.0, Calculation = [​[main]​] + [​[followup]​]  ''(<- do not copy/paste this equation, rewrite it)''
 
===Is there a way to display submitted images instead of titles of Images on the review page for the quiz?===
Yes. See [https://moodle.org/mod/forum/discuss.php?d=392623#p1582739 this forum post].
 
==Errors==
 
===I obtain the error 'The number of random questions required is more than are still available in the category!'===
 
Review your quiz and verify Moodle has enough questions from each category of questions it will be pulling from. You may have inadvertently selected more questions than what exists in the category. Also make sure you're not pulling questions from a category that has zero questions. Because you are picking random questions, rather than a specific question, it may not be apparent at first that you have run out of questions to ask!


===Method 3===
==Quiz plugins==
* Set up a Moodle Playground course for your teachers.
* Add teachers with dual role (teacher and student).
* This provides them a place to test things out.
* Teachers can later copy the quiz/assignment/whatever over to their live class.


==How can I prevent a student doing a quiz for another student?==
There are a number of ways to extend quizzes, such as adding new reports and questions types. See [https://moodle.org/plugins/browse.php?list=category&id=28 Moodle plugins directory: Plugin type: Quiz].
For some ideas on preventing cheating, see the forum thread [https://moodle.org/mod/forum/discuss.php?d=271100#p1168345 User dependent locking and unlocking of quizzes]


==See also==
==See also==
* [[Quiz Time Limit]]
Using Moodle forum discussions:


*[http://moodle.org/mod/forum/discuss.php?d=96326 Removing "Submit all and Finish" button]
* [[Effective quiz practices]]
*[http://moodle.org/mod/forum/discuss.php?d=141003 How do you keep people from cheating while taking a quiz?]
* [[Questions FAQ]]
*[http://moodle.org/mod/forum/discuss.php?d=131325 Scientific notation in quiz answers]
*[http://moodle.org/mod/forum/discuss.php?d=158846 Quiz answers appear in wrong language]
*[http://moodle.org/mod/forum/discuss.php?d=196206 Random Order Override]


Related FAQs:
==Any further questions?==
* [[Import and export FAQ]] - for hints on importing questions
* [[XML FAQ]] - for information on creating and importing questions in Moodle XML format


==External links==
Please post in the [https://moodle.org/mod/forum/view.php?id=737 Quiz forum] on moodle.org.
* [http://www.alfiekohn.org/teaching/cheating.htm Who is Cheating Whom] article


[[Category:FAQ]]
[[Category:FAQ]]
Line 249: Line 303:
[[de:Test FAQ]]
[[de:Test FAQ]]
[[es:Examen FAQ]]
[[es:Examen FAQ]]
[[fr:FAQ sur les tests]]

Latest revision as of 13:32, 2 March 2020

General

How can I try a quiz before it is released?

You have prepared a quiz exam for your students. It is currently in a hidden state. The exam opens on the day of the exam, at a time that the students know about. However, to satisfy yourself that it is doable in the time allotted, You wish to do a dry run yourself before that date. How can You accomplish this?

Method 1: Use the Preview feature available to you as a teacher as you are making the quiz.

Method 2:

  1. Make a dummy account with a name like "Test Student".
  2. Enrol that user in the course as a student.
  3. Add a "User override" to the quiz, so "Test Student" can attempt the quiz before it is open to everyone else.
  4. Log in as "Test student".
  5. Attempt the quiz.
  6. Log back in as teacher.
  7. Review the attempt.
  8. Go to Results -> Grades and delete the test attempt.
  9. Un-enrol "Test Student" from your course.

Method 3: Set up a Moodle Playground course for your teachers. Add teachers with dual role (teacher and student). Teachers can later copy the quiz/assignment/whatever over to their live class.

How can I enable notification of quiz submissions?

See Quiz submission notification.

How do I send a bulk message to all students who haven't completed a quiz?

  • From your navigation block, click Reports>Course participation
  • From the drop down, choose your quiz.
  • In Show only, choose "Student" and in Actions, choose "post"
  • In the list that appears, tick/check the boxes next to those you wish to message.
  • In the bottom dropdown With selected users, choose "send message"

quizemail.png

How can build a quiz that picks X questions randomly from a larger question bank?

See the section on adding random questions in Building Quiz.

How can I print a copy of a quiz?

Use your browser printer option (for example by right-clicking and selecting Print) When a student prints their finished quiz, responses and feedback will also be printed.

Print preview of finished quiz - Click to enlarge

You can also export the question as Moodle XML, or GIFT format. If you open either of those files in a text-editor, you should be able to see most of the details of each question.

How can I print all the students' quiz questions and answers?

Install the quiz archive report additional plugin and print the webpage to PDF.

How can I optimize a Moodle server for performing more concurrent quizzes?

See Performance recommendations.

Can I release the answers to students who did not attempt a quiz?

Yes. One way to handle this with standard Moodle would be to open the quiz after the deadline and add a time limit to the quiz of one second. Unless students are extremely quick they will not be able to gain any points, but would see the general feedback.

How can I make Moodle quizzes if my school does not have enough computers / fast internet / a good Moodle server?

  • Check the Offline quiz activity additional plugin.
  • Read about the use of Chromebooks and iPads in the Safe exam browser Moodle documentation.
  • Visit the page for Transforming Exams - Transforming Exams is an Australian Government funded research project looking at approaches to conducting authentic digital assessment in the exam rooms of Australian universities via the use of Bring-your-own laptops. The project involves 10 Australian university partners and is lead out of Monash University. See TransformingExams.com for project information.

Can I print the quiz results without the answers history?

If you want to to print the results of all the student attempts, but ommit the answers history, as it might take much space, you can do so by accessing the settings on Site admin -> Appearance -> Additional HTML. In the 'Within head' setting, put something like:

<style type="text/css"> @media print {

   .que .history {
       display: none;
   }

} </style>

Is it possible for a teacher to add a personal/private note to a student's quiz submission?

Not really, but as a workaround, you can use the buit-in Notes feature.

Setup

Why am I no longer allowed to add or remove questions?

Most likely it is because you have students that have already attempted the quiz. You will need to delete all of the attempts by selecting them and choosing to delete them if you need to add/remove questions from a quiz.

If you are developing a new quiz where the attempts have just been trials then deleting the previous attempts will have no consequences in the grade book.

There are several ways of getting to the “attempts #” which you need to click on to delete the previous attempts. Use which ever works for you.

  1. Click on the quiz that you want to amend. It will take you to a page with “attempts #" at the top.
  2. If you are on a page with this message “You cannot add or remove questions because the quiz has been attempted (attempts #)” Click on "attempts #".
  3. If you have navigated away from the page with the message go to the Settings block > Quiz Administration > Edit Quiz.

Whichever way you find “attempts #” click on it and you will go to a page with a drop down menu at the top. Select “all users who have attempted the quiz”. There are several other click boxes select whatever applies to your situation. Click “Show Report” and then “select all”. Click “Delete selected attempts” and confirm selection.

Go back to Quiz Administration > Edit Quiz and you will now be able to add or delete questions.

How can I remove a problem question after the quiz has been taken?

You can not remove a question once a quiz has been taken by one student or more. However you can change the score and flag the question so you know it has problems.

Set the score for that question to 0.

  • Caution: In some versions of Moodle if you use this question in an other quiz, this will potentially change the question in that quiz as well. A trick is to score the question as 0, then regrade the just completed quiz. This will establish the new grade for gradebook. Now go back and change the score to the original value.

Find the question in Question Bank. Maybe edit the title (e.g. 'Do not use in Bio101'). Or if you do not share the question category with other teachers, create a sub category, move the offending question there, and perhaps create a better question to replace the one you just moved. Create a new quiz and if necessary hide the old one.

  • Caution: if other departments or teachers use a question category it might be wise to check with the team before moving or changing any question. This is one reason importing questions in a course is a good best practice in some situations.

How can I turn off glossary auto-linking in a quiz?

  • In the Quiz administration settings block there will be a link "filter".
  • Click the link and you will have the option to disable filters just for that particular quiz:

Can I make a second quiz start right away after a first quiz is finished?

By using a hack (See this forum thread).

In the 'Overall feedback' for the first quiz, add some code which redirects to the second quiz. Make a big button to make that obvious:

 <a href="https://--your domain--/mod/quiz/view.php?id=--quiz 2 no--" target="_blank">
   <button type="button" style="height:100px;font-size:24px;">Click here to access Quiz 2</button>
  </a>

It would look like this:

Click here to access Quiz 2.png

Notes:

  • The button will not appear in the gradebook.
  • In the quiz settings and under Review options, select 'Overall feedback' under 'Immediately after the attempt'. Deselect 'Overall feedback' under 'Later, while the quiz is still open' and 'After the quiz is closed'.

Attempts

How can I give particular students extra time or numbers of attempts?

  • In the Quiz administration there is a link "User overrides"
  • Click this link and you will be able to choose one or more users and change quiz dates, times or number of attempts.

quizuseroverride.png

Can I have different start times/timings/numbers of attempts for different groups?

  • In the Quiz administration settings block, there is a link "group overrides" that allows you to do things like grant extensions to certain groups of students.
  • Click this link and you will be able to select your groups and change the quiz dates, times and number of attempts:

quizgroupoverride.png

What happens if students submit answers after the quiz closing date?

It is possible for students to still submit answers after the quiz has closed (for example if they started the attempt before the closing date but then took a long time before submitting). These responses are stored by the quiz module, but the students are not given any credit for them. The teacher can see these answers when reviewing the student's attempts and can give the student credit for them by manually entering a grade in the gradebook. Also the teacher could change the closing date after the fact and regrade the attempts. The students' answers would then get graded.

How can a "Never submitted quiz" attempt be submitted?

Currently there is no way to retrieve an attempt that was "Never Submitted", and get it back into the "In progress" state. Perhaps the best solution is to plan ahead and set your quiz to set your quiz to be submitted automatically. Alternatively, you can

  1. Update the quiz : set the "close the quiz" date after today
  2. Set "When time expires" to "There is a grace period ..."
  3. Under Grade set "Attempts allowed" to "unlimited"
  4. Question behavior: Each attempt builds on the last "Yes"
  5. Invite the students who did not close their exams
  6. Allow them to start a new attempt, and close it immediately.

Why can't people (guests) attempt a quiz without creating an account and logging in?

This is difficult to implement for technical reasons.

To explain: The quiz has to link all information about an attempt to a particular 'user' record in the database, and each user can only have one open quiz attempt at a time. All not-logged-in users share the same 'guest' user database record. Therefore, two guests could not attempt the quiz at the same time, and even if they could, it would be difficult to prevent one guest seeing another guest's attempts.

Of course, given enough work, it would be possible to change some of those assumptions, and so make it possible for guests to attempt quizzes. Indeed, some of the obstructions to implementing this have already been removed while doing other work on the quiz, but there is still some way to go. If you would like to see this implemented, please vote for MDL-17892.

A workaround is to create a visitor account, say with username = guest, password = visitor, for everyone to share.

How can I prevent a student from reviewing or jumping around questions in a quiz?

You can block the quiz navigation block and the summary of quiz page with CSS code in a theme. However, if a student fails to answer a question, they will not know if you implement this "solution". Also if others on the site do not want this patch, make sure the theme you select for the course is not used by others.

For example using the Afterburner theme, enter this in the CSS code area:

div#mod_quiz_navblock {visibility:hidden;}
table.quizsummaryofattempt {visibility:hidden;}

There are other CSS solutions.

How can I force my students to answer all the question in a quiz before they submit?

There are various ways to answer this:

  1. You can't.
  2. Your students are not stupid. They know they will get zero marks for any question they do not answer, so they already have a strong incentive to answer every question. Furthermore, at the end of the quiz there is the summary page where they can easily check that they have answered all the questions before they submit, so they won't accidentally miss questions.
  3. OK, so you want us to write code that won't let students submit before they have answered each question. Well, all that does is forces the student to put random junk like "asdf" into each question before they click the button, or randomly make a choice in each multiple choice question. There is no educational benefit in this. You get more meaningful information if students leave those questions blank rather than putting in random responses.

Grades

Why is my quiz not displaying in the gradebook?

Go to the editing quiz page and check that you have a maximum grade that is more than 0 - if your score is 0, then the quiz will not appear in the gradebook.

I've entered quiz grades manually in the gradebook. How can I allow students to improve on these grades?

When a grade is entered directly in the gradebook, an "overridden" flag is set, meaning that the grade can no longer be changed from within the quiz.

However, the flag can be removed by turning editing on in the grader report, then clicking the edit grade icon, unchecking the overridden box and saving the changes.

How can I set a grade to pass?

See the section 'Setting a grade to pass for a quiz' in Activity completion settings for details.

How can I have a quiz that is not graded?

On the Edit quiz page, change the total score and each question's score to 0 instead of the defaults of 10 and 1 per question: quizscore0.png

Appearance

How can I turn off question flagging?

By default, flags are available in quiz questions.

flag.png

There is a capability attached to this: Capabilities/moodle/question:flag. Remove this capability from roles that you don't want to see the flags. You can either do that by editing the role definitions globally, or by overriding the permissions in just one quiz or course.

How can I hide the number of marks available for each question?

This is not really possible unless you are prepared to edit the code.

If you have a custom theme, you can add CSS like this: .que .info .grade { display: none; } or you could try to make it more specific, and only hide the grade before the question is answered: .que.answersaved .info .grade, .que.invalidanswer .info .grade, .que.notyetanswered .info .grade { display: none; } You can also add this CSS using the Additional HTML admin setting.

Alternatively, you can alter the PHP code here: https://github.com/moodle/moodle/blob/4de51c25ae227a727dcba7c39f6f644a5d47ce7a/mod/quiz/locallib.php#L1820. Change that line to give the behaviour you want, e.g. $options->marks = self::extract($quiz->reviewmarks, $when,

               self::MARK_AND_MAX, self::HIDDEN);

Be warned that any of these approaches will affect every quiz in the Moodle site.

How can I delay the quiz feedback after the quiz has passed

  • Suppose the students take a "Main" one-hour quiz from 2 April 14:00 to 2 April 15:00. They shall not have any feedback during and after the quiz until the following week.
  • Students take a "Follow up" quiz a week later, starting 9 April 14:00. If they succeed the "Follow up" quiz, they can then review the "Main" quiz and get their points.

This can be done by editing the "Main" and "Follow up" quiz settings, and the Gradebook set up as follows:

MoodleDocs201904041052.png

"Main" quiz settings   See also the image on the right ->

Timing

 Open the quiz:   2 April 14:00
 Close the quiz:  9 April 14:00

Review options

 During the attempt
    Uncheck feedbacks
 Immediately after the attempt
    Uncheck feedbacks
 Later, while the quiz is still open
    Uncheck feedbacks
 After the quiz is closed
    Check feedbacks

Restrict access

 Student must match any of the following
    Date: until 2 April 15:00
    or
    Student must match all of the following (restriction set)
       Date: from 9 April 14:00
       and
       Grade: Follow up
         Check must be ≥ 1 %

"Follow up" quiz settings

Timing

 Open the quiz: 9 April 14:00

Gradebook set up

Main quiz: Weight 0.0, ID number "main"
Follow up quiz: Weight 0.0, ID number "followup"
Grade item "Total": Weight 100.0, Calculation = [​[main]​] + [​[followup]​]  (<- do not copy/paste this equation, rewrite it)

Is there a way to display submitted images instead of titles of Images on the review page for the quiz?

Yes. See this forum post.

Errors

I obtain the error 'The number of random questions required is more than are still available in the category!'

Review your quiz and verify Moodle has enough questions from each category of questions it will be pulling from. You may have inadvertently selected more questions than what exists in the category. Also make sure you're not pulling questions from a category that has zero questions. Because you are picking random questions, rather than a specific question, it may not be apparent at first that you have run out of questions to ask!

Quiz plugins

There are a number of ways to extend quizzes, such as adding new reports and questions types. See Moodle plugins directory: Plugin type: Quiz.

See also

Any further questions?

Please post in the Quiz forum on moodle.org.