Documentation / WirisQuizzes

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Home
                    • Wiris Quizzes
                    • Getting Started
                    • WirisQuizzes Question Types
                    • WirisQuizzes Question Types

                    Cloze

                    Reading time: 1min

                    Embedded answers, or Cloze, allow inserting different question types in one question. For example:

                    In this example, there is a short answer and a multiple-choice questions. Detailed information on Cloze questions can be found at Moodle docs as the WirisQuizzes type follow the same exact format, with the following features:

                    • There is no "Numerical" subtype because none is needed.
                    • Variables can be used, but the pound symbol "#" has to be escaped with a backslash (e.g. "\#a" instead of the usual "#a").

                    The previous question, for example, could be made with the following text:

                    and in the Define random variables and functions section:

                    Students can still write formulas in their answer with the editor popup by clicking on the square root symbol in the answer blankin embedded short answer types. To enable this, select "Math editor in a popup" in the Input options section:

                    Furthermore, we can notice that the question algorithm assures that the polynomial will have no roots, so the question is not entirely random. If we want to consider the three options, we must change the answer format to add the new variables.

                    Thus, the variable preceded by the sign = will be taken as the correct one and the others, those preceded by the sign ~, as the wrong ones. The question's algorithm should be something similar, as defined with CalcMe below.

                    Shuffled answers

                    By default, multichoice questions in WirisQuizzes Cloze question type are not shuffled. Instead, there are shuffled multichoice types to accomplish this. These are:

                      Unshuffled Shuffled
                    Drop-down MC MCS
                    Horizontal MCH MCHS
                    Vertical MCV MCVS

                    For example, if we replace the "MC" above with "MCHS", the question will look like this:

                    And the multiple choice will be in random order each time.

                    Remarks

                    • Variables can be used in the answer in feedback fields (and only these).
                    • In the short answer type ("SA") each answer must be a variable or text, it cannot be a combination of both.
                    • If a variable is written as a formula, it will be converted to text inside a multichoice option (i.e. 2^(1/2) instead of 2).
                    • Settings in the Validation options section are common for all questions.

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • WirisQuizzes Question Types
                    • Essay
                    • Short answer
                    • Multiple choice
                    • Matching

                    Cloze

                    Shuffled answers Remarks

                    Making people’s STEM work more meaningful

                    MathType

                    • MathType for Office Tools
                    • MathType for Mac
                    • MathType for Microsoft 365
                    • MathType for Google Workspace
                    • MathType for LMS
                    • MathType for XML Editors
                    • Arabic notation
                    • Our products accessibility
                    • MathType is online

                    WirisQuizzes

                    Learning Lemur

                    Solutions for Education

                    • Blackboard Learn
                    • Brightspace by D2L
                    • Canvas
                    • Google Classroom
                    • Moodle
                    • Schoology

                    Solutions for Publishing Houses

                    Solutions for Technical Writers

                    Solutions for Chemistry

                    Integrations

                    • HTML Editors
                    • MathType in WordPress

                    Pricing

                    Company

                    Careers

                    Blog

                    Contact Us

                    Buy Now

                    Plugin Downloads

                    © Wiris 2025

                    • Cookie Preferences
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand