Rev 5448 | Rev 11375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5448 | Rev 6132 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
14 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
15 | 15 | ||
16 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
16 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
17 | :\title{Cacher des étiquettes} |
17 | :\title{Cacher des étiquettes} |
18 | :\author{Bernadette, Perrin-Riou} |
18 | :\author{Bernadette, Perrin-Riou} |
- | 19 | :\email{bpr@math.u-psud.fr} |
|
- | 20 | :\credits{} |
|
19 | :Consigne |
21 | :Consigne |
20 | \text{instruction=Cacher les adjectifs en cliquant sur leur étiquette.} |
22 | \text{instruction=Cacher les adjectifs en cliquant sur leur étiquette.} |
21 | :Nombre de questions proposées (maximum 5) |
23 | :Nombre de questions proposées (maximum 5) |
22 | \text{N=2} |
24 | \text{N=2} |
23 | :Nom du fichier |
25 | :Nom du fichier |
Line 36... | Line 38... | ||
36 | :Données principales. |
38 | :Données principales. |
37 | Mettre les phrases en entourant par ?? les mots à cacher. |
39 | Mettre les phrases en entourant par ?? les mots à cacher. |
38 | \text{data=Le chat ??noir?? a mangé la souris ??blanche.?? |
40 | \text{data=Le chat ??noir?? a mangé la souris ??blanche.?? |
39 | La maison ??verte?? est sur la colline. |
41 | La maison ??verte?? est sur la colline. |
40 | Dans le jardin, il y a des fleurs ??blanches?? et ??rouges?? } |
42 | Dans le jardin, il y a des fleurs ??blanches?? et ??rouges?? } |
- | 43 | ||
- | 44 | :Mise en aléatoire par des accolades emboitables |
|
- | 45 | $embraced_randitem |
|
- | 46 | \text{accolade=item(1,1 oui, |
|
- | 47 | 2 non)} |
|
41 | 48 | ||
42 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
49 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
- | 50 | \text{accolade=wims(word 1 of \accolade)} |
|
- | 51 | ||
43 | \integer{N=min(\N,5)} |
52 | \integer{N=min(\N,5)} |
44 | \if{\file notsametext}{ |
53 | \if{\file notsametext}{ |
45 | \integer{datacnt=wims(recordcnt \file)} |
54 | \integer{datacnt=wims(recordcnt \file)} |
46 | \integer{N=min(\N,\datacnt)} |
55 | \integer{N=min(\N,\datacnt)} |
47 | \text{choix=shuffle(\datacnt)} |
56 | \text{choix=shuffle(\datacnt)} |
Line 61... | Line 70... | ||
61 | \matrix{data=\data[\liste;]} |
70 | \matrix{data=\data[\liste;]} |
62 | } |
71 | } |
63 | \text{Numero=} |
72 | \text{Numero=} |
64 | \text{Texte=} |
73 | \text{Texte=} |
65 | \text{cnt=} |
74 | \text{cnt=} |
66 | \text{ |
75 | \text{data=\accolade=1 ?wims(embraced randitem \data)} |
67 | \text{data=wims(replace internal ' by ’ in \data)} |
76 | \text{data=wims(replace internal ' by ’ in \data)} |
68 | \for{u=1 to \N}{ |
77 | \for{u=1 to \N}{ |
69 | \matrix{texte=slib(text/markgroup \data[\u;])} |
78 | \matrix{texte=slib(text/markgroup \data[\u;])} |
70 | \matrix{numero=\texte[1..-4;]} |
79 | \matrix{numero=\texte[1..-4;]} |
71 | \text{cnt_mot = rows(\numero)} |
80 | \text{cnt_mot = rows(\numero)} |
Line 81... | Line 90... | ||
81 | \matrix{Numero=\Numero} |
90 | \matrix{Numero=\Numero} |
82 | \text{STEP=wims(makelist r x for x=1 to \N)} |
91 | \text{STEP=wims(makelist r x for x=1 to \N)} |
83 | \steps{\STEP} |
92 | \steps{\STEP} |
84 | \statement{\instruction |
93 | \statement{\instruction |
85 | \if{\N=1}{<div class="emptyline"> </div> |
94 | \if{\N=1}{<div class="emptyline"> </div> |
86 |
|
95 | <div class="wimscenter">\for{j=1 to \cnt}{ |
87 | \embed{r 1,\j} |
96 | \embed{r 1,\j} |
88 | }</ |
97 | }</div> |
89 | }{ |
98 | }{ |
90 | \for{ss=1 to \N}{<p> \ss : </p> |
99 | \for{ss=1 to \N}{<p> \ss : </p> |
91 | < |
100 | <div class="wimscenter">\for{j=1 to \cnt[\ss]}{ |
92 | \embed{r \ss,\j} |
101 | \embed{r \ss,\j} |
93 | }</ |
102 | }</div> |
94 | } |
103 | } |
95 | } |
104 | } |
96 | } |
105 | } |
97 | \answer{1}{\Numero[1;];\Texte[1;]; }{type=flashcard}{option=show noanalyzeprint} |
106 | \answer{1}{\Numero[1;];\Texte[1;]; }{type=flashcard}{option=show noanalyzeprint} |
98 | \answer{2}{\Numero[2;];\Texte[2;]; }{type=flashcard}{option=show noanalyzeprint} |
107 | \answer{2}{\Numero[2;];\Texte[2;]; }{type=flashcard}{option=show noanalyzeprint} |