Class NumericGap is responsible for creating instances of input fields with
numeric type of answers in question Entry type assessment tasks according
to the QTI 2.1 standard.
Slots
response_identifierA character value representing an identifier for the answer. By default, it is generated as 'id_gap_dddd', where dddd represents random digits.
pointsA numeric value, optional, representing the number of points for this gap. Default is
1.placeholderA character value, optional, responsible for placing helpful text in the text input field in the content delivery engine.
expected_lengthA numeric value, optional, responsible for setting the size of the text input field in the content delivery engine.
solutionA numeric value containing the correct answer for this numeric entry.
toleranceA numeric value, optional, specifying the value for the upper and lower boundaries of the tolerance rate for candidate answers. Default is 0.
tolerance_typeA character value, optional, specifying the tolerance mode. Possible values:
"exact"
"absolute" - Default.
"relative"
include_lower_boundA boolean value, optional, specifying whether the lower bound is included in the tolerance rate. Default is
TRUE.include_upper_boundA boolean value, optional, specifying whether the upper bound is included in the tolerance rate. Default is
TRUE.
See also
Entry, TextGap, TextGapOpal and InlineChoice.