Subversion Repositories wimsdev

Rev

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="instruction"
3
iEdit="instruction"
5275 bpr 4
 
12171 mquerol 5
:Triar entre les etiquetes la paraula que s'ha escoltat (des dels àudios existents al servidor WIMS).
5275 bpr 6
 
12171 mquerol 7
Es proposa un àudio i s'ha de triar l'etiqueta del text. L'àudio s'agafa
8
de la base d'àudio de paraules registrades de WIMS. Si l'exercici es troba en una classe,
9
amb una adaptació, es pot utilitzar amb àudios posats a la classe.
5276 bpr 10
<p>
12171 mquerol 11
Per construir un exercici amb aquest model, simplement escriviu la llista de
12
paraules sempre que existeixen a la base d'àudio (per comprovar-ho, escriviu
13
swac al motor de cerca i utilitzeu l'eina proposada).
14
</p><p>
15
Per obtenir més possibilitats, utilitzeu Quicktool.
13476 obado 16
</p><p class="wims_credits">
12171 mquerol 17
Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr>
5276 bpr 18
</p>
5275 bpr 19
:%%%%%%%%%%%%%%%%%      ATTENTION      %%%%%%%%%%%%%%%%%%%%
20
 
21
Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle !
22
(Ce sont les lignes qui commencent par un ':'.)
23
Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo.
24
 
25
:%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%%
26
 
27
 
12171 mquerol 28
:\title{Escoltar i reconèixer}
5275 bpr 29
:\author{Bernadette, Perrin-Riou}
30
:\email{bpr@math.u-psud.fr}
12171 mquerol 31
:\credits{}
13476 obado 32
 
12171 mquerol 33
:Enunciat
34
\text{instruction=Feu clic a la paraula que heu escoltat.}
5275 bpr 35
 
12171 mquerol 36
:Llista de paraules
37
Si hi ha diverses línies, els distractors es prenen de la mateixa línia que la paraula escollida.
5275 bpr 38
\text{liste = doctor,teacher,journalist,policeman, fireman, postman}
39
 
12171 mquerol 40
:Llenguatge d'àudio: les opcions possibles són <span class="tt">fra</span>,  <span class="tt">eng</span>,  <span class="tt">dut</span> (i altres amb menys possibilitats  <span class="tt">pol</span>,  <span class="tt">wol</span>,  <span class="tt">deu</span>,  <span class="tt">swe</span>.)
5275 bpr 41
\text{lang = eng}
13476 obado 42
 
12171 mquerol 43
:Nombre de distractors
5275 bpr 44
\integer{cntpertub=3}
13476 obado 45
 
12171 mquerol 46
:La mida vertical de les caixes en píxels
5275 bpr 47
\integer{sizev=200}
48
 
12171 mquerol 49
:La mida horitzontal de les caixes de l'esquerra en píxels
5275 bpr 50
\integer{sizel=20}
51
 
12171 mquerol 52
:Depenent de l'opció, es proposen totes les paraules o nomes una aleatòriament (com a màxim 10 paraules)
53
\text{choix=item(1,1 totes,
54
2 una sola)}
55
 
5275 bpr 56
:%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%%
12171 mquerol 57
\text{choix=wims(word 1 of \choix)}
58
\text{Audio =}
59
\text{Perturb=}
60
\text{list=randrow(\liste)}
61
\text{mots=\choix=1 ? shuffle(\liste): randitem(\liste)}
62
\integer{cnt=items(\mots)}
63
\integer{cnt=min(10,\cnt)}
64
\for{j=1 to \cnt}{
65
  \text{mot=\mots[\j]}
66
  \text{audio = slib(lang/swac \mot,\lang)}
67
  \text{Audio = wims(append item \audio[1;1] to \Audio)}
68
  \text{perturb=wims(listcomplement \mot in \liste)}
69
  \text{perturb=shuffle(\perturb)}
70
  \text{perturb=\perturb[1..\cntpertub]}
71
  \text{Perturb=wims(append line \perturb to \Perturb)}
72
}
5275 bpr 73
\text{size=\sizev[]x\sizel[]x\sizer}
12171 mquerol 74
\text{etape=wims(makelist r x for x=1 to \cnt)}
75
\text{etape=wims(replace , by ; in \etape)}
76
\steps{\etape}
5275 bpr 77
 
78
\statement{
12171 mquerol 79
<div class="instruction">
5275 bpr 80
\instruction
12171 mquerol 81
</div>
82
<div class="wimscenter">\Audio[\step]</div>
5275 bpr 83
 
6946 bpr 84
<div class="wimscenter">
12171 mquerol 85
\embed{r \step,\size}
6946 bpr 86
</div>
5275 bpr 87
}
12171 mquerol 88
\answer{}{\mots[1];\Perturb[1;]}{type=clickfill}
89
\answer{}{\mots[2];\Perturb[2;]}{type=clickfill}
90
\answer{}{\mots[3];\Perturb[3;]}{type=clickfill}
91
\answer{}{\mots[4];\Perturb[4;]}{type=clickfill}
92
\answer{}{\mots[5];\Perturb[5;]}{type=clickfill}
93
\answer{}{\mots[6];\Perturb[6;]}{type=clickfill}
94
\answer{}{\mots[7];\Perturb[7;]}{type=clickfill}
95
\answer{}{\mots[8];\Perturb[8;]}{type=clickfill}
96
\answer{}{\mots[9];\Perturb[9;]}{type=clickfill}
97
\answer{}{\mots[10];\Perturb[10;]}{type=clickfill}