default,Auto,scelta automatica tra alcune tipologie base\
raw,Testo `raw',con confronto di stringhe a seconda delle opzioni\
numeric,Numeri, con possibilità di impostare la precisione\
function,Funzioni numeriche, funzioni con controllo numerico\
equation,Equazioni numeriche,equazioni con controllo numerico\
exp|algexp litexp formal,Esprssioni matematiche, con un controllo della correttezza formale dell'espressione\
text|case nocase,Testo, parole o frasi\
multiple|checkbox click menu radio mark flashcard multipleclick,Scelte multiple ,bottoni o menu\
atext,Testo approssimativo, con riconoscimento di singolare/plurale etc.\
chembrut,Formule di molecole,in chimica\
chemdraw,Disegno di una molecola,richiede Java\
chemclick,Seleziona atomi o legami in una molecola,richiede Java\
chemeq,Equazioni chimiche, con analisi with balance analysis\
chset,Insieme di caratteri,\
clickfill|clickfill dragfill,Drag-and-drop,trascina-e-rilascia oggetti (testo e immagini) \
clicktile,Colora quadrettature, richiede java\
compose,Compose, using given components\
coord,Click su una immagine, con riconoscimnti delle coordinate del click\
correspond,Corrispondenza, stabilisci una corrispondenza accoppiando oggetti\
crossword,Parole crociate\
chessgame,Posizionamento di pezzi su una scacchiera\
geogebra,Costruzione geometrica,utilizza GeoGebra\
javacurve,Disegno (Java), \
jmolclick,Click on 3D atoms, use applet Jmol\
keyboard,Testo, mostra una tastiera\
matrix,Matrice, matematica\
numexp,Numero razionale, richide una frazione\
puzzle,Riordina un'immagine, come in un puzzle\
range,Number within a given range, anything within the range is accepted\
reorder,Reordering, given list of objects\
set|set fset aset,Finite set,literal, formal or approximative\
sigunits,Sigunits,number with unit and significant digits\
symtext,Symtext,advanced tool of text identification\
units,Number with unit, for physics\
vector,Vector,formal comparison of components\
wlist,List of words,\
!set namelist=Basic types, Specific or advanced types
!set symtextlist=text atext raw compose
<center><h3>User replies to an exercise</h3></center> <p>
Un esercizio OEF può prevedere tipi di risposta molto diversi. Oltre alle
domande standard a scelta multipla o risposte libere sono possibili
moltre altre possibilità.
Le rispote date dall'utente sono analizzate in base al tipo. È anche
possibile creare dei
!href cmd=help&special_parm=feedback feedbacks
che vengono mostrati all'utente se la risposta soddisfa determinate condizioni
(ad esempio per commentare un errore tipico).
<a name="freestyle"></a>
Up to $answerlim simultaneous freestyle answers can be asked for one
exercise, under the current implementation. <p>
The syntax is as follows:
<pre>\answer{Texte}{\reponse}{type=...}{option=...}{weight=...}</pre>
(The last 3 fields are optional.)
<p>
<h3>The parameter <tt class="wims_code_words">type</tt></h3>
Each freestyle answer can independently take one of the following types.
!for i=1 to 2
<p><b>$(namelist[$i])</b>
!set n=!linecnt $(typelist$i)
<ul>
!for j=1 to $n
!set l=!line $j of $(typelist$i)
!distribute item $l into name,title
!set desc=!item 3 to -1 of $l
!set name=!replace internal | by , in $name
!set name1=!item 2 to -1 of $name
!set name=!item 1 of $name
!default name1=$name
!if $name isitemof $special_parm or all isitemof $special_parm
<li><a name="_$name"></a>
!read help/anstype/$name.phtml
!if $name iswordof $symtextlist
<p>
<b>Remark</b>.
This type of reply accepts the symtext option. If the word
<tt class="wims_code_words">symtext</tt> is declared in the option of the reply, the analysis of
the reply will be exactly as for
!href cmd=help&special_parm=reply,symtext#_symtext symtext
, in particular with no preliminary processing of the texts. And all the
symtext options will be understood in this case.
!endif
<p>
!else
<li>
!href cmd=help&special_parm=reply,$name#_$name $title
(<tt class="wims_code_words">$name1</tt>) $desc.
</li>
!endif
!next j
</ul>
!next i
!read help/$lang/embedans.phtml
<h3>The optional parameter <tt class="wims_code_words">weight</tt></h3>
<a name="weight"></a>
It is possible to give a weight to answers.
<p>
Example :
<pre>\answer{}{1}{type=numeric}{weight=8}
\answer{}{1}{type=numeric}{weight=2}
</pre>
Le niveau de sévérité sera aussi pris en compte lors du
calcul fait et le pourcentage sera pris sur un pourcentage fixé
par le niveau de sévérité.
One can put variables in <tt class="wims_code_words">weight</tt>.
<p>
Example :
<pre>
\text{w = \t = 1 ? 1 : 2}
\answer{}{1}{type=numeric}{weight=\t}
\answer{}{1}{type=numeric}{weight=3}
</pre>
<h3>Le paramètre optionnel <tt class="wims_code_words">option</tt></h3>
<a name="option"></a>
Dans le cas de plusieurs options, elles sont séparées par des espaces.
For example, <tt class="wims_code_words">option=default noanalyzeprint</tt>
Les options possibles à la suite d'une instruction <tt class="wims_code_variable">\answer</tt>
ou <tt class="wims_code_variable">\condition</tt> sont
<ul>
<li><tt class="wims_code_words">option=default</tt> : The option <tt class="wims_code_words">default</tt> is common for all free answers :
This option can take
the form <tt class="wims_code_words">default="default_value"</tt>. If the
user gives an
empty reply
, it is the default_value that will take place
.
</li>
<li>
<tt class="wims_code_words">option=split</tt> : In case of type = <tt class="wims_code_words">correspond</tt>, <tt class="wims_code_words">checkbox</tt> or <tt class="wims_code_words">mark</tt>,
there will be partial score.
</li>
<li>
<tt class="wims_code_words">option=nonstop</tt> : In case of step exercises,
following questions are asked even if the answer is false.
</li>
<li><tt class="wims_code_words">option=noanalyzeprint</tt> : Le texte automatique d'analyse de réponses n'est
pas affiché. C'est donc à l'auteur de l'exercice de fournir un feedback convenable.
Cela est utile dans certains types comme le type <tt class="wims_code_words">mark</tt> où le texte automatique
est souvent inadéquat. Attention, l'analyse des conditions n'est pas non plus affichée.
Seul le score subsiste.</li>
<li>Following the instruction <tt class="wims_code_words">condition</tt>,
<tt class="wims_code_words">option=hide</tt>: The condition is used to analyze the
answer but will not be printed.
</li>
</ul>
D'autres options peuvent être utilisables dans des types particuliers de réponses.
<p>
<h3>Testing conditions</h3>
Under certain circumstances, it is desired that freestyle answers be tested
by special conditions (questions with multiple good answers, exercises
asking for examples, answers determined by inequalities, etc). This can be
done in the following way. <p>
If the good answer to a freestyle question is an undefined variable, the
answer to this question will be fed into this variable. The latter can then
be used to implement testing conditions. The score given to the exercise is
then determined by the number of testing conditions which are met, rather
than the number of answers which meet the good answers.
<p>
Up to
$condlim simultaneous conditions can be
defined for one
exercise
, under the
current implementation
. The syntax is
as follows
.
<pre>
\condition{prompt text}{testing conditions}{weight=...}
</pre>
(The last field is optional.)
<p>
Here are some examples of testing conditions. (<tt class="wims_code_variable">\ans1</tt> and
<tt class="wims_code_variable">\ans2</tt> are undefined variables appearing in freestyle answers, as
described above.)
<small>
!href target
=wims_mhelp cmd
=help
&special_parm
=if Complete
list of relations
</small>
<p>
$table_header
$table_hdtr<th>Condition</th><th>meaning</th></tr>
$table_tr<td><tt class="wims_code_words">\ans1>=0 and \ans1<=1</tt></td>
<td>Good if <tt class="wims_code_words">ans1</tt> is within the interval [0,1].</td></tr>
$table_tr<td><tt class="wims_code_words">\ans1=1 or \ans1=3 or \ans1=5</tt></td>
<td>Good if <tt class="wims_code_words">ans1</tt> is 1, 3 or 5.</td></tr>
$table_tr<td><tt class="wims_code_words">(\ans1)*(\ans2)=6 and (\ans1)+(\ans2)=5</tt></td>
<td>Good if <tt class="wims_code_words">ans1</tt> and <tt class="wims_code_words">ans2</tt> are the two
roots of the polynomial x<sup>2</sup>-5x+6.</td></tr>
$table_tr<td
><tt
class="wims_code_words">sin(\ans1
)=0</tt
></td
>
<td>Good if <tt class="wims_code_words">ans1</tt> is a multiple of $m_pi.</td></tr>
$table_end <p>
See
!href cmd=help&special_parm=oef help on oef format
for the syntax for defining replies.