Rev 11375 | Rev 13476 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11375 | Rev 12172 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | textarea="data" |
2 | textarea="data" |
3 | 3 | ||
4 | : |
4 | :Seleccionar una paraula i, tot seguit, proporcionar informació sobre aquesta paraula. |
5 |
|
5 | En el primer pas, es demana marcar paraules; en el segon pas, |
6 |
|
6 | es fa una pregunta sobre aquestes paraules (text per respondre). |
7 | 7 | ||
8 | <div class="small"> |
8 | <div class="small"> |
9 |
|
9 | Aquest exercici es pot transformar fàcilment per ser inclòs en un mòdul OEF |
10 | si |
10 | si voleu posar les dades en un fitxer auxiliar. Per això, |
11 |
|
11 | simplement ompliu el camp \text{file=} posant el nom del fitxer |
12 | ( |
12 | (una vegada que l'exercici s'ha transferit a un mòdul OEF d'un compte de Modtool). |
13 |
|
13 | Existeix un exercici més complet del mateix tipus a Quicktool. |
14 | </div> |
14 | </div> |
15 | 15 | ||
16 |
|
16 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
17 | 17 | ||
18 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
18 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
19 | 19 | ||
20 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
20 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
21 | (Ce sont les lignes qui commencent par un ':'.) |
21 | (Ce sont les lignes qui commencent par un ':'.) |
22 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
22 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
23 | 23 | ||
24 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
24 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
25 | 25 | ||
26 | : |
26 | : |
27 | \title{ |
27 | \title{Preguntes sobre paraules seleccionades primer} |
28 | :\author{Bernadette, Perrin-Riou} |
28 | :\author{Bernadette, Perrin-Riou} |
29 | :\email{bpr@math.u-psud.fr} |
29 | :\email{bpr@math.u-psud.fr} |
30 | :\credits{} |
30 | :\credits{} |
31 | 31 | ||
32 | : |
32 | :Enunciat per a la primera pregunta |
33 | \text{instruction= Marquer les verbes conjugués.} |
33 | \text{instruction= Marquer les verbes conjugués.} |
34 | : |
34 | :Enunciat per a la segona pregunta |
35 | \text{instruction2=Quels sont leurs infinitifs ?} |
35 | \text{instruction2=Quels sont leurs infinitifs ?} |
36 | 36 | ||
37 | : |
37 | :Anàlisi de les respostes a la segona pregunta |
38 | Les |
38 | Les possibilitats són <span class="tt">case</span>, <span class="tt">nocase</span> (no té en compte la diferència entre majúscules/minúscules ni els accents). |
39 | Si |
39 | Si no es posa res, no es fa una segona pregunta. |
40 | \text{format=case} |
40 | \text{format=case} |
41 | :Nombre de |
41 | :Nombre de línies de dades |
42 | \text{M=3} |
42 | \text{M=3} |
43 | : |
43 | :Mida dels camps de resposta de la segona pregunta |
44 | \text{size=15} |
44 | \text{size=15} |
45 | 45 | ||
46 | : |
46 | :Dades |
47 |
|
47 | Un text per línia. Posem entre dobles signes d'interrogació la paraula a marcar |
48 |
|
48 | seguida del text per respondre la segona pregunta, separada pel símbol |
49 | <span class="tt wims_code_words">|</span>. |
49 | <span class="tt wims_code_words">|</span>. |
50 | $embraced_randitem |
50 | $embraced_randitem |
51 | 51 | ||
52 | \text{data= Le chat ??mange|manger?? la souris. |
52 | \text{data= Le chat ??mange|manger?? la souris. |
53 | Vous ??{avez bu,buvez}|boire?? du {thé,café}. |
53 | Vous ??{avez bu,buvez}|boire?? du {thé,café}. |
Line 59... | Line 59... | ||
59 | Tu ??{prépareras,as préparé,prépares}|préparer?? un cadeau pour tes {parents,grands-parents}. |
59 | Tu ??{prépareras,as préparé,prépares}|préparer?? un cadeau pour tes {parents,grands-parents}. |
60 | Je ??suis arrivé|arriver?? {en retard,en avance} à mon rendez-vous. |
60 | Je ??suis arrivé|arriver?? {en retard,en avance} à mon rendez-vous. |
61 | {Christian,Paul} et moi ??regardons|regarder?? un film d'aventure. |
61 | {Christian,Paul} et moi ??regardons|regarder?? un film d'aventure. |
62 | } |
62 | } |
63 | 63 | ||
64 | : |
64 | :S'accepta text aleatori posat entre claus |
65 | $embraced_randitem |
65 | $embraced_randitem |
66 | \text{accolade=item(1,1 |
66 | \text{accolade=item(1,1 sí, |
67 | 2 |
67 | 2 no)} |
68 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
68 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
69 | ################ |
- | |
- | 69 | ||
70 | \text{accolade=wims(word 1 of \accolade)} |
70 | \text{accolade=wims(word 1 of \accolade)} |
71 | 71 | ||
72 | \text{file=} |
72 | \text{file=} |
73 | \text{partialscore=split} |
73 | \text{partialscore=split} |
74 | 74 | ||
Line 161... | Line 161... | ||
161 | \integer{quo=(\cnt-\reste)/\coupure} |
161 | \integer{quo=(\cnt-\reste)/\coupure} |
162 | \integer{quo=\reste=0? \quo-1} |
162 | \integer{quo=\reste=0? \quo-1} |
163 | \text{nombre=wims(makelist x for x = 1 to \cnt)} |
163 | \text{nombre=wims(makelist x for x = 1 to \cnt)} |
164 | %%%%%%%%%%% |
164 | %%%%%%%%%%% |
165 | 165 | ||
166 | \statement{\nopaste <div>\instruction</div> |
166 | \statement{\nopaste <div class="instruction">\instruction</div> |
167 | \preliminaire |
167 | \preliminaire |
168 | \if{\reading notsametext }{\special{help reading,[à lire]}} |
168 | \if{\reading notsametext }{\special{help reading,[à lire]}} |
169 | \if{\image notsametext }{\special{help image,[à regarder]}} |
169 | \if{\image notsametext }{\special{help image,[à regarder]}} |
170 | \audio\video |
170 | \audio\video |
171 | \if{\step=\first_step}{ |
171 | \if{\step=\first_step}{ |
172 | <div class="question"> |
172 | <div class="question"> |
173 | \if{\format iswordof flashcard}{ |
173 | \if{\format iswordof flashcard}{ |
174 | < |
174 | <p> \for{h=1 to \cnt}{\texte[\h] }</p>} |
175 | \for{h=1 to \cnt}{ |
175 | \for{h=1 to \cnt}{ |
176 | \embed{reply 1,\h} |
176 | \embed{reply 1,\h} |
177 | } |
177 | } |
178 | </div> |
178 | </div> |
179 | } |
179 | } |
Line 185... | Line 185... | ||
185 | \if{\s isitemof \Numero}{ |
185 | \if{\s isitemof \Numero}{ |
186 | <span style="color:blue;font-size:large;">\texte[\s]</span>} |
186 | <span style="color:blue;font-size:large;">\texte[\s]</span>} |
187 | } |
187 | } |
188 | } |
188 | } |
189 | </div> |
189 | </div> |
190 | < |
190 | <p>\instruction2</p> |
191 | <div class="question"> |
191 | <div class="question"> |
192 | <table> |
192 | <table> |
193 | \for{s= 1 to \cnt_mot}{ |
193 | \for{s= 1 to \cnt_mot}{ |
194 | <tr><td> \rep_compose[\s]</td> <td>:</td><td> \embed{reply \STEP[\s],\size |
194 | <tr><td> \rep_compose[\s]</td> <td>:</td><td> \embed{reply \STEP[\s],\size |
195 | \autocompletion}</td></tr> |
195 | \autocompletion}</td></tr> |
196 | } |
196 | } |
197 | </table> |
197 | </table> |
198 | </div> |
198 | </div> |
199 | } |
199 | } |
200 | \if{\pos_rep=inside}{ |
200 | \if{\pos_rep=inside}{ |
201 | < |
201 | <p>\instruction2</p> |
202 | <div class="question"> |
202 | <div class="question"> |
203 | \for{s = 1 to \cnt}{ |
203 | \for{s = 1 to \cnt}{ |
204 | \if{\s notitemof \Numero}{\texte[\s]}{ |
204 | \if{\s notitemof \Numero}{\texte[\s]}{ |
205 | \if{\s isitemof \prem_numero}{ |
205 | \if{\s isitemof \prem_numero}{ |
206 | \embed{\STEP[\position[\s]], \size |
206 | \embed{\STEP[\position[\s]], \size |
Line 210... | Line 210... | ||
210 | } |
210 | } |
211 | </div> |
211 | </div> |
212 | } |
212 | } |
213 | \if{\pos_rep=under}{ |
213 | \if{\pos_rep=under}{ |
214 | <div class="question"> |
214 | <div class="question"> |
215 | \for{u = 0 to \quo}{<table |
215 | \for{u = 0 to \quo}{<table style="border:none"> |
216 | <tr> |
216 | <tr> |
217 | \for{ v = 1 to \coupure}{<td |
217 | \for{ v = 1 to \coupure}{<td style="text-align:center"> |
218 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero |
218 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero |
219 | or \nombre[\coupure*\u+\v] notitemof \Numero}{} |
219 | or \nombre[\coupure*\u+\v] notitemof \Numero}{} |
220 | \if{\coupure*\u+\v <= \cnt}{ |
220 | \if{\coupure*\u+\v <= \cnt}{ |
221 | \if{\nombre[\coupure*\u+\v] isitemof \Numero}{< |
221 | \if{\nombre[\coupure*\u+\v] isitemof \Numero}{<span style="color:blue;">} |
222 | \texte[\coupure*\u+\v]}{ } |
222 | \texte[\coupure*\u+\v]}{ } |
223 | \if{\nombre[\coupure*\u+\v] isitemof \Numero}{</span>} |
223 | \if{\nombre[\coupure*\u+\v] isitemof \Numero}{</span>} |
224 | </td> |
224 | </td> |
225 | } |
225 | } |
226 | </tr><tr> |
226 | </tr><tr> |
227 | \for{ v = 1 to \coupure}{ |
227 | \for{ v = 1 to \coupure}{ |
228 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero |
228 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero |
229 | or \nombre[\coupure*\u+\v] notitemof \Numero}{} |
229 | or \nombre[\coupure*\u+\v] notitemof \Numero}{} |
230 | <td |
230 | <td style="text-align:center"> |
231 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero}{ |
231 | \if{\nombre[\coupure*\u+\v] isitemof \prem_numero}{ |
232 | \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size |
232 | \embed{\STEP[\position[\nombre[\coupure*\u+\v]]], \size |
233 | \autocompletion} |
233 | \autocompletion} |
234 | }{ } |
234 | }{ } |
235 | </td> |
235 | </td> |
236 | } |
236 | } |
237 | </tr><tr><td colspan="\coupure"><hr/></td></tr> |
237 | </tr><tr><td colspan="\coupure"><hr /></td></tr> |
238 | </table> } |
238 | </table> } |
239 | 239 | ||
240 | </div> |
240 | </div> |
241 | } |
241 | } |
242 | } |
242 | } |
Line 261... | Line 261... | ||
261 | \answer{\rep_compose[16]}{\traduction[16]}{type=\format}{option=\option_reaccent} |
261 | \answer{\rep_compose[16]}{\traduction[16]}{type=\format}{option=\option_reaccent} |
262 | \answer{\rep_compose[17]}{\traduction[17]}{type=\format}{option=\option_reaccent} |
262 | \answer{\rep_compose[17]}{\traduction[17]}{type=\format}{option=\option_reaccent} |
263 | \answer{\rep_compose[18]}{\traduction[18]}{type=\format}{option=\option_reaccent} |
263 | \answer{\rep_compose[18]}{\traduction[18]}{type=\format}{option=\option_reaccent} |
264 | \answer{\rep_compose[19]}{\traduction[19]}{type=\format}{option=\option_reaccent} |
264 | \answer{\rep_compose[19]}{\traduction[19]}{type=\format}{option=\option_reaccent} |
265 | \answer{\rep_compose[20]}{\traduction[20]}{type=\format}{option=\option_reaccent} |
265 | \answer{\rep_compose[20]}{\traduction[20]}{type=\format}{option=\option_reaccent} |
266 | - |