Subversion Repositories wimsdev

Rev

Rev 9925 | Rev 11375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9925 Rev 9980
Line 19... Line 19...
19
:\author{Bernadette, Perrin-Riou}
19
:\author{Bernadette, Perrin-Riou}
20
:\email{bpr@math.u-psud.fr}
20
:\email{bpr@math.u-psud.fr}
21
:\credits{}
21
:\credits{}
22
:Instruction Globale
22
:Instruction Globale
23
Tapez ici une instruction commune à toutes les questions de l'exercice
23
Tapez ici une instruction commune à toutes les questions de l'exercice
-
 
24
$embraced_randitem
24
\text{instruction=Instruction globale : Répondez à chaque question d'une première série, validez, puis répondez aux questions de la seconde série.}
25
\text{instruction=Instruction globale : Répondez à chaque question d'une première série, validez, puis répondez aux questions de la seconde série.}
25
 
26
 
26
:Ordre aléatoire
27
:Ordre aléatoire
27
Tapez "yes" pour activer le tirage au sort des questions.
28
Tapez "yes" pour activer le tirage au sort des questions.
28
Tapez "no" pour les présenter dans l'ordre où elles sont rentrées
29
Tapez "no" pour les présenter dans l'ordre où elles sont rentrées
29
\text{alea=yes}
30
\text{alea=yes}
30
 
31
 
31
:Nombre maximum de questions par étape
32
:Nombre maximum de questions par étape
32
WIMS divisera automatiquement votre exercice en étapes en fonction du nombre total de questions définies et du nombre de questions par étapes.
33
WIMS divisera automatiquement votre exercice en étapes en fonction du nombre total de questions définies et du nombre de questions par étapes.
33
\text{N=4}
34
\text{N=4}
34
 
35
 
35
:Nombre maximum d'étapes
36
:Nombre maximum d'étapes
Line 37... Line 38...
37
\text{MAX=2}
38
\text{MAX=2}
38
 
39
 
39
:textes pour le feedback "Réponse donnée"
40
:textes pour le feedback "Réponse donnée"
40
 
41
 
41
\text{qcm_prompt1=Votre réponse :}
42
\text{qcm_prompt1=Votre réponse :}
42
 
43
 
43
:textes pour le feedback "La bonne réponse"
44
:textes pour le feedback "La bonne réponse"
44
 
45
 
45
\text{qcm_prompt2=La bonne réponse :}
46
\text{qcm_prompt2=La bonne réponse :}
46
 
47
 
47
:textes pour le feedback "Réponse correcte"
48
:textes pour le feedback "Réponse correcte"
48
 
49
 
49
\text{good_answer_text=Bonne réponse}
50
\text{good_answer_text=Bonne réponse}
50
 
51
 
51
:textes pour le feedback "Réponse incorrecte"
52
:textes pour le feedback "Réponse incorrecte"
52
 
53
 
53
\text{bad_answer_text=Mauvaise réponse}
54
\text{bad_answer_text=Mauvaise réponse}
Line 76... Line 77...
76
 
77
 
77
:Mise en aléatoire par des accolades emboitables
78
:Mise en aléatoire par des accolades emboitables
78
$embraced_randitem
79
$embraced_randitem
79
\text{accolade=item(1,1 oui,
80
\text{accolade=item(1,1 oui,
80
2 non)}
81
2 non)}
-
 
82
 
-
 
83
:Affichage des bonnes réponses
-
 
84
Si oui, la liste des bonnes réponses sera affichée une fois la réponse donnée par l'apprenant.
-
 
85
\text{answer_given=item(1, oui, non)}
81
 
86
 
82
:Question
87
:Question
83
<p>Entrez ici la question à poser, selon le format suivant : </p>
88
<p>Entrez ici la question à poser, selon le format suivant : </p>
84
<ul>
89
<ul>
85
<li>La première ligne est le texte général.</li>
90
<li>La première ligne est le texte général.</li>
Line 185... Line 190...
185
1
190
1
186
Le Lac des cygnes
191
Le Lac des cygnes
187
Casse-noisette}
192
Casse-noisette}
188
 
193
 
189
:
194
:
190
\text{accolade=wims(word 1 of \accolade)}
-
 
