Numeric

Question Mode: Numeric

 

qu.x.y.mode=numeric@

 

Example

qu.1.1.mode=numeric@

qu.1.1.question=

  <question_text>

@

qu.1.1.answer.num=<numeric part of the answer, for example, 3>@

qu.1.1.answer.units=<units part of the answer, for example, m/s>@

qu.1.1.showUnits=<true or false; whether to display the question with a Units text field>@

qu.1.1.grading=<grading mode; see below>@

qu.1.1.units=<(optional) reference to external table of units; see below>@

qu.1.1.digit=<# sig digits (positive integer); required for exact_sigd and toler_sigd grading modes>@

qu.1.1.err=<error/tolerance; required for toler_sigd and toler_abs grading modes>@

qu.1.1.perc=<percentage error/tolerance; required for toler_perc grading mode>@

  

Grading Modes

 

Using the grading mode, you can control the precision or margin of error in the student responses graded correct.

 

Precision

    exact_sigd   

The numeric value of the student response must match answer.num.

The number of significant digits in the student response must match digit.

For example, if answer.num = 2.5 and the digit = 3, only 2.50 is correct. In particular, 2.5 is incorrect.

    exact_value  

The numeric value of the student response must match answer.num.

For example, if answer.num = 2.5, 2.50 and 2.5 are correct, but 2.500001 is incorrect.

 

Margin of Error

    toler_sigd

The numeric value of the student response must be within +/- err in the digitth significant digit of  answer.num.

For example, if err = 2, digit = 3, and answer.num = 2.5, any response between 2.48 and 2.52 (inclusive) is correct. In particular, 2.4999999 is correct.

    toler_perc

The numeric value of the student response must be within perc % of  answer.num.

For example, if perc = 5 and answer.num = 2.5, any response between 2.5 * 0.95 and 2.5 * 1.05 is correct. In particular, 2.38888888 is correct.

    toler_abs

The numeric value of the student response must be within +/- err of  answer.num.

For example, if err = 0.25 and answer.num = 2.5, any response between 2.25 and 2.75 (inclusive) is correct. In particular, 2.333333333 is correct.

 

Using a Question Bank-specific Table of Units

To use a table of units, include the following statement:

qu.1.1.units=<tablename>@

where <tablename> is a table of unit definitions in the question bank. For more information, see Setting Question Bank Equivalent Units.

See Also:

Creating Numeric Questions in the QBE

Numeric in LaTeX

Formulas with Units

Controlling Significant Digits