Search Google Appliance

Information Technology

Embedded Answers (Cloze) Questions

Embedded answers (Cloze) questions consist of a passage of text (in Moodle format) that can have various answers embedded within it, including multiple choice, short answers and numerical answers. This format utilizes specific key words and characters which Moodle then translates into the appropriate question.

Example of an embedded answer [cloze] question with a short answer response:

Example embedded answer question

Note: For multi-choice answers, a new Moodle question type, Select Missing Words, is easier to set up and lets you include more than one drop-down in a question. See Select Missing Words Questions in Moodle.

Question Set-Up

  1. In the Question Bank, select the desired question category, then click Create a new question... and choose Embedded answer. The Adding a question screen will open.

  2. Give the question a descriptive name - this makes it easy to identify it in the question bank. The question name is not visible to students.

  3. Enter the passage of text into the Question text field and format all questions. For instructions and examples see Format Question Text below.

  4. Set the Default mark (question grade) by entering a numerical value (i.e. the maximum number of marks for this question).

  5. The question editor will test whether the question is formatted correctly and provide an error message when the Save changes button is clicked.

  6. Click Save changes to add the question to the category.

Format Question Text

Questions consist of a passage of text (in Moodle format) that has various sub-questions embedded within it. To use a specific question type, use one of the following keywords:

  • Short answers (SHORTANSWER or SA or MW), case is unimportant
  • Short answers (SHORTANSWER_C or SAC or MWC), case must match
  • Numerical answers (NUMERICAL or NM)
  • Multiple choice (MULTICHOICE or MC), represented as a dropdown menu in-line in the text
  • Multiple choice (MULTICHOICE_V or MCV), represented a vertical column of radio buttons
  • Multiple choice (MULTICHOICE_H or MCH), represented as a horizontal row of radio-buttons

Note: For multi-choice answers, a new Moodle question type, Select Missing Words, is easier to set up and lets you include more than one drop-down in a question. See Select Missing Words Questions in Moodle.

The structure of each cloze sub-question is identical and the sub-question is included in-line within the question text. To write a sub-question:

 

  1. Type { to start the cloze sub-question with a bracket.
  2. Type 1 define a grade for each cloze by a number (optional). This used for calculation of the overall question grade.
  3. Type :SHORTANSWER: define the type of cloze sub-question. Definition is bounded by ':'.
  4. Use ~ as a separator between answer options (For multiple choice questions).
  5. Type = to mark a correct answer.
  6. (Optional) Type # to mark the beginning of a feedback message
  7. } close the cloze sub-question

 

Question Text Examples:

Short Answer Question:

"Bigfoot, also known as {1:SHORTANSWER:=Sasquatch}, is the name of a phenomenon which has polarized people around the world, being either the product of vivid imagination or a creature that has somehow avoided close observation or capture by man."

As seen in a quiz:

short answer question

Multi-choice Question:

"Bigfoot, also known as {1:MULTICHOICE:=Sasquatch#Correct ~Nessie#Wrong ~Bill#Wrong }, is the name of a phenomenon which has polarized people around the world, being either the product of vivid imagination or a creature that has somehow avoided close observation or capture by man."

As seen in a quiz:

multichoice