User:JimTittsler/Quiz wiki

From WikiEducator
Jump to: navigation, search

These quizes use a wiki-friendly quiz format inspired by the GIFT format popularized by Moodle. The page author has the option to choose whether or not to have a submit button (and the text that should appear on the button). The author can also supply a semicolon-separated list of options that control quiz behavior:

mix
If present, shuffle the responses in multiple choice and multi-choice questions.
multi
If present in the option string, causes all multiple choice questions to be rendered the same as multi-choice questions (meaning using checkboxes instead of radio-buttons), disguising the fact that there is only one correct answer.
cloze=unattempted
Normal cloze/short-answer behavior is to only show feedback if the learner has supplied some non-blank entry in every box in a question. This over-rides that, and provides the feedback in any case.
feedback=correct
The default behavior is to only show feedback for options in multiple choice, multi-choice, and true/false questions that the learner has selected. Setting this option will additionally show feedback for all correct answers.
feedback=all
Show feedback for all responses.

This widget data structure could be wrapped in a template that wrapped the list of questions in the required DIV and added the submit and options markup. The current state of the Mediawiki VisualEditor would make that harder to edit.

The current format is a div of class quizWiki containing a list of questions. Each question can either be in wikiGIFT format (a wiki-friendly variant of GIFT) or a template that signals the inclusion of one or more questions from a GIFT question bank stored in a wiki page.

{{#widget:Quiz wiki}}
<div class="quizWiki">
# Multiple Choice with escaped characters \{mustache\} {=Yes #right ~No #wrong}
# Multi-choice {=Yes #right =Yes again #right ~No #wrong}
# This is a true statement. {=True ~False # Read it again. It says it's true.}
# Next there will be two random questions from a question bank.
# {{Question bank|page=User:JimTittsler/Quiz wiki/Question bank|random=2}}
# Next will be '''Q1.5''', '''Q1.6''', and then '''Q1''' from a question bank.
# {{Question bank|page=User:JimTittsler/Quiz wiki/Question bank|titles=Q1.5;Q1.6;Q1}}
# Short answer {=Te Anau #The correct answer is ''always'' '''Te Anau'''.}
# Fill {=in #Fill '''in''' the '''blank'''} the {=blank}
{{Quiz wiki options|submit=Check answers|options=mix}}
</div>

Quiz without submit

Questions in this quiz will be "instantly" graded on click. Short-answer/cloze questions are graded after you have put some non-blank answer in every box in the question, and have moved the browser focus away from the boxes in the question.

  1. Multiple Choice with escaped characters \{mustache\} {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Next there will be two random questions from a question bank.
  5. User:JimTittsler/Quiz wiki/Question bank
  6. Next will be Q1.5, Q1.6, and then Q1 from a question bank.
  7. User:JimTittsler/Quiz wiki/Question bankQ1.5;Q1.6;Q1
  8. Short answer {=Te Anau #The correct answer is always Te Anau.}
  9. Fill {=in #Fill in the blank} the {=blank}

Quiz without submit options=mix

Questions in this quiz will be "instantly" graded on click. Short-answer/cloze questions are graded after you have put some non-blank answer in every box in the question, and have moved the browser focus away from the boxes in the question. The mix option causes the responses for multiple choice and multi choice questions to be shown in a random order.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

mix

Quiz with submit=Check

Questions here are only graded after you click the Check button.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

Check

Quiz with submit=Check options=mix

Questions here are only graded after you click the Check button.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

Checkmix

Quiz with submit=Check options=multi

The multiple choice questions look the same as multi-choice questions, even though there is only a single correct answer.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

Checkmulti

Quiz with submit=Check options=multi;cloze=unattempted

Grade the cloze questions even if the boxes haven't been filled in.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

Checkmulti;cloze=unattempted

Quiz with submit=Check options=multi;feedback=correct

In addition to the answers selected by the user, expose feedback for all correct answers.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

Checkmulti;feedback=correct

Quiz with submit=How'd I do? options=multi;feedback=all

Expose feedback for all responses.

  1. Multiple Choice {=Yes #right ~No #wrong}
  2. Multi-choice {=Yes #right =Yes again #right ~No #wrong}
  3. This is a true statement. {=True ~False # Read it again. It says it's true.}
  4. Short answer {=Te Anau #The correct answer is always Te Anau.}
  5. Fill {=in #Fill in the blank} the {=blank}

How'd I do?multi;feedback=all