Sinval
Sinval

Reputation: 1417

How to intercalate questions with the response options in a cloze item (Moodle)?

Is it possible to intercalate questions with the response options in a cloze item (Moodle)?

Example:

From this:

enter image description here

to this:

question 1.

options (question 1)

question 2.

options (question 2)

and so on...

Upvotes: 2

Views: 97

Answers (1)

Achim Zeileis
Achim Zeileis

Reputation: 17183

You can do this by putting ##ANSWER1## and ##ANSWER2## etc. tags in the places where the interaction elements should be placed. In R/Markdown the hashtags have to be escaped: \#\#Answer1\#\# etc. A minimal example is included below. A more elaborate statistical example is: http://www.R-exams.org/templates/boxhist2/

Question
========
Which of these letters is a vowel?

\#\#ANSWER1\#\#

What is the first two-digit prime number?

\#\#ANSWER2\#\#

Answerlist
----------
* A
* B
* C
* 

Meta-information
================
exname: cloze
extype: cloze
exclozetype: schoice|num
exsolution: 100|11

This is rendered in Moodle like this:

cloze

Upvotes: 2

Related Questions