same order. Note that shuffled ANSWERS may still appear reshuffled.
When viewing reports, all shuffling is switched off so that quizzes
always appear in the default order (for easier comparison).
Also a few tweaks, robustness etc
When you add a random question to a quiz, then a question
is chosen randomly from the same category.
Questions are not repeated in a particular quiz attempt.
This still needs more testing, but it's looking OK so far.
of questions. These use 2 or more short answer questions at
random to construct a questions where you have to match
answers to questions. Only lightly tested so far.
Quiz questions can now be edited with Richtext editor.
Sundry little fixes along the way.
Should be fixed now. As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.
All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).
Much nicer.
record upon showing the quiz, and completing it upon submit.
Two new fields in quiz_attempts... should be upgrade friendly.
(Old attempts will show up as being of duration zero)
Also some small fixes here and there.
If you have existing quizzes, delete them all, then
drop all the quiz tables and delete the quiz line from
the modules table.
Things to do still:
- add/edit/remove categories
- display question feedback on submissions ...
- record the time they started the quiz, as well as the completion.
- place time limits between attempts
- add full specification of quiz open time and quiz close time
At this stage this module:
- prints quizzes,
- accepts answers (for multiple attempts) and grades them,
- stores the grades.
Really, it's usable as long as you don't mind using the database manually. :)
Next up is quiz reports, then I'll tackle quiz creation.
but can't mark them yet. I've been constructing quizzes manually in the
database and it's helping to refine the database structure. Don't count
on anything stable in the quiz module for a few days yet ...