Rev 13488 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11501 | mquerol | 1 | type=order |
13716 | obado | 2 | textarea="instruction data" |
3 | iEdit="instruction" |
||
3759 | bpr | 4 | |
12170 | mquerol | 5 | :Posar les paraules en ordre (tipus trencaclosques). |
3759 | bpr | 6 | |
12170 | mquerol | 7 | Les paraules es presenten desordenades. Es tracta de tornar-les a posar en ordre. |
13488 | obado | 8 | Només podem canviar dues paraules: per això, |
9 | feu clic a la primera i després a la segona. |
||
6132 | bpr | 10 | |
11 | $image_help |
||
12 | |||
13476 | obado | 13 | <p class="wims_credits"> |
12170 | mquerol | 14 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
3759 | bpr | 15 | </p> |
16 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
||
17 | |||
13488 | obado | 18 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
3759 | bpr | 19 | (Ce sont les lignes qui commencent par un ':'.) |
20 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
||
21 | |||
13488 | obado | 22 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
12170 | mquerol | 23 | :\title{Trencaclosques de paraules} |
5147 | bpr | 24 | :\author{Bernadette, Perrin-Riou} |
6132 | bpr | 25 | :\email{bpr@math.u-psud.fr} |
26 | :\credits{} |
||
13476 | obado | 27 | |
12170 | mquerol | 28 | :Enunciat |
13488 | obado | 29 | \text{instruction=Reconstituer les phrases. Pour échanger deux |
30 | cartes, cliquer sur la première puis sur la seconde.} |
||
13476 | obado | 31 | |
13488 | obado | 32 | :Nombre de preguntes proposades (màxim 5) |
3759 | bpr | 33 | \text{N=2} |
13476 | obado | 34 | |
12170 | mquerol | 35 | :Dades principals. |
13488 | obado | 36 | Escriure cada trencaclosques en una línia. |
37 | Col·loqueu els components del trencaclosques separats per comes. |
||
38 | No hi ha d'haver dues paraules idèntiques. |
||
39 | \text{data=Le, chat, a, attrapé, la, souris. |
||
12170 | mquerol | 40 | Le, chien blanc, ne, mange, pas, de, souris. |
3759 | bpr | 41 | } |
42 | |||
13488 | obado | 43 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
3759 | bpr | 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=} |
||
53 | \for{j=1 to \N}{ |
||
54 | \integer{nb_item=items(\data[\j;])} |
||
55 | \text{option=wims(append line 1 x \nb_item to \option)} |
||
56 | } |
||
57 | \matrix{option=\option} |
||
58 | \text{STEP=wims(makelist r x for x=1 to \N)} |
||
59 | \steps{\STEP} |
||
13480 | obado | 60 | |
61 | \statement{ |
||
62 | <div class="instruction">\instruction</div> |
||
63 | \if{\N=1}{ |
||
64 | <div class="wimscenter">\embed{r 1, 400 x 60}</div> |
||
65 | }{ |
||
66 | \for{s=1 to \N}{ |
||
13488 | obado | 67 | <p>\s :</p> |
13480 | obado | 68 | <div class="wimscenter">\embed{r \s, 400 x 60}</div> |
69 | } |
||
70 | } |
||
3759 | bpr | 71 | } |
13480 | obado | 72 | |
3759 | bpr | 73 | \answer{1}{\data[1;];\option[1;] x 80}{type=puzzle}{option=text} |
74 | \answer{2}{\data[2;];\option[2;] x 80}{type=puzzle}{option=text} |
||
75 | \answer{3}{\data[3;];\option[3;] x 80}{type=puzzle}{option=text} |
||
76 | \answer{4}{\data[4;];\option[4;] x 80}{type=puzzle}{option=text} |
||
77 | \answer{5}{\data[5;];\option[5;] x 80}{type=puzzle}{option=text} |
||
78 | \answer{6}{\data[6;];\option[6;] x 80}{type=puzzle}{option=text} |
||
79 | \answer{7}{\data[7;];\option[7;] x 80}{type=puzzle}{option=text} |
||
80 | \answer{8}{\data[8;];\option[8;] x 80}{type=puzzle}{option=text} |
||
81 | \answer{9}{\data[9;];\option[9;] x 80}{type=puzzle}{option=text} |
||
82 | \answer{10}{\data[10;];\option[10;] x 80}{type=puzzle}{option=text} |