- 11 Sep 2024
- 1 minute to read
Embedded answer (Cloze) quiz question
- Updated on 11 Sep 2024
- 1 minute to read
Embedded Cloze questions are used to combine different question types into one question (such as multiple choice, missing words, short answer, numerical etc).
Questions are added using specific code or question text formats. The Totara Academy has a useful resource providing a list of the text formats for each question type.
Here is an example of a multiple choice question using the Cloze question type:
If the correct answer within an embedded question contains the symbols } # ~ / " or \ you will have to remove or escape them from the Cloze code by entering a \ in front of each character.
The { shouldn't be escaped as this can be vital in getting TeX expressions to work.
In the feedback ~ and } must be escaped otherwise they will be interpreted as the next answer or end of the short answer section respectively.
Quotation signs should be avoided. Instead use the HTML entity: & quot; (without the space between & and quot;).
When using mathematical symbols the \ used in TeX expressions can be problematic. Unicode characters can be used to avoid any issues.
- Export questions in GIFT or Totara XML formats to import them into a lesson activity.
- Copy and paste text from a PDF or text file into the question content area. This strips out additional formatting and any hidden code which other editing programs can insert.
There are two courses in the Totara Academy about using quizzes in Totara Learn, Getting started with quizzes and Advanced quiz Using these courses you can learn more on how to use these features, see best practice, and give it a go yourself.
© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.