Moodle: Activities & Resources: Quiz Question Types: Embedded Answers (Cloze)

Embedded Answers (Cloze) questions consist of a passage of text that has various answers embedded in it. These answers can be in a multiple choice, short answer or numerical format. When creating the passage of text, instructors will need to be aware of the specific formatting rules for each embedded answer. These rules are included below and are referenced from


Embedded answer sample

To Add an Embedded Answers (Cloze) Question to the Question Bank:

  1. Open Moodle and select your course.
  2. In the Administration block, click Question Bank then click Questions.
    admin menu with question bank selected

  3. Click Create a new question.
    question bank with "create new question" selected

  4. Select Embedded Answers (Cloze) from the sidebar at the left, then click Add at the bottom.
  5. General Settings include a Question Name and Text, and are required. Optional settings include Category and General feedback.

NOTE: It is suggested that the instructor make sure that the category is correct for organizational reasons and that the question name be something specific (other than Number 1) so that it is easier to find and edit them later.

Question name and text blanks


  1. In the Question text area, begin writing your question. Use the Cloze Editor button in the text editor to easily create the embedded answers. This is a new feature in Moodle.

text editor with the cloze editor button selected


  1. Using the Cloze editor, select the type of question, and enter in the answer, grade, and feedback.

Cloze editor - make a selection


Cloze editor - add answer, feedback, and score



Your question will include some code, which tells Moodle how to display the question for students. This is generated from the choices you made in the cloze editor.

Embedded answer question example as the written code

For the above question, the results would be the following:

Embedded answer question results in drop down boxes


When you are finished creating the question, and reviewing the additional settings, save your changes.

To add your newly created question to a Quiz, see the GROK article Adding Quiz Questions to a Quiz.


Support & Training

The Faculty Technology Center (FTC) provides Moodle support by email, by phone, or live through Zoom. For contact information, please see the article Faculty Technology Center: LSU Overview. To connect through Zoom and for further information on support services and training, see the LSU Online & Continuing Education Faculty Resources & Support page.

The FTC also provides just-in-time faculty training opportunities and recorded training sessions. Attending at least one training session for Moodle upgrades is highly recommended. For a comprehensive list of available workshops and recordings, please see the LSU Online & Continuing Education Technology Training page.

5/1/2024 1:19:46 PM