Rev 13501 | 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 |
| 13715 | obado | 2 | textarea="data instruction" |
| 3 | iEdit="instruction" |
||
| 5281 | bpr | 4 | |
| 5638 | czzmrn | 5 | :Scegliere una parola corrispondente all'immagine (o al testo presentato) |
| 6 | Attenzione, questo modello funziona solo se si caricano le immagini su wims. |
||
| 5281 | bpr | 7 | <p> |
| 5638 | czzmrn | 8 | Per costruire un esercizio basato su questo modello è sufficiente inserire l'elenco delle immagini e delle parole corrispondenti. |
| 5281 | bpr | 9 | </p> |
| 10 | $image_help |
||
| 13479 | obado | 11 | <p class="wims_credits"> |
| 5638 | czzmrn | 12 | Autore del modello: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
| 5281 | bpr | 13 | </p> |
| 5638 | czzmrn | 14 | :%%%%%%%%%%%%%%%%% ATTENZIONE %%%%%%%%%%%%%%%%%%%% |
| 5281 | bpr | 15 | |
| 5638 | czzmrn | 16 | Se si rimuovono le indicazioni del modulo modelli (le righe che |
| 17 | cominciano con ':') è necessario rimuovere tutta questa parte |
||
| 18 | introduttiva del file. Altrimenti Createxo potrebbe non accettare il |
||
| 19 | codice dell'esercizio. |
||
| 5281 | bpr | 20 | |
| 5638 | czzmrn | 21 | :%%%%%%%% Parametri che possono essere ridefiniti %%%%%%%%%%%%%%%%% |
| 5281 | bpr | 22 | |
| 5638 | czzmrn | 23 | :\title{Selezionare l'etichetta corretta} |
| 5281 | bpr | 24 | :\author{Bernadette, Perrin-Riou} |
| 25 | :\email{bpr@math.u-psud.fr} |
||
| 5724 | bpr | 26 | :\credits{} |
| 13479 | obado | 27 | |
| 5638 | czzmrn | 28 | :Consegna |
| 29 | \text{instruction=Cliccare sulla parola corrispondente all'immagine. |
||
| 30 | (l'esercizio funziona solo nel momento in cui si caricano le immagini nell'eserczio)} |
||
| 5281 | bpr | 31 | |
| 5638 | czzmrn | 32 | :Dati |
| 33 | \text{data=amphitheatre.png, l'anfiteatro |
||
| 34 | aqueduc.png, l'acquedotto |
||
| 35 | arcdetriomphe.png, l'arco di trionfo |
||
| 36 | cirque.png, il circo |
||
| 5281 | bpr | 37 | domus.png, la domus |
| 5638 | czzmrn | 38 | temple.png, il tempio |
| 39 | theatre.png, il teatro |
||
| 40 | thermes.png, le terme |
||
| 5281 | bpr | 41 | } |
| 42 | |||
| 5638 | czzmrn | 43 | :Numero di disturbatori. |
| 5281 | bpr | 44 | \integer{cntpertub=3} |
| 13479 | obado | 45 | |
| 5638 | czzmrn | 46 | :La dimensione verticale (pixel) delle etichette. |
| 5281 | bpr | 47 | \text{sizev=40} |
| 13479 | obado | 48 | |
| 5638 | czzmrn | 49 | :La dimensione orizzontale (pixel) delle etichette. |
| 5281 | bpr | 50 | \text{sizeh=200} |
| 5638 | czzmrn | 51 | :%%%%%%%%%%%%% Enunciato (in html). %%%%%%%%%%%%%%%%%%%% |
| 5281 | bpr | 52 | |
| 53 | \text{mot = randrow(\data)} |
||
| 54 | \text{image=\mot[1]} |
||
| 55 | \text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))} |
||
| 56 | \text{mot =\mot[2]} |
||
| 57 | \text{liste=column(2, \data)} |
||
| 58 | \text{perturb=wims(listcomplement \mot in \liste)} |
||
| 59 | \text{perturb=shuffle(\perturb)} |
||
| 60 | \text{perturb=\perturb[1..\cntpertub]} |
||
| 61 | |||
| 62 | |||
| 63 | \statement{ |
||
| 64 | \instruction |
||
| 8530 | czzmrn | 65 | <p class="wimscenter"> |
| 5639 | bpr | 66 | \if{\ext isitemof png,gif,jpg,jpeg}{ |
| 5281 | bpr | 67 | \img{\imagedir/\image} |
| 13501 | czzmrn | 68 | }{\image} |
| 69 | </p> |
||
| 5281 | bpr | 70 | |
| 8530 | czzmrn | 71 | <p class="wimscenter"> |
| 5281 | bpr | 72 | \embed{r1,\sizeh x \sizev} |
| 73 | </p> |
||
| 74 | } |
||
| 13501 | czzmrn | 75 | |
| 11375 | bpr | 76 | \answer{}{\mot;\perturb}{type=clickfill} |