Rev 13476 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11375 | bpr | 1 | type=imaudio |
13716 | obado | 2 | textarea="data instruction" |
3 | iEdit="instruction" |
||
5281 | bpr | 4 | |
12171 | mquerol | 5 | :Escriure el nom que correspongui a la imatge (o text presentat) |
6 | Tingueu present que aquest model només funcionarà bé si carregueu les imatges a wims. |
||
5281 | bpr | 7 | <p> |
12171 | mquerol | 8 | Per construir un exercici amb aquest model, simplement escriu la llista d'imatges i |
9 | etiquetes corresponents |
||
5281 | bpr | 10 | </p> |
11 | $image_help |
||
13476 | obado | 12 | <p class="wims_credits"> |
12171 | mquerol | 13 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
5281 | bpr | 14 | </p> |
15 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
||
16 | |||
17 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
||
18 | (Ce sont les lignes qui commencent par un ':'.) |
||
19 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
||
20 | |||
21 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
||
22 | |||
23 | |||
12171 | mquerol | 24 | :\title{Reconèixer una imatge} |
5281 | bpr | 25 | :\author{Bernadette, Perrin-Riou} |
26 | :\email{bpr@math.u-psud.fr} |
||
12171 | mquerol | 27 | :\credits{} |
13476 | obado | 28 | |
12171 | mquerol | 29 | :Enunciat |
30 | \text{instruction=Escriviu la paraula corresponent a la imatge (l'exercici només funcionarà quan es carreguin les imatges |
||
31 | a l'exercici)} |
||
5281 | bpr | 32 | |
12171 | mquerol | 33 | :Dades |
5281 | bpr | 34 | \text{data=amphitheatre.png,l'amphithéâtre |
35 | aqueduc.png, l'aqueduc |
||
36 | arcdetriomphe.png,l'arc de triomphe |
||
37 | cirque.png, le cirque |
||
38 | domus.png, la domus |
||
39 | temple.png, le temple |
||
40 | theatre.png, le théâtre |
||
41 | thermes.png, les termes |
||
42 | } |
||
43 | |||
12171 | mquerol | 44 | :La mida de les caixes en píxels |
5281 | bpr | 45 | \text{sizeh=40} |
46 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
||
47 | |||
48 | \text{mot = randrow(\data)} |
||
12171 | mquerol | 49 | \text{mot=wims(embraced randitem \mot)} |
5281 | bpr | 50 | \text{image=\mot[1]} |
51 | \text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))} |
||
52 | \text{mot =\mot[2]} |
||
53 | |||
54 | \statement{ |
||
55 | \instruction |
||
12171 | mquerol | 56 | <p class="wimscenter"> |
7341 | bpr | 57 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
5281 | bpr | 58 | \img{\imagedir/\image} |
59 | } |
||
60 | {\image}</p> |
||
61 | |||
12171 | mquerol | 62 | <div class="wimscenter"> |
5281 | bpr | 63 | \embed{r1,\sizeh |
64 | default |
||
6946 | bpr | 65 | autocomplete="off"} |
12171 | mquerol | 66 | </div> |
5281 | bpr | 67 | } |
6946 | bpr | 68 | \answer{}{\mot}{type=case} |