Embedded Cloze Questions - Short Answers

Embedded Cloze Questions - Short Answers

by Anaïs Lee -
Number of replies: 5

Hi everyone,

I'm trying to include more than one correct answer by using a tilde sign but it doesn't work. Does anyone know what I've done wrong? Here's what I typed:

{:SHORTANSWER:=doesn't drink~does not drink}

The first answer is treated as correct but not the second one.

Thank you.

Average of ratings: -
In reply to Anaïs Lee

Re: Embedded Cloze Questions - Short Answers

by Anaïs Lee -
I've added %100% before the second answer and it works now {:SHORTANSWER:=doesn't drink~%100%does not drink}
In reply to Anaïs Lee

Re: Embedded Cloze Questions - Short Answers

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Anaïs,

I expect that now you have read the doc. at Embedded_Answers_(Cloze)_question_type.wink

Average of ratings:Useful (1)
In reply to Joseph Rézeau

Re: Embedded Cloze Questions - Short Answers

by Anaïs Lee -
Hi Joseph,

No, I haven't. Thanks very much for the link!
In reply to Anaïs Lee

Re: Embedded Cloze Questions - Short Answers

by Matthias Giger -
Picture of Particularly helpful Moodlers
The ~ is the seperator between different possible answers.

Use the following two ways of allowing all the answers:
  • {:SHORTANSWER:%100%doesn't drink~%100%does not drink} or
  • {:SHORTANSWER:=doesn't drink~=does not drink}
The percentage option allows for answers which are "half right" or negative scores.
Average of ratings:Useful (4)
In reply to Matthias Giger

Re: Embedded Cloze Questions - Short Answers

by Anaïs Lee -
Now I can see why my original codes didn't work. Thanks a lot!