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