191
\language{fr}
195
\language{fr}
192
\computeanswer{no}
196
\computeanswer{no}
193
\format{html}
197
\format{html}
194
\text{notepad=slib(utilities/notepad Notepad,small)}
198
\text{notepad=slib(utilities/notepad Notepad,small)}
195
\text{audio_file=no}
199
\text{audio_file=no}
Line 204... Line 208...
204
\text{style_css=ol li {list-style: upper-alpha; }}
208
\text{style_css=ol li {list-style: upper-alpha; }}
205
\text{paste=yes}
209
\text{paste=yes}
206
\text{pos_rep=inside}
210
\text{pos_rep=inside}
207
\text{second_step=yes}
211
\text{second_step=yes}
208
\text{first_step=1}
212
\text{first_step=1}
209
\text{answer_given=yes}
-
 
210
\text{option=}
213
\text{option=}
211
\text{packs=}
214
\text{packs=}
212
\text{player=---}
215
\text{player=---}
213
\text{player_option= autostart="false" loop="false"}
216
\text{player_option= autostart="false" loop="false"}
-
 
217
 
214
#####################
218
:%%%%%%%%%%%%%% Rien à modifier jusqu'à l'énoncé %%%%%%%%%%%%%%%%
215
 
219
 
216
\text{data_q=\data1!= ? 1:}
220
\text{data_q=\data1!= ? 1:}
217
\text{data_q=\data2!= ? wims(append item 2 to \data_q)}
221
\text{data_q=\data2!= ? wims(append item 2 to \data_q)}
218
\text{data_q=\data3!= ? wims(append item 3 to \data_q)}
222
\text{data_q=\data3!= ? wims(append item 3 to \data_q)}
219
\text{data_q=\data4!= ? wims(append item 4 to \data_q)}
223
\text{data_q=\data4!= ? wims(append item 4 to \data_q)}
Line 221... Line 225...
221
\text{data_q=\data6!= ? wims(append item 6 to \data_q)}
225
\text{data_q=\data6!= ? wims(append item 6 to \data_q)}
222
\text{data_q=\data7!= ? wims(append item 7 to \data_q)}
226
\text{data_q=\data7!= ? wims(append item 7 to \data_q)}
223
\text{data_q=\data8!= ? wims(append item 8 to \data_q)}
227
\text{data_q=\data8!= ? wims(append item 8 to \data_q)}
224
\text{data_q=\data9!= ? wims(append item 9 to \data_q)}
228
\text{data_q=\data9!= ? wims(append item 9 to \data_q)}
225
\text{data_q=\data10!= ? wims(append item 10 to \data_q)}
229
\text{data_q=\data10!= ? wims(append item 10 to \data_q)}
-
 
230
 
-
 
231
\text{accolade=wims(word 1 of \accolade)}
-
 
232
\text{instruction=\accolade = 1 ? wims(embraced randitem \instruction):\instruction}
226
 
233
 
227
 
234
 
228
\integer{cnt_question=items(\data_q)}
235
\integer{cnt_question=items(\data_q)}
229
 
236
 
230
\text{autocompletion=\format iswordof case ? autocomplete="off"}
237
\text{autocompletion=\format iswordof case ? autocomplete="off"}
Line 418... Line 425...
418
         \if{\TEST[\h;2]>0 and \TEST[\h;3]=0}{
425
         \if{\TEST[\h;2]>0 and \TEST[\h;3]=0}{
419
                   <span class="incomplete">\incomplete_answer_text
426
                   <span class="incomplete">\incomplete_answer_text
420
          </span>}
427
          </span>}
421
         \if{\TEST[\h;3]>0}{<span style="color:red">\bad_answer_text</span>}
428
         \if{\TEST[\h;3]>0}{<span style="color:red">\bad_answer_text</span>}
422
         \if{\TEST[\h;3]=0 and \TEST[\h;2]=0}{<span class="true">\good_answer_text</span>}
429
         \if{\TEST[\h;3]=0 and \TEST[\h;2]=0}{<span class="true">\good_answer_text</span>}
423
         \if{\answer_given=yes}{
430
         \if{\answer_given issametext oui}{
424
          <br/> \qcm_prompt2
431
          <br/> \qcm_prompt2
425
          <ul class="highlight true">
432
          <ul class="highlight true">
426
             \for{s=1 to \CNT_choix[\h]}{
433
             \for{s=1 to \CNT_choix[\h]}{
427
               \if{\s isitemof \rep[\h;]}{ <li>\CHOIX[\h;\s]</li>}
434
               \if{\s isitemof \rep[\h;]}{ <li>\CHOIX[\h;\s]</li>}
428
            }
435
            }