Nested cloze questions

Nested cloze questions

by Leontios Hadjileontiadis -
Number of replies: 0

Hi all,

I would like to nest two (or more) cloze questions in a way that the output of the one defines the correct answer of the other. For example:

{1:SHORTANSWER:=Cat~=Dog)

hence, if the answer is Cat the second cloze question to have as correct the Dog, i.e.,

{2:SHORTANSWER:=Dog)

and if the answer in 1:SHORTANSWER is Dog the second cloze question to have as correct the Cat, i.e.,

{2:SHORTANSWER:=Cat)

I have tried to use the IF-THEN clause

{2:SHORTANSWER:=IF(1:SHORTANSWER:=Cat,Dog,IF(1:SHORTANSWER:=Dog,Cat))}

but it did not work!

Any help in the syntax or solution is welcome!

Thanks

Leontios

Average of ratings: -