Rev 11375 | Rev 13716 | 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 |
| 5281 | bpr | 2 | textarea="data" |
| 3 | |||
| 4 | :Choisir parmi des étiquettes ce qui correspond à l'image (ou au texte présenté) |
||
| 5 | Attention, ce modèle ne fonctionnera bien que si vous chargez les images sur wims. |
||
| 6 | <p> |
||
| 7 | Pour construire un exercice avec ce modèle, il suffit de taper la liste des images et |
||
| 8 | des étiquettes correspondantes |
||
| 9 | </p> |
||
| 10 | $image_help |
||
| 13488 | obado | 11 | <p class="wims_credits"> |
| 5281 | bpr | 12 | Auteur du modèle : Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
| 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 | |||
| 22 | :\title{Reconnaître une image} |
||
| 23 | :\author{Bernadette, Perrin-Riou} |
||
| 24 | :\email{bpr@math.u-psud.fr} |
||
| 5724 | bpr | 25 | :\credits{} |
| 13488 | obado | 26 | |
| 5281 | bpr | 27 | :Consigne |
| 28 | \text{instruction=Ecris le mot correspondant à l'image (l'exercice ne fonctionnera que quand les images seront chargées |
||
| 29 | dans l'exercice)} |
||
| 30 | |||
| 31 | :Données |
||
| 32 | \text{data=amphitheatre.png,l'amphithéâtre |
||
| 33 | aqueduc.png, l'aqueduc |
||
| 34 | arcdetriomphe.png,l'arc de triomphe |
||
| 35 | cirque.png, le cirque |
||
| 36 | domus.png, la domus |
||
| 37 | temple.png, le temple |
||
| 38 | theatre.png, le théâtre |
||
| 39 | thermes.png, les termes |
||
| 40 | } |
||
| 41 | |||
| 42 | :La taille des cases en pixels. |
||
| 43 | \text{sizeh=40} |
||
| 44 | :%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%% |
||
| 45 | |||
| 46 | \text{mot = randrow(\data)} |
||
| 7341 | bpr | 47 | \text{mot=wims(embraced randitem \mot)} |
| 5281 | bpr | 48 | \text{image=\mot[1]} |
| 49 | \text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))} |
||
| 50 | \text{mot =\mot[2]} |
||
| 51 | |||
| 52 | \statement{ |
||
| 13488 | obado | 53 | \instruction |
| 54 | <p class="wimscenter"> |
||
| 55 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
||
| 56 | \img{\imagedir/\image} |
||
| 57 | } |
||
| 58 | {\image} |
||
| 59 | </p> |
||
| 60 | <div class="wimscenter"> |
||
| 61 | \embed{r1,\sizeh |
||
| 62 | default |
||
| 63 | autocomplete="off"} |
||
| 64 | </div> |
||
| 65 | } |
||
| 5281 | bpr | 66 | |
| 6946 | bpr | 67 | \answer{}{\mot}{type=case} |