Subversion Repositories wimsdev

Rev

Rev 4537 | Rev 5903 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !set typelist1=!trim\
  2. default,Auto,scelta automatica tra alcune tipologie base\
  3. raw,Testo `raw',con confronto di stringhe a seconda delle opzioni\
  4. numeric,Numeri, con possibilità di impostare la precisione\
  5. function,Funzioni numeriche, funzioni con controllo numerico\
  6. equation,Equazioni numeriche,equazioni con controllo numerico\
  7. exp|algexp litexp formal,Esprssioni matematiche, con un controllo della correttezza formale dell'espressione\
  8. text|case nocase,Testo, parole o frasi\
  9. multiple|checkbox click menu radio mark flashcard multipleclick,Scelte multiple ,bottoni o menu\
  10.  
  11.  
  12. !set typelist2=!trim\
  13. atext,Testo approssimativo, con riconoscimento di singolare/plurale etc.\
  14. chembrut,Formule di molecole,in chimica\
  15. chemdraw,Disegno di una molecola,richiede Java\
  16. chemclick,Seleziona atomi o legami in una molecola,richiede Java\
  17. chemeq,Equazioni chimiche, con analisi with balance analysis\
  18. chset,Insieme di caratteri,\
  19. clickfill|clickfill dragfill,Drag-and-drop,trascina-e-rilascia oggetti (testo e immagini) \
  20. clicktile,Colora quadrettature, richiede java\
  21. compose,Compose, using given components\
  22. coord,Click su una immagine, con riconoscimnti delle coordinate del click\
  23. correspond,Corrispondenza, stabilisci una corrispondenza accoppiando oggetti\
  24. crossword,Parole crociate\
  25. chessgame,Posizionamento di pezzi su una scacchiera\
  26. geogebra,Costruzione geometrica,utilizza GeoGebra\
  27. javacurve,Disegno (Java),            \
  28. jmolclick,Click on 3D atoms, use applet Jmol\
  29. keyboard,Testo, mostra una tastiera\
  30. matrix,Matrice, matematica\
  31. numexp,Numero razionale, richide una frazione\
  32. puzzle,Riordina un'immagine, come in un puzzle\
  33. range,Number within a given range, anything within the range is accepted\
  34. reorder,Reordering, given list of objects\
  35. set|set fset aset,Finite set,literal, formal or approximative\
  36. sigunits,Sigunits,number with unit and significant digits\
  37. symtext,Symtext,advanced tool of text identification\
  38. units,Number with unit, for physics\
  39. vector,Vector,formal comparison of components\
  40. wlist,List of words,\
  41.  
  42.  
  43. !set namelist=Basic types, Specific or advanced types
  44. !set symtextlist=text atext raw compose
  45.  
  46. <center><h3>User replies to an exercise</h3></center> <p>
  47.  
  48. Un esercizio OEF può prevedere tipi di risposta molto diversi. Oltre alle
  49. domande standard a scelta multipla o risposte libere sono possibili
  50. moltre altre possibilità.
  51. Le rispote date dall'utente sono analizzate in base al tipo. &Egrave; anche
  52. possibile creare dei
  53. !href cmd=help&special_parm=feedback feedbacks
  54.  che vengono mostrati all'utente se la risposta soddisfa determinate condizioni
  55. (ad esempio per commentare un errore tipico).
  56.  
  57. <a name="freestyle"></a>
  58. Up to $answerlim simultaneous freestyle answers can be asked for one
  59. exercise, under the current implementation. <p>
  60. The syntax is as follows:
  61. <pre>\answer{Texte}{\reponse}{type=...}{option=...}{weight=...}</pre>
  62. (The last 3 fields are optional.)
  63. <p>
  64. <h3>The parameter <tt class="wims_code_words">type</tt></h3>
  65. Each freestyle answer can independently take one of the following types.
  66.  
  67. !for i=1 to 2
  68. <p><b>$(namelist[$i])</b>
  69. !set n=!linecnt $(typelist$i)
  70. <ul>
  71. !for j=1 to $n
  72.  !set l=!line $j of $(typelist$i)
  73.  !distribute item $l into name,title
  74.  !set desc=!item 3 to -1 of $l
  75.  !set name=!replace internal | by , in $name
  76.  !set name1=!item 2 to -1 of $name
  77.  !set name=!item 1 of $name
  78.  !default name1=$name
  79.  !if $name isitemof $special_parm or all isitemof $special_parm
  80.   <li><a name="_$name"></a>
  81.   !read help/anstype/$name.phtml
  82.   !if $name iswordof $symtextlist
  83.    <p>
  84.    <b>Remark</b>.
  85.    This type of reply accepts the symtext option. If the word
  86.    <tt class="wims_code_words">symtext</tt> is declared in the option of the reply, the analysis of
  87.    the reply will be exactly as for
  88.    !href cmd=help&special_parm=reply,symtext#_symtext symtext
  89. , in particular with no preliminary processing of the texts. And all the
  90. symtext options will be understood in this case.
  91.   !endif
  92.   <p>
  93.  !else
  94.   <li>
  95.   !href cmd=help&special_parm=reply,$name#_$name $title
  96.   (<tt class="wims_code_words">$name1</tt>) $desc.
  97.   </li>
  98.  !endif
  99. !next j
  100. </ul>
  101. !next i
  102.  
  103. !read help/$lang/embedans.phtml
  104.  
  105. <h3>The optional parameter <tt class="wims_code_words">weight</tt></h3>
  106. <a name="weight"></a>
  107. It is possible to give a weight to answers.
  108. <p>
  109. Example :
  110. <pre>\answer{}{1}{type=numeric}{weight=8}
  111. \answer{}{1}{type=numeric}{weight=2}
  112. </pre>
  113.  
  114. Le niveau de sévérité  sera aussi pris en compte lors du
  115. calcul fait et le pourcentage sera pris sur un pourcentage fixé
  116. par le niveau de sévérité.
  117.  
  118. One can put variables in <tt class="wims_code_words">weight</tt>.
  119. <p>
  120. Example :
  121. <pre>
  122. \text{w = \t = 1 ? 1 : 2}
  123. \answer{}{1}{type=numeric}{weight=\t}
  124. \answer{}{1}{type=numeric}{weight=3}
  125. </pre>
  126.  
  127. <h3>Le paramètre optionnel <tt class="wims_code_words">option</tt></h3>
  128. <a name="option"></a>
  129. Dans le cas de plusieurs options, elles sont séparées par des espaces.
  130. For example, <tt class="wims_code_words">option=default noanalyzeprint</tt>
  131.  
  132. Les options possibles à la suite d'une instruction <tt class="wims_code_variable">\answer</tt>
  133. ou <tt class="wims_code_variable">\condition</tt> sont
  134. <ul>
  135. <li><tt class="wims_code_words">option=default</tt> : The option <tt class="wims_code_words">default</tt> is common for all free answers :
  136. This option can take
  137. the form <tt class="wims_code_words">default="default_value"</tt>. If the
  138. user gives an empty reply, it is the default_value that will take place.
  139. </li>
  140. <li>
  141. <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>,
  142. there will be partial score.
  143. </li>
  144. <li>
  145. <tt class="wims_code_words">option=nonstop</tt> : In case of step exercises,
  146. following questions are asked even if the answer is false.
  147. </li>
  148. <li><tt class="wims_code_words">option=noanalyzeprint</tt> : Le texte automatique d'analyse de réponses n'est
  149. pas affiché. C'est donc à l'auteur de l'exercice de fournir un feedback convenable.
  150. Cela est utile dans certains types comme le type <tt class="wims_code_words">mark</tt> où le texte automatique
  151. est souvent inadéquat. Attention, l'analyse des conditions n'est pas non plus affichée.
  152. Seul le score subsiste.</li>
  153. <li>Following the instruction <tt class="wims_code_words">condition</tt>,
  154. <tt class="wims_code_words">option=hide</tt>: The condition is used to analyze the
  155. answer but will not be printed.
  156. </li>
  157. </ul>
  158. D'autres options peuvent être utilisables dans des types particuliers de réponses.
  159. <p>
  160.  
  161. <h3>Testing conditions</h3>
  162. Under certain circumstances, it is desired that freestyle answers be tested
  163. by special conditions (questions with multiple good answers, exercises
  164. asking for examples, answers determined by inequalities, etc). This can be
  165. done in the following way. <p>
  166. If the good answer to a freestyle question is an undefined variable, the
  167. answer to this question will be fed into this variable. The latter can then
  168. be used to implement testing conditions. The score given to the exercise is
  169. then determined by the number of testing conditions which are met, rather
  170. than the number of answers which meet the good answers.
  171. <p>
  172. Up to $condlim simultaneous conditions can be defined for one
  173. exercise, under the current implementation. The syntax is as follows.
  174. <pre>
  175. \condition{prompt text}{testing conditions}{weight=...}
  176. </pre>
  177. (The last field is optional.)
  178. <p>
  179. Here are some examples of testing conditions. (<tt class="wims_code_variable">\ans1</tt> and
  180. <tt class="wims_code_variable">\ans2</tt> are undefined variables appearing in freestyle answers, as
  181. described above.)
  182. <small>
  183. !href target=wims_mhelp cmd=help&special_parm=if Complete list of relations
  184. </small>
  185. <p>
  186. $table_header
  187. $table_hdtr<th>Condition</th><th>meaning</th></tr>
  188. $table_tr<td><tt class="wims_code_words">\ans1>=0 and \ans1<=1</tt></td>
  189.     <td>Good if <tt class="wims_code_words">ans1</tt> is within the interval [0,1].</td></tr>
  190. $table_tr<td><tt class="wims_code_words">\ans1=1 or \ans1=3 or \ans1=5</tt></td>
  191.     <td>Good if <tt class="wims_code_words">ans1</tt> is 1, 3 or 5.</td></tr>
  192. $table_tr<td><tt class="wims_code_words">(\ans1)*(\ans2)=6 and (\ans1)+(\ans2)=5</tt></td>
  193.     <td>Good if <tt class="wims_code_words">ans1</tt> and <tt class="wims_code_words">ans2</tt> are the two
  194.     roots of the polynomial x<sup>2</sup>-5x+6.</td></tr>
  195. $table_tr<td><tt class="wims_code_words">sin(\ans1)=0</tt></td>
  196.     <td>Good if <tt class="wims_code_words">ans1</tt> is a multiple of $m_pi.</td></tr>
  197. $table_end <p>
  198. See
  199. !href cmd=help&special_parm=oef help on oef format
  200.  for the syntax for defining replies.
  201.  
  202.