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