Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
184 | bpr | 1 | |
2 | \title{Schéma de QCM avec une bonne réponse} |
||
3 | \matrix{ data = quest1, a1, a2, a3, 1 |
||
4 | quest2, b1, b2, b3, b4, 2 |
||
5 | quest3, c1, c2, c3, 3} |
||
6 | \integer{ L = randint(1..rows(\data)) } |
||
7 | \text{ question = \data[\L ; 1]} |
||
8 | \text{ list = \data[\L ; 2..-2] } |
||
9 | \integer{num=\data[\L ; -1]} |
||
10 | |||
11 | \statement{ \question : \embed{reply1} } |
||
12 | |||
13 | \answer{ }{ \num; \list }{ type = radio }{ option = shuffle } |