Subversion Repositories wimsdev

Rev

Rev 14620 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <li><b>Author-controlable multiple choices</b>: <span class="tt wims_code_words">checkbox</span>,
  2.  <span class="tt wims_code_words">click</span>, <span class="tt wims_code_words">menu</span>,
  3.  <span class="tt wims_code_words">radio</span>, <span class="tt wims_code_words">mark</span>, <span class="tt wims_code_words">flashcard</span><br>
  4.  These can be used to replace the standard multiple choice input, giving
  5.  you more control on its appearance. The correct answer should contain two
  6.  fields, separated by a semi-colon <span class="tt wims_code_words">;</span>. The second field (after
  7.  the semi-colon) is the list of choice texts, and the first field is a list
  8.  of numbers of the correct choices. In the case of <span class="tt wims_code_words">checkbox</span>
  9.  and of <span class="tt wims_code_words">flashcard</span>, the user
  10.  must check exactly all the correct choices. For all the
  11.  other cases, any correct choice will be enough.
  12.  In case of <span class="tt wims_code_words">flashcard</span>, the third line is showed on the hident face of the
  13.  cards (default: interogation points).
  14.  <p>
  15.  For types <span class="tt wims_code_words">checkbox</span>, <span class="tt wims_code_words">menu</span>, <span class="tt wims_code_words">click</span>,
  16.  <span class="tt wims_code_words">radio</span> and <span class="tt wims_code_words">flashcard</span>, an option
  17.  called <span class="tt wims_code_words">shuffle</span> can be specified, that has the
  18.  effect of randomly shuffling the order of items in the multiple choice
  19.  presented to students.
  20.  <p>
  21.  Automatic shuffle is not applied without the option <span class="tt wims_code_words">shuffle</span>,
  22.  and the number of choice items is not automatically cut.
  23.  <p>
  24.  And for an opposite effect, the option word <span class="tt wims_code_words">sort</span> makes the items
  25.  always presented in alphabetic order.
  26.  <p>
  27.  <span class="tt wims_code_words">click</span> should be used only in the case where there is no other
  28.  replies or choices.
  29.  <p>
  30.  The type <span class="tt wims_code_words">menu</span> accepts an option <span class="tt wims_code_words">multiple</span> with value. The
  31.  value of this option gives the maximal size (by default 8) of the choice
  32.  window. For example, <span class="tt wims_code_words">multiple=5</span> gives a multiple menu window up
  33.  to 5 lines.
  34.  <p>
  35.  <span class="tt wims_code_words">mark</span> works similarly as <span class="tt wims_code_words">checkbox</span>, with the difference
  36.  that instead of a button, the chosen item itself will change color. It is
  37.  therefore principally for inline use.
  38.  <p>
  39.  
  40.  In case of <span class="tt wims_code_words">flashcard</span>, the choices (cards) are hident and the correct choices
  41.  must be returned. With the option <span class="tt wims_code_words">show</span>, the cards are seen and the correct choices
  42.  must be hiden. The number of clicks on each cards are send in the second line of
  43.  the variable <span class="tt wims_code_words">\reply</span>n.
  44.  
  45.  <p>
  46.  For types where several choices can be entered (<span class="tt wims_code_words">checkbox</span>,
  47.  <span class="tt wims_code_words">mark</span>, as well as <span class="tt wims_code_words">menu</span> with option <span class="tt wims_code_words">multiple</span>),
  48.  by default the student will be zero score whenever the answer is different
  49.  from the given correct answer. If you want to give partial score for partially
  50.  correct answers, you can add the option word <span class="tt wims_code_words">split</span> (synonym:
  51.  <span class="tt wims_code_words">partialscore</span>. In this case, the partial score will be computed
  52.  according to the proportion of correct answers picked by the student. On the
  53.  other hand, if wrong answers are picked, every wrong answer will compensate
  54.  two correct answers until the score reaches 0. Such a policy is necessary,
  55.  among others, for dissuading people from taking all the available choices
  56.  in case there are many correct ones.
  57.  <p>
  58.  While such a formula should fit most of the situations, you can add an
  59.  option word <span class="tt wims_code_words">eqweight</span> if this is not your case. This word forces
  60.  the computation to be of equal weight both positively and negatively,
  61.  that is, every wrong answer compensates only one correct answer. But you are
  62.  warned that this seemingly just policy may lead to weird effects!
  63.  
  64. Dans le cas d'utilisation de la commande <span class="tt wims_code_words">\embed</span>, il est possible de placer
  65. précisément le k-ème item  en écrivant <span class="tt wims_code_words">\embed{r</span>n<span class="tt wims_code_words">,k}</span>
  66. avec <span class="tt wims_code_words">n</span> le numéro de la question. Dans le cas de <span class="tt wims_code_words">flashcard</span>, on peut de plus
  67. préciser sur les deux lignes suivantes le style css des cartes (style associé à la balise div).
  68. (il doit être le même pour chaque carte, dans le cas de style différent, c'est le dernier placé
  69. qui est utilisé dans la réponse).
  70. Par exemple,
  71. <pre>
  72. \embed{r1,4
  73. style="display:inline-block;min-width:30px;min-height:30px;padding-top:10px;padding-bottom:5px;background-color:red;"
  74. style="display:inline-block;min-width:30px;min-height:30px;padding-top:10px;padding-bottom:5px;background-color:blue;"
  75. }
  76. </pre>
  77.  
  78.  
  79.