Blame | Last modification | View Log | RSS feed
\title{Schéma de QCM avec une bonne réponse}
\matrix{ data = quest1, a1, a2, a3, 1
quest2, b1, b2, b3, b4, 2
quest3, c1, c2, c3, 3}
\integer{ L = randint(1..rows(\data)) }
\text{ question = \data[\L ; 1]}
\text{ list = \data[\L ; 2..-2] }
\integer{num=\data[\L ; -1]}
\statement{ \question : \embed{reply1} }
\answer{ }{ \num; \list }{ type = radio }{ option = shuffle }