Rev 11378 | Rev 12168 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11360 | bpr | 1 | type=question |
5815 | bpr | 2 | textarea="data" |
3 | |||
11377 | bpr | 4 | :On pose deux ou trois questions successives sur un objet choisi au hasard dans une liste. |
5815 | bpr | 5 | Vous pouvez choisir le type de questions |
7718 | bpr | 6 | (numérique, texte, question à choix multiples). Dans le cas d'une question à choix multiples, |
5815 | bpr | 7 | on doit remplir la liste des choix. |
8 | |||
9 | <p> |
||
10 | Les données pour chaque objet (un objet par ligne) sont séparées par des virgules |
||
11 | et formatées de la manière suivante : |
||
12 | </p> |
||
13 | <pre> |
||
14 | objet, réponse question 1, réponse question 2, réponse question 3 |
||
15 | </pre> |
||
16 | <p> |
||
7718 | bpr | 17 | L'objet peut être une image (mettre le code html : <span class="tt wims_address"><img src="\imagedir/nom.png" alt=""/></span>). |
5815 | bpr | 18 | Dans le cas d'un choix multiple, la réponse est le numéro du bon choix. |
19 | </p> |
||
20 | <p> |
||
5907 | bpr | 21 | Pour les feedback, l'objet peut être appelé par la variable <span class="tt wims_code_variable">\name</span>. |
5815 | bpr | 22 | </p> |
23 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
||
24 | |||
25 | :\title{Questions successives sur un objet} |
||
26 | :\author{Bernadette, Perrin-Riou} |
||
27 | :\email{bernadette.perrin-riou@math.u-psud.fr} |
||
28 | :\credits{} |
||
29 | |||
30 | :Format 1 |
||
31 | \text{format1=item(1, radio (un choix parmi la liste suivante), |
||
32 | numeric (question numérique), |
||
33 | case (aucune tolérance d'erreur), |
||
34 | nocase (tolère minuscule/majuscule), |
||
35 | atext (ignore pluriel/singulier et articles) |
||
36 | )} |
||
37 | :Liste de choix pour la question 1 (si radio) |
||
38 | Donner la liste des bons choix si vous avez choisi le type radio. |
||
39 | \text{choix1=premier groupe, deuxième groupe, troisième groupe} |
||
40 | |||
41 | :Format 2 |
||
5851 | bpr | 42 | \text{format2=item(3,radio (un choix parmi la liste suivante), |
5815 | bpr | 43 | numeric (question numérique), |
44 | case (aucune tolérance d'erreur), |
||
45 | nocase (tolère minuscule/majuscule), |
||
46 | atext (ignore pluriel/singulier et articles) |
||
47 | )} |
||
48 | :Liste de choix pour la question 2 (si radio) |
||
49 | Donner la liste des bons choix si vous avez choisi le type radio. |
||
50 | \text{choix2=} |
||
51 | :Format 3 |
||
5816 | bpr | 52 | \text{format3=item(4,0 (pas de question), |
5815 | bpr | 53 | radio (un choix parmi la liste suivante), |
54 | numeric (question numérique), |
||
55 | case (aucune tolérance d'erreur), |
||
56 | nocase (tolère minuscule/majuscule), |
||
57 | atext (ignore pluriel/singulier et articles) |
||
58 | )} |
||
59 | :Liste de choix pour la question 3 (si radio) |
||
60 | Donner la liste des bons choix si vous avez choisi le type radio. |
||
61 | \text{choix3=} |
||
62 | :Texte d'approbation |
||
63 | \text{right=Vous avez raison.} |
||
64 | :Texte de désaprobation |
||
65 | \text{false=Votre réponse n'est pas juste.} |
||
66 | |||
67 | :Données principales |
||
68 | \text{data= manger,1,Je mangeais, Je mangerai |
||
69 | finir, 2, Je finissais, Je finirai |
||
70 | courir,3, Je courais, Je courrai} |
||
71 | |||
72 | |||
73 | :%%%%%%%%%%%%%% |
||
74 | \text{data=randomrow(\data)} |
||
75 | \text{name=<span class="name">\data[1]</span>} |
||
76 | \text{data=\data[2..-1]} |
||
77 | |||
78 | :Instruction générale |
||
79 | \text{instruction=Nous allons étudier le verbe \name.} |
||
80 | :Instruction à la première étape |
||
81 | \text{instruction1=Donner le groupe de \name.} |
||
82 | |||
83 | :Instruction à la deuxième étape |
||
84 | \text{instruction2=Donner l'imparfait du verbe \name à la première personne du singulier sans oublier le pronom.} |
||
85 | |||
86 | :Instruction à la troisième étape |
||
87 | \text{instruction3=Donner le futur du verbe \name à la première personne du singulier sans oublier le pronom.} |
||
88 | |||
89 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
||
90 | \css{<style type="text/css"> .feedback{color:brown;padding:3pt;}.answer{color:navy;}.name {color:blue;}</style>} |
||
91 | |||
92 | \text{format1=wims(word 1 of \format1)} |
||
93 | \text{format2=wims(word 1 of \format2)} |
||
94 | \text{format3=wims(word 1 of \format3)} |
||
95 | \text{rep1=\data[1]} |
||
96 | \text{rep2=\data[2]} |
||
97 | \text{rep3=\data[3]} |
||
98 | |||
99 | \text{reponse1=\data[1]} |
||
100 | \text{reponse2=\data[2]} |
||
101 | \text{reponse3=\data[3]} |
||
102 | \if{\format1 issametext radio}{ |
||
103 | \text{rep1=\data[1];\choix1} |
||
104 | \text{reponse1=\choix1[\data[1]]} |
||
105 | } |
||
106 | \if{\format2 issametext radio}{ |
||
107 | \text{rep2=\data[2];\choix2} |
||
108 | \text{reponse2=\choix2[\data[2]]} |
||
109 | } |
||
110 | \if{\format3 issametext radio}{ |
||
111 | \text{rep3=\data[3];\choix3} |
||
112 | \text{reponse3=\choix3[\data[3]]} |
||
113 | } |
||
114 | \text{STEP=r1} |
||
115 | \if{\format2!=0}{ |
||
116 | \text{STEP=\STEP |
||
117 | r2} |
||
118 | \if{\format3!=0}{ |
||
119 | \text{STEP=\STEP |
||
120 | r3} |
||
121 | } |
||
122 | } |
||
123 | |||
5851 | bpr | 124 | \text{reponse1=<span class="oef_indgood">\reponse1</span>} |
125 | \text{reponse2=<span class="oef_indgood">\reponse2</span>} |
||
126 | \text{reponse3=<span class="oef_indgood">\reponse3</span>} |
||
127 | :Feedback à la deuxième étape |
||
128 | |||
11378 | bpr | 129 | \text{feedback1=\name est un verbe du \reponse1.} |
5851 | bpr | 130 | |
131 | :Feedback à la troisième étape |
||
132 | |||
6661 | bpr | 133 | \text{feedback2=L'imparfait à la première personne du singulier de \name est \reponse2} |
5851 | bpr | 134 | |
135 | :Feedback à la fin |
||
136 | |||
6661 | bpr | 137 | \text{feedback3=Le futur à la première personne du singulier \name est \reponse3} |
5851 | bpr | 138 | |
139 | |||
140 | :%%% |
||
5815 | bpr | 141 | \nextstep{\STEP} |
142 | |||
143 | \statement{ |
||
144 | <div>\instruction</div> |
||
145 | <ol><li> |
||
146 | <div class="instruction"> |
||
147 | \instruction1</div> |
||
148 | \if{\step=1}{ \embed{r1} } |
||
149 | \if{\step>=1}{</li>} |
||
150 | \if{\step>=2}{<li> |
||
151 | <div class="feedback"> |
||
5851 | bpr | 152 | \if{\sc_reply1=1}{\right}{\false} \feedback1. |
5815 | bpr | 153 | </div> |
154 | <div class="instruction"> |
||
155 | \instruction2 |
||
156 | </div> |
||
157 | } |
||
158 | \if{\step=2}{ |
||
159 | \embed{r2} |
||
160 | } |
||
161 | \if{\step>=2}{</li>} |
||
162 | |||
163 | \if{\step>=3}{<li> |
||
164 | <div class="feedback"> |
||
5851 | bpr | 165 | \if{\sc_reply2=1}{\right}{\false} \feedback2. |
5815 | bpr | 166 | </div> |
167 | \if{\step >=3 and \format3!=0}{ |
||
6151 | bpr | 168 | <div class="instruction"> \instruction3</div> |
5851 | bpr | 169 | <p>\embed{r3}</p> |
5815 | bpr | 170 | } |
171 | } |
||
172 | \if{\step>=3}{</li>} |
||
173 | |||
5851 | bpr | 174 | </ol> |
175 | \if{\step>=4 and \format3!=0}{ |
||
5815 | bpr | 176 | <div class="feedback"> |
5851 | bpr | 177 | \if{\sc_reply3=1}{\right}{\false} \feedback3. |
5815 | bpr | 178 | </div> |
179 | } |
||
5851 | bpr | 180 | |
5815 | bpr | 181 | } |
182 | |||
183 | \answer{}{\rep1}{type=\format1}{option=nonstop} |
||
184 | \answer{}{\rep2}{type=\format2}{option=nonstop} |
||
185 | \answer{}{\rep3}{type=\format3}{option=nonstop} |