Rev 13716 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 11377 | bpr | 1 | type=order |
| 13716 | obado | 2 | textarea="instruction data" |
| 3 | iEdit="instruction" |
||
| 3759 | bpr | 4 | |
| 5 | :Mettre des étiquettes dans l'ordre (type puzzle). |
||
| 6 | |||
| 7 | Des étiquettes sont présentées dans le désordre. Il s'agit de les remettre dans l'ordre. |
||
| 8 | On ne peut qu'échanger deux étiquettes : pour cela, |
||
| 9 | cliquer sur la première puis sur la seconde. |
||
| 5724 | bpr | 10 | |
| 13488 | obado | 11 | <p class="wims_credits"> |
| 15179 | lemaire | 12 | Auteur du modèle : <a href="mailto:bernadette.m.riou@orange.fr">Bernadette Perrin-Riou</a> |
| 3759 | bpr | 13 | </p> |
| 14 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
||
| 15 | |||
| 16 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
||
| 17 | (Ce sont les lignes qui commencent par un ':'.) |
||
| 18 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
||
| 19 | |||
| 20 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
||
| 21 | :\title{Puzzle de mots} |
||
| 5147 | bpr | 22 | :\author{Bernadette, Perrin-Riou} |
| 5724 | bpr | 23 | :\email{bpr@math.u-psud.fr} |
| 24 | :\credits{} |
||
| 13472 | obado | 25 | |
| 3759 | bpr | 26 | :Consigne |
| 13716 | obado | 27 | \text{instruction=<p>Reconstituer les phrases.</p> Pour échanger deux |
| 3759 | bpr | 28 | cartes, cliquer sur la première puis sur la seconde.} |
| 13472 | obado | 29 | |
| 3759 | bpr | 30 | :Nombre de questions proposées (maximum 5) |
| 31 | \text{N=2} |
||
| 13472 | obado | 32 | |
| 3759 | bpr | 33 | :Données principales. |
| 11357 | bpr | 34 | Ecrire chaque puzzle sur une ligne. |
| 35 | Mettre les constituants du puzzle en les séparant par des virgules. |
||
| 36 | Il ne doit pas y avoir deux mots identiques. |
||
| 4049 | bpr | 37 | \text{data=Le, chat, a, attrapé, la, souris. |
| 11357 | bpr | 38 | Le, chien blanc, ne, mange, pas, de, souris. |
| 3759 | bpr | 39 | } |
| 40 | |||
| 41 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
||
| 42 | |||
| 43 | \integer{M=rows(\data)} |
||
| 44 | \integer{N=min(\N,\M)} |
||
| 45 | \integer{N=min(\N,10)} |
||
| 46 | \text{liste=shuffle(\M)} |
||
| 47 | \text{liste=\liste[1..\N]} |
||
| 48 | \matrix{data=\data} |
||
| 49 | \matrix{data=\data[\liste;]} |
||
| 50 | \text{option=} |
||
| 13472 | obado | 51 | |
| 3759 | bpr | 52 | \for{j=1 to \N}{ |
| 13472 | obado | 53 | \integer{nb_item=items(\data[\j;])} |
| 54 | \text{option=wims(append line 1 x \nb_item to \option)} |
||
| 3759 | bpr | 55 | } |
| 56 | \matrix{option=\option} |
||
| 57 | \text{STEP=wims(makelist r x for x=1 to \N)} |
||
| 13472 | obado | 58 | |
| 3759 | bpr | 59 | \steps{\STEP} |
| 13472 | obado | 60 | |
| 61 | :%%%%%%%%%%%%%% L'énoncé %%%%%%%%%%%%%%%% |
||
| 62 | \statement{ |
||
| 63 | <div class="instruction">\instruction</div> |
||
| 64 | \if{\N=1}{ |
||
| 65 | <div class="wimscenter">\embed{r 1, 400 x 60}</div> |
||
| 66 | }{ |
||
| 67 | \for{s=1 to \N}{<p>\s :</p> |
||
| 68 | <div class="wimscenter">\embed{r \s, 400 x 60}</div> |
||
| 69 | } |
||
| 70 | } |
||
| 3759 | bpr | 71 | } |
| 13472 | obado | 72 | |
| 73 | :%%%%%%%%%%%%% Analyse des réponses %%%%%%%%%%%%%%%%% |
||
| 74 | |||
| 3759 | bpr | 75 | \answer{1}{\data[1;];\option[1;] x 80}{type=puzzle}{option=text} |
| 76 | \answer{2}{\data[2;];\option[2;] x 80}{type=puzzle}{option=text} |
||
| 77 | \answer{3}{\data[3;];\option[3;] x 80}{type=puzzle}{option=text} |
||
| 78 | \answer{4}{\data[4;];\option[4;] x 80}{type=puzzle}{option=text} |
||
| 79 | \answer{5}{\data[5;];\option[5;] x 80}{type=puzzle}{option=text} |
||
| 80 | \answer{6}{\data[6;];\option[6;] x 80}{type=puzzle}{option=text} |
||
| 81 | \answer{7}{\data[7;];\option[7;] x 80}{type=puzzle}{option=text} |
||
| 82 | \answer{8}{\data[8;];\option[8;] x 80}{type=puzzle}{option=text} |
||
| 83 | \answer{9}{\data[9;];\option[9;] x 80}{type=puzzle}{option=text} |
||
| 84 | \answer{10}{\data[10;];\option[10;] x 80}{type=puzzle}{option=text} |