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

Quiz FAQ: Difference between revisions

From MoodleDocs
(copied from 3.0 page)
 
(83 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Quizzes}}==What happens if students submit answers after the quiz closing date?==
{{Quiz}}


==How can I randomly generate a quiz from a larger question bank?==
See the section on adding random questions in [[Building Quiz]].
==How can I force my students to answer all the question in a quiz before they submit?==
There are various ways to answer this:
# 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.
==Can I have different start times/timings/numbers of attempts for different groups?==
*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:
[[File: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 hand. Also the teacher could change the closing date after the fact and regrade the attempts. The students answers would then get graded.
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.
==Is there a nice way to print a copy of a quiz?==
Not at the moment.
* [https://docs.moodle.org/dev/Moodle_2.9_release_notes Moodle 2.9] will have a printer-friendly layout option for quiz (See MDL-348)
* See this tracker request: [https://tracker.moodle.org/browse/MDL-348 Printer-friendly (more compact) layout option for quiz]
* The [http://www.academic-moodle-cooperation.org Academic Moodle Cooperation] of the University of Vienna and the Vienna University of Technology have contributed the [[mod/offlinequiz/mod| Offline quiz activity]] for Moodle 2.6, available from the [https://moodle.org/plugins/view.php?plugin=mod_offlinequiz Moodle plugins database] (Moodle 2.2 and 2.5 versions are available via Github, and a 2.8 version will probably appear soon). This MC Offline quiz module (mod/offlinequiz) adds paper-and-pencil multiple-choice quizzes to Moodle. In offline quizzes students mark answers to questions on a sheet of paper (the answer form). 
* See [https://github.com/bumoodle/moodle-quiz_papercopy https://github.com/bumoodle/moodle-quiz_papercopy] - Paper Copy quiz report for Moodle - allows an instructor to create and grade printable copies of Moodle Quizzes
* Eoin Campbell has a plugin that may be usefull here: https://moodle.org/plugins/view.php?plugin=qformat_htmltable
* See this [https://moodle.org/plugins/view.php?plugin=qformat_wordtable Word table format plugin] for exporting questions (including images) in a question bank into a Word file
* Also this discussion, where there is an unlikely hack: https://moodle.org/mod/forum/discuss.php?d=222565
* Some CSS suggestions here: https://moodle.org/mod/forum/discuss.php?d=205969#p899667
* Also note the comments  [https://docs.moodle.org/en/Effective_quiz_practices#Printing_and_sharing_questions here], [https://moodle.org/mod/forum/discuss.php?d=219532 here], [https://moodle.org/mod/forum/discuss.php?d=181486 here], [https://moodle.org/mod/forum/discuss.php?d=90791 here] and [https://moodle.org/mod/forum/discuss.php?d=222565 here]


==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.
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.


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. In the quiz overview report, you can delete their attempt using the "with selected attempts" drop-down.
If this is not the case think carefully about how to handle the graded attempts.


==Why can't I set a longer quiz time limit?==
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.
The maximum quiz time limit seems to be 10 minutes less than the session timeout set for Moodle.  
#Click on the quiz that you want to amend. It will take you to a page with “attempts #" at the top.
(In 1.6 quiz time limit will not be limited by session timeout).
#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 #".
If you want longer quiz time limits in 1.5, you would need to log in as administrator, and click "Configuration" under the administration section on the main page, then click "Variables", and find "Session Timeout", and set it to something longer.
#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.


Session timeout is the length of time the site will allow a user to be inactive (not loading pages) before they are automatically logged out (and presumably lose some session data if they were still working - albeit slowly).  There isn't really any serious problem setting this to 2 or even 3 hours - as long as the student isn't silly enough to leave a shared computer with their login active on the server.
Go back to  Quiz Administration > Edit Quiz and you will now be able to add or delete questions.
Long story short - logout when done.


==How can I turn off glossary auto-linking in a quiz? ==
==How can I turn off glossary auto-linking in a quiz? ==
 
*In the Quiz administration settings block there will be a link "filter".
*There is an html code <span class="nolink"> ... question text goes here ... </span> which can prevent links, including glossary from being shown. You can add this easily when using the HTML editor by selecting the words that you don't want turned into a link, and then clicking the toolbar button that looks like a link with a red X on top.
*Click the link and you will have the option to disable filters just for that particular quiz:
*Under site administration, filters, there is a switch which can hide glossary. Turning this off when a quiz is open is one option.  There are several hacks which may turn off glossary during a quiz.
 
*For those who want to be brave and turn off glossary for all quizzes on the site or in other areas, this [http://moodle.org/mod/forum/discuss.php?d=13652#66312 forum thread] should be useful. Paul Evans on 11 October 2004, 06:41 PM suggested this hack be added to the moodle/mod/glossary/filter.php file. Insert in the line right after 'global $CFG' the following lines.
[[File:quizfilter.png]]
        // suggested by Paul Evans 11 October 2004 in the Glossary Module forum
        // Nolink for quizzes (or any other word in the path you like)
        // $_SERVER['REQUEST_URI'] looks like e.g. : /mysite/mod/quiz/view.php?id=21
        if (strpos($_SERVER['REQUEST_URI'], "/quiz/")) {
            return $text;
        }
This works in 1.6 and turns off glossary for all quizzes on the site. New users please note that the filter.php file can be opened by a simple text editor. Do a copy on everything in the shaded box above and paste it right after the line which has global$CFG  which is near the top of the file.


==How can I remove a problem question after the quiz has been taken?==
==How can I remove a problem question after the quiz has been taken?==
Line 40: Line 67:
==Can I have a quiz that is not graded?==
==Can I have a quiz that is not graded?==


This is not a common requirement, so it may not work perfectly, but you can get close:
Yes:


# On the quiz editing page, set the score for each question, and the total score for the quiz to 0.
# On the quiz editing page, set the score for each question, and the total score for the quiz to 0.
# On the quiz settings page, there is a grid of check-boxes. Turn off all the ones in the score column.
# 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?==
*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.


Remember you can tell gradebook not to include the quiz.
Remember you can tell gradebook not to include the quiz.


==How do I allow a person to retake a quiz if I have it set for 1 attempt?==
==How do I allow a person to retake a quiz if I have it set for 1 attempt?==
 
*In the Quiz administration settings block, there is a link "user overrides".
In the [[Quiz reports|quiz overview report]], you can delete their attempt using the "with selected attempts" drop-down.
*Click this link and you can change the allowed number of attempts for that user.
[[File:quizuseroverride.png]]


==How can I give particular students extra time in a timed quiz?==
==How can I give particular students extra time in a timed quiz?==
*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


You can give particular students unlimited time to attempt a quiz which has a time limit set by assigning them the role of [[Quiz user with unlimited time role|Quiz user with unlimited time]].
[[File:quizuseroverride.png]]


==I've entered quiz grades manually in the 1.9 gradebook. How can I allow students to improve on these grades?==
==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.
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|grader report]], then clicking the [[Grade editing|edit grade]] icon, unchecking the overridden box and saving the changes.
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.
 
==How can I enable notification of quiz submissions?==
 
See [[Quiz submission notification]].
 
==Why can't people (guests) take 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.
 
=== Workarounds for allowing guests to see a quiz===
* A workaround is to create a visitor account, say with username = password = visitor, for everyone to share.
* Another workaround explained in [https://moodle.org/mod/forum/discuss.php?d=174670 this post] is to override the guest role permissons at the quiz or course level:
** Allow guests to Preview quizzes.
** They will still see an error message when they click on the quiz, but they can click the 'Preview' tab to view it.
 
==Can you explain 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!
 
==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]]
 
==Can I download the quiz questions in a non-Moodle format?==
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?==
By default, flags are available in quiz questions.
 
[[File:flag.png]]
 
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.
 
==How do I create system-wide question categories?==
* 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?==
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:
 
:div#mod_quiz_navblock {visibility:hidden;}
:table.quizsummaryofattempt {visibility:hidden;}
 
There are other css solutions.


==How can I enable email notification of quiz submissions?==
==How can I minimise the load on the server while using quizzes?==
*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


See [[Quiz submission email notification]].
For other notes on performance with quizzes, see the section 'Performance of different Moodle modules' in [[Performance recommendations]].
==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 doesn't Questions per page work like I expect?==
==Why are images not included when exporting quiz questions?==
[[Image:Showpagebreaks.jpg|thumb|Show page breaks]]
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]
Moodle gives you a lot of flexibility in relation to how your quiz is laid out. You can move questions around and control exactly where the page breaks come. However, this is not really clear unless you turn on the 'Show page breaks' check-box at the bottom-left of the quiz editing page.


Therefore, when you change the 'Questions per page' setting one the quiz settings form, Moodle does not immediately repaginate your quiz. If it did, then it might overwrite your manual changes to the quiz layout.
==Why does the quiz timer keep counting down when the student is not looking at the quiz?==
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


To actually change the current layout of the quiz, you need to first turn on the 'Show page breaks' option, and then use the repaginate control.
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.


The effect that 'Questions per page' does have is that when you add new questions to the quiz, it automatically inserts page breaks to keep the new questions paginated as you ask. Also, when the 'Shuffle questions' option is on, the questions are split into pages according to the Questions per page option after they have been shuffled.
For further comments see:
* 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


We are aware that this is a very confusing user interface (and that is putting it politely!) This is being sorted out for Moodle 2.0.
==How can a "Never submitted quiz" be submitted?==
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.


==Why can't people (guests) take a quiz without creating an account and logging in?==
==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:
<code css>
.que .info .grade { display: none; }
</code>
or you could try to make it more specific, and only hide the grade before the question is answered:
<code css>
.que.answersaved .info .grade,
.que.invalidanswer .info .grade,
.que.notyetanswered .info .grade { display: none; }
</code>
You can also add this CSS using the [[Header_and_footer|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.
<code php>
$options->marks = self::extract($quiz->reviewmarks, $when,
                self::MARK_AND_MAX, self::HIDDEN);
</code>
 
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?==
* 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===
You can 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).
* 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?==
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].
 
==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 students upload images to an Essay question?==
When creating the question,  in the section ''Response format'', choose "HTML editor + uploaded files."


This is difficult to implement for technical reason.
==I would like to know if there is such a thing like "quiz as  video overlay" in moodle some where?==
If you use [http://discover.techsmith.com/try-camtasia/?gclid=CJGjxND588UCFZAAaQodcRcA8w Camtasia], you can insert questions into the video itself, then export it as a [[SCORM module|SCORM]] package and bring it into Moodle.  The quiz questions will automatically be added to the gradebook.  See [https://moodle.org/mod/forum/discuss.php?d=314580#unread this forum post].


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.
==Is there a way to make a face-to-face quiz with all students answering the questions at the same time?==
* See this [https://moodle.org/plugins/view/mod_activequiz Active quiz optional plugin], which is an enhanced plugin, based on the original [https://moodle.org/plugins/view/mod_realtimequiz Realtime quiz optional plugin].


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.
==Is there a way to prevent students who passed a quiz from reattempting it?==
Use the [https://moodle.org/plugins/view/quizaccess_reattemptchecker Reattempt checker] quiz access rule plugin.
==Is there a way to have an essay question with instant feedback?==
Not as far as we know, but there is some good advice on how to code this from Tim here: https://moodle.org/mod/forum/discuss.php?d=227993


If you would like to see this implemented, please vote for MDL-17892.
==How can I make a neater more beautiful quiz?==
You can move the question information that is usually on a left block to a horizontal position above the question text and thus have a wider area for your question as the following screen:


==Can you explain the error The number of random questions required is more than are still available in the category!==
[[File:Quiz_nicer_layout.png|600px]]


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 your 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!
The CSS changes used were:
.que .info {
float: none;
width: auto;
}
.que .info > div {
margin-left: 15px;
margin-right: 15px;
}
.que .info > div {
display: inline;
}
.que .content {
margin: 0 0 0 0;
width: auto;
}
.que .info {
    background-color: #eee;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    margin-bottom: -5px;
    padding: 8px;
    }
.que h3.no {
    display: inline;
    font-size: 12px;
    line-height: 1;
    margin-left: 10px;
}


==How do I send a bulk email to all students who haven't completed a quiz?==
* To make it look like one block you should change:
[http://moodle.org/mod/forum/discuss.php?d=130266#p570229 Bulk email to all students who haven't completed a quiz?]
- border: 1px solid #bce8f1;
- margin-bottom: -5px;


==How do random questions work?==
* See the [https://moodle.org/mod/forum/discuss.php?d=319464 How can I make quizzes neater and more beautiful?] forum thread
* See the [https://moodle.org/mod/forum/discuss.php?d=237589 How to extend the width of the quiz question area?] and  [https://moodle.org/mod/forum/discuss.php?d=276651 using Essential theme how to move info div in quiz attempt section to the top of question] forum threads


See the section on adding random questions in [[Editing a quiz]].


==See also==
==See also==
*[https://moodle.org/plugins/mod_hotquestion hot question] additional plugin to help teachers to collect questions from students in or out of classroom


Using Moodle forum discussions:
*Using Moodle forum discussions:
**[http://moodle.org/mod/forum/discuss.php?d=96326 Removing "Submit all and Finish" button]
**[http://moodle.org/mod/forum/discuss.php?d=141003 How do you keep people from cheating while taking a quiz?]
**[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]


*[http://moodle.org/mod/forum/discuss.php?d=96326 Removing "Submit all and Finish" button]
* Related FAQs:
*[http://moodle.org/mod/forum/discuss.php?d=105016 Special Needs student needs extra quiz time]
** [[Import and export FAQ]] - for hints on importing questions
*[http://moodle.org/mod/forum/discuss.php?d=141003 How do you keep people from cheating while taking a quiz?]
** [[XML FAQ]] - for information on creating and importing questions in Moodle XML format


Related FAQs:
==External links==
* [[Import and export FAQ]] - for hints on importing questions
* [http://www.alfiekohn.org/teaching/cheating.htm Who is Cheating Whom] article
* [[XML FAQ]] - for information on creating and importing questions in Moodle XML format


[[Category:FAQ]]
[[Category:FAQ]]
[[de:Test FAQ]]
[[de:Test FAQ]]
[[es:Examen FAQ]]

Latest revision as of 18:14, 25 March 2016


How can I randomly generate a quiz from a larger question bank?

See the section on adding random questions in Building Quiz.

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.

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

  • 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:

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 hand. Also the teacher could change the closing date after the fact and regrade the attempts. The students answers would then get graded.

Is there a nice way to print a copy of a quiz?

Not at the moment.


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 consequeces 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.

  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 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:

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.

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 (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.

Can I have a quiz that is not graded?

Yes:

  1. On the quiz editing page, set the score for each question, and the total score for the quiz to 0.
  2. 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?

  • 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.

Remember you can tell gradebook not to include the quiz.

How do I allow a person to retake a quiz if I have it set for 1 attempt?

  • 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.

quizuseroverride.png

How can I give particular students extra time in a timed quiz?

  • 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

quizuseroverride.png

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 enable notification of quiz submissions?

See Quiz submission notification.

Why can't people (guests) take 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.

Workarounds for allowing guests to see a quiz

  • A workaround is to create a visitor account, say with username = password = visitor, for everyone to share.
  • Another workaround explained in this post is to override the guest role permissons at the quiz or course level:
    • Allow guests to Preview quizzes.
    • They will still see an error message when they click on the quiz, but they can click the 'Preview' tab to view it.

Can you explain 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!

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

Can I download the quiz questions in a non-Moodle format?

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:

  1. previewing the quiz, getting to the review page and from your computer, choosing "Save as...webpage complete" and
  2. 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?

By default, flags are available in quiz questions.

flag.png

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.

How do I create system-wide question categories?

  • 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?

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:

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

There are other css solutions.

How can I minimise the load on the server while using quizzes?

For other notes on performance with quizzes, see the section 'Performance of different Moodle modules' in Performance recommendations.

How can I make the quiz timer "float" or move down the page?

See this forum thread: How to make the quiz timer float for one suggestion.

Why are images not included when exporting quiz questions?

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 Students not able to see images in exported quiz questions

Why does the quiz timer keep counting down when the student is not looking at the quiz?

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.

For further comments see:

How can a "Never submitted quiz" be submitted?

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 forum thread which suggests:

  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.

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 a teacher dry run 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

You can 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).
  • 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?

For some ideas on preventing cheating, see the forum thread User dependent locking and unlocking of quizzes.

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 students upload images to an Essay question?

When creating the question, in the section Response format, choose "HTML editor + uploaded files."

I would like to know if there is such a thing like "quiz as video overlay" in moodle some where?

If you use Camtasia, you can insert questions into the video itself, then export it as a SCORM package and bring it into Moodle. The quiz questions will automatically be added to the gradebook. See this forum post.

Is there a way to make a face-to-face quiz with all students answering the questions at the same time?

Is there a way to prevent students who passed a quiz from reattempting it?

Use the Reattempt checker quiz access rule plugin.

Is there a way to have an essay question with instant feedback?

Not as far as we know, but there is some good advice on how to code this from Tim here: https://moodle.org/mod/forum/discuss.php?d=227993

How can I make a neater more beautiful quiz?

You can move the question information that is usually on a left block to a horizontal position above the question text and thus have a wider area for your question as the following screen:

Quiz nicer layout.png

The CSS changes used were:

.que .info {
float: none;
width: auto;
}
.que .info > div {
margin-left: 15px;
margin-right: 15px;
}
.que .info > div {
display: inline;
}
.que .content {
margin: 0 0 0 0;
width: auto;
}
.que .info {
   background-color: #eee;
   border: 1px solid #bce8f1;
   border-radius: 4px;
   margin-bottom: -5px;
   padding: 8px;
   }
.que h3.no {
   display: inline;
   font-size: 12px;
   line-height: 1;
   margin-left: 10px;
}
  • To make it look like one block you should change:
- border: 1px solid #bce8f1;
- margin-bottom: -5px;


See also

  • hot question additional plugin to help teachers to collect questions from students in or out of classroom
  • Related FAQs:

External links