# Embedded answers (Cloze)

This very flexible question type is similar to a popular format known as the Cloze format.

Questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers.

There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.

Here is an example of the input text used to specify such a question:

This question consists of some text with an answer embedded right here {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and right after that you will have to deal with this short answer {1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and finally we have a floating point number {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}. Note that addresses like www.moodle.org and smileys :-) all work as normal: a) How good is this? {:MULTICHOICE:=Yes#Correct~No#We have a different opinion} b) What grade would you give it? {3:NUMERICAL:=3:2} Good luck!

This example will appear to students as follows:

# 3 8 Marks | This question consists of some text with an answer embedded right here and right after that you will have to deal with this short answer and finally we have a floating point number . Note that addresses like www.moodle.org and smileys all work as normal: a) How good is this? b) What grade would you give it? Good luck!