Subversion Repositories wimsdev

Rev

Rev 5903 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5903 Rev 15210
Line 1... Line 1...
1
 
1
 
2
<h3>Il formato OEF</h3>
2
<h2>Il formato OEF</h2>
3
<p>
3
<p>
4
 
4
 
5
OEF significa ``online exercise format'', un formato speciale per programmare
5
OEF significa ``online exercise format'', un formato speciale per programmare
6
esercizi interattivi per l'insegnamento <em>computer-aided</em>. Lo scopo dell'ideazione
6
esercizi interattivi per l'insegnamento <em>computer-aided</em>. Lo scopo dell'ideazione
7
di questo formato è quello di creare uno standard per lo scambio di contenuti
7
di questo formato è quello di creare uno standard per lo scambio di contenuti
Line 15... Line 15...
15
!! tolta la seguente: mi sembra obsoleta
15
!! tolta la seguente: mi sembra obsoleta
16
!! It is hard to imagine, at least for the time being,
16
!! It is hard to imagine, at least for the time being,
17
!! the WIMS exercises such as Q-Puzzle, the Coincidence series or again the
17
!! the WIMS exercises such as Q-Puzzle, the Coincidence series or again the
18
!! Shoot series, be transformed into oef format.
18
!! Shoot series, be transformed into oef format.
19
</p><p>
19
</p><p>
20
&Egrave; possibile anche consultare gli
20
È possibile anche consultare gli
21
!href cmd=help&special_parm=examples esempi
21
!href cmd=help&special_parm=examples esempi
22
 per avere un'idea della struttura di un file OEF.
22
 per avere un'idea della struttura di un file OEF.
23
 </p>
23
 </p>
24
<h4>Sintassi</h4>
24
<h3>Sintassi</h3>
25
<p>Il formato OEF è molto simile al formato LaTeX. It is composed of
25
<p>Il formato OEF è molto simile al formato LaTeX. È costituito da comandi
26
directives followed by one or more parameters. A directive is a word
26
seguiti da uno o più parametri. Un comando è una parola
27
preceeded by the character <span class="tt wims_code_words">\</span>,
27
preceduta dal carattere <span class="tt wims_code_words">\</span>,
28
and the parameters are enclosed in braces.
28
e i parametri sono inclusi in parentesi graffe.
29
For example, in the following sentence
29
Per esempio, nell'istruzione seguente
-
 
30
</p>
30
</p><pre>
31
<pre>
31
   \choice{The answer is}{yes}{no}
32
   \answer{La risposta è}{1;,no}{type=radio}
32
</pre>
33
</pre>
-
 
34
il comando è <span class="tt wims_code_words">answer</span>,
-
 
35
che ammette 3 parametri: <span class="tt wims_code_words">La risposta è</span>, <span class="tt wims_code_words">1;,no</span>
-
 
36
e <span class="tt wims_code_words">type=radio</span>.
-
 
37
Nell'istruzione
-
 
38
<pre>
-
 
39
   \choice{La risposta è}{sì}{no}
-
 
40
</pre>
33
there is a directive named <span class="tt wims_code_words">choice</span>,
41
il comando è <span class="tt wims_code_words">choice</span>,
34
which has 3 parameters, namely, <span class="tt">The answer is</span>, <span class="tt wims_code_words">yes</span>
42
che ammette 3 parametri: <span class="tt wims_code_words">La risposta è</span>, <span class="tt wims_code_words"></span>
35
and <span class="tt wims_code_words">no</span>.
43
e <span class="tt wims_code_words">no</span>.
-
 
44
 
36
 
45
 
37
<h4>List of directives</h4>
46
<h3>Elenco dei comandi</h3>
38
<p>Here is a brief list of directives recognized by the OEF manager of WIMS.
47
<p>Qui di seguito un breve elenco dei principali comandi per esercizi OEF riconosciuti da WIMS.
39
See also
48
Si vedano anche le
40
!href cmd=help&special_parm=parameters help on parameters
49
!href cmd=help&special_parm=parameters istruzioni sui parametri
41
 for the syntax to define parameters.
50
 per la sintassi dei vari parametri utilizzabili.
42
 </p>
51
 </p>
43
 
52