<award>
Basic Use Examples
<award>
is
an Evaluation component
that defines conditions for awarding credit and
evaluating user responses. An <award>
is the child of
an <answer>
and can be used to refine credit awarded
in a variety of applications.
Many attributes for <answer>
can be applied to an <award>
to
control the behavior of just that <award>
.
The following examples illustrate some of the basic award forms.
See the following pages for additional examples on using the attributes and properties.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
allowedErrorInNumbers = "…" | number | |
allowedErrorIsAbsolute = "…" | boolean | "true" "false" |
caseInsensitiveMatch = "…" | boolean | "true" "false" |
credit = "…" | number | |
expandOnCompare = "…" | boolean | "true" "false" |
feedbackCodes = "…" | textList | |
feedbackText = "…" | text | |
includeErrorInNumberExponents = "…" | boolean | "true" "false" |
matchBlanks = "…" | boolean | "true" "false" |
matchByExactPositions = "…" | boolean | "true" "false" |
matchPartial = "…" | boolean | "true" "false" |
numPeriodicSetMatchesRequired = "…" | integer | |
numSignErrorsMatched = "…" | number | |
parseScientificNotation = "…" | boolean | "true" "false" |
referencesAreResponses = "…" | ||
simplifyOnCompare = "…" | text | "none" "full" "numbers" "numberspreserveorder" |
splitSymbols = "…" | boolean | "true" "false" |
symbolicEquality = "…" | boolean | "true" "false" |
unorderedCompare = "…" | boolean | "true" "false" |
Property | Type |
---|---|
$a.allowedErrorInNumbers | number |
$a.allowedErrorIsAbsolute | boolean |
$a.awarded | boolean |
$a.caseInsensitiveMatch | boolean |
$a.credit | number |
$a.creditAchieved | number |
$a.creditAchievedIfSubmit | number |
$a.disabled | boolean |
$a.expandOnCompare | boolean |
$a.feedback | feedback |
$a.feedbackCodes | textList |
$a.feedbacks | [ feedback ] |
$a.feedbackText | text |
$a.fixed | boolean |
$a.fixLocation | boolean |
$a.fractionSatisfied | number |
$a.fractionSatisfiedIfSubmit | number |
$a.hidden | boolean |
$a.includeErrorInNumberExponents | boolean |
$a.matchBlanks | boolean |
$a.matchByExactPositions | boolean |
$a.matchPartial | boolean |
$a.numFeedbacks | number |
$a.numPeriodicSetMatchesRequired | integer |
$a.numSignErrorsMatched | number |
$a.parseScientificNotation | boolean |
$a.simplifyOnCompare | text |
$a.splitSymbols | boolean |
$a.symbolicEquality | boolean |
$a.unorderedCompare | boolean |
Example: <award>
multiple correct responses
Multiple <award>
children can be used within an <answer>
to ascribe
credit to multiple responses.
Example: <award>
based on a boolean
An <answer>
can be based on a boolean condition by giving each <award>
a
<when>
child. An <award>
will be awarded if its <when>
evaluates to true
.
Example: <award>
for partial credit
The credit
attribute of the <award>
component is used to assign partial credit to specific responses.
Example: <award>
for tailored feedback
A named <award>
can be referenced within a <feedback>
to target specific responses.