Embedded answer (Cloze) quiz question
    • 01 Nov 2022
    • 1 minute to read

    Embedded answer (Cloze) quiz question


    Article Summary

    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:

    Example multiple choice question in the Cloze format.

    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.

    C025 - Quiz(1)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. 


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.