Subversion Repositories wimsdev

Rev

Rev 16261 | 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
 
11377 bpr 5
:Écrire le mot entendu (à partir d'audios existants sur le serveur WIMS).
5275 bpr 6
 
5276 bpr 7
Un audio est proposé et le texte entendu doit être écrit exactement. Les audio sont
5275 bpr 8
pris parmi la base d'audio de mots enregistrés de WIMS. Si l'exercice est dans une classe,
5276 bpr 9
avec une adapatation, il peut être utilisé avec des audios mis dans la classe.
10913 bpr 10
<p>
11
Pour construire un exercice avec ce modèle, il suffit de taper la liste de
5275 bpr 12
mots à condition qu'ils existent dans la base d'audio (pour vérifier, taper
13
swac dans le moteur de recherche et utiliser l'outil proposé).
5276 bpr 14
</p><p>
5275 bpr 15
Pour plus de possibilités, utiliser Quicktool.
13488 obado 16
</p><p class="wims_credits">
15179 lemaire 17
Auteur du modèle : <a href="mailto:bernadette.m.riou@orange.fr">Bernadette Perrin-Riou</a>
5275 bpr 18
</p>
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
:\title{Écouter et écrire}
28
:\author{Bernadette, Perrin-Riou}
16261 bpr 29
:\email{bernadette.m.riou@orange.fr}
5724 bpr 30
:\credits{}
13488 obado 31
 
5275 bpr 32
:Consigne
13765 bpr 33
\text{instruction=Écris le mot entendu, sans erreur d'orthographe.}
5275 bpr 34
 
35
:Liste de mots
16260 bpr 36
S'il y a plusieurs lignes, les distracteurs seront pris sur la même ligne que le mot choisi.
37
\matrix{liste=doctor,teacher,journalist,policeman, fireman, postman
38
70,71,72,73,74,75
39
60,61,62,63,64,65
40
}
5275 bpr 41
 
16261 bpr 42
:Langue audio : les choix possibles sont <span class="tt">fra</span>, <span class="tt">eng</span>, <span class="tt">dut</span> (et d'autres avec moins de possibilités <span class="tt">pol</span>, <span class="tt">wol</span>, <span class="tt">deu</span>, <span class="tt">swe</span>.)
5275 bpr 43
\text{lang = eng}
13488 obado 44
 
13716 obado 45
:Taille verticale des cases (en nombres de caractères)
5275 bpr 46
\integer{size=12}
13488 obado 47
 
16262 bpr 48
:Option
49
Selon l'option, tous les mots d'une ligne prise au hasard dans la liste
50
des mots sont proposés successivement (au plus 10 mots) ou un seul aléatoirement
10913 bpr 51
\text{choix=item(1,1 tout,
52
2 un seul)}
5275 bpr 53
 
54
:%%%%%%%%%%%%% Maintenant l'énoncé en code html. %%%%%%%%%%%%%%%%%%%%
10913 bpr 55
\text{choix=wims(word 1 of \choix)}
56
\text{Audio =}
16260 bpr 57
\text{list=randrow(\liste)}
58
\text{mots=\choix=1 ? shuffle(\list): randitem(\list)}
10913 bpr 59
\integer{cnt=items(\mots)}
60
\integer{cnt=min(10,\cnt)}
61
\for{j=1 to \cnt}{
62
  \text{audio = slib(lang/swac \mots[\j],\lang)}
63
  \text{Audio = wims(append item \audio[1;1] to \Audio)}
64
}
65
\text{etape=wims(makelist r x for x=1 to \cnt)}
66
\text{etape=wims(replace , by ; in \etape)}
67
\steps{\etape}
5275 bpr 68
 
69
\statement{
16074 bpr 70
  <div class="wims_question">\instruction</div>
13488 obado 71
  <div class="wimscenter">\Audio[\step]</div>
72
  <div class="wimscenter">
16260 bpr 73
    \embed{r \step,\size
13488 obado 74
      default
16260 bpr 75
    }
13488 obado 76
  </div>
77
}
5275 bpr 78
 
10913 bpr 79
\answer{}{\mots[1]}{type=case}{option=nonstop}
80
\answer{}{\mots[2]}{type=case}{option=nonstop}
81
\answer{}{\mots[3]}{type=case}{option=nonstop}
82
\answer{}{\mots[4]}{type=case}{option=nonstop}
83
\answer{}{\mots[5]}{type=case}{option=nonstop}
84
\answer{}{\mots[6]}{type=case}{option=nonstop}
85
\answer{}{\mots[7]}{type=case}{option=nonstop}
86
\answer{}{\mots[8]}{type=case}{option=nonstop}
87
\answer{}{\mots[9]}{type=case}{option=nonstop}
88
\answer{}{\mots[10]}{type=case}{option=nonstop}