Diff for /loncom/html/adm/help/tex/Docs_Numerical_Response.tex between versions 1.2 and 1.3

version 1.2, 2013/11/27 21:40:15 version 1.3, 2016/08/20 17:48:11
Line 6  Enter the question you wish to ask in th Line 6  Enter the question you wish to ask in th
   
 Editing of this problem type requires the specification of an answer in the ``Correct answer'' text box.  Editing of this problem type requires the specification of an answer in the ``Correct answer'' text box.
   
 If you wish to use units, enter a supported unit in the ``Units'' text box. Unless the required answer will be a pure integer you should include a tolerance in the ``Tolerance'' text box. Tolerances can be set to be relative (by ending the entry in the tolerance textbox with a \%), or absolute.  If you wish to restrict the number of significant disgits which may be entered, replace the default (1,15) with either a single digit, or two comma separated digits (min and max number of signficant digits required).  The format text box controls the formatting used when the 'correct' answer is displayed to a student.  If you wish to use units, enter a supported unit in the ``Units'' text box. Unless the required answer will be a pure integer you should include a tolerance in the ``Tolerance'' text box. Tolerances can be set to be relative (by ending the entry in the tolerance textbox with a \%), or absolute.  If you wish to restrict the number of significant disgits which may be entered, replace the default (1,15) with either a single digit, or two comma separated digits (min and max number of signficant digits required).  The format text box controls the formatting used when the `correct' answer is displayed to a student.
   
 The answer which students need to enter for a Numerical Response question type can be determined dynamically at the time the question is rendered for each student.  Consequently, it is possible for different students to receive different versions of the problem, if you define some variables in the ``Scripting (optional)'' text area.  Those variables can also be included in the Question Text itself (in which case the variable will be replaced with current viewer's value).  Equally the answer which is expected can also be a variable.  The programming language used in the scripting block is \textbf{Perl}.  In perl, variable names are prefaced with \$ and set equal to a value, or more commonly to the value of some function with the assignment operator: =  The answer which students need to enter for a Numerical Response question type can be determined dynamically at the time the question is rendered for each student.  Consequently, it is possible for different students to receive different versions of the problem, if you define some variables in the ``Scripting (optional)'' text area.  Those variables can also be included in the Question Text itself (in which case the variable will be replaced with current viewer's value).  Equally the answer which is expected can also be a variable.  The programming language used in the scripting block is \textbf{Perl}.  In perl, variable names are prefaced with \$ and set equal to a value, or more commonly to the value of some function with the assignment operator: =
   

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>