Scoring: linearspan
Example: The correct solution is #$#\left<\left(\begin{array}{c} 1 \\ 0 \end{array}\right)\left(\begin{array}{c} 0 \\ 1 \end{array}\right)\right>#$#.
⚠ In general, the examples do not represent meaningful scoring schemes but are intended to document the behavior.
Default Behavior
If no attributes are defined for linearspan, 1 point is awarded for a completely correct input, otherwise 0 points:
<input>
<linearspan normed="true">
<vector><number>1</number><number>0</number></vector>
<vector><number>0</number><number>1</number></vector>
</linearspan>
</input>
mode="whole"
In whole evaluation mode, the input is evaluated as a whole. This is the default evaluation mode. The user receives the (maximum) score specified by the credits attribute (default value: 1) for a completely correct input, and the minimum score defined by the mincredits attribute (default value: 0) for an incorrect input.
<input mode="whole" credits="5" mincredits="-2">
<linearspan normed="true">
<vector><number>1</number><number>0</number></vector>
<vector><number>0</number><number>1</number></vector>
</linearspan>
</input>
mode="sum X"
In sum evaluation mode, points are awarded exclusively for correct (partial) results. X defines the number of points awarded by default for each correct partial result. These points are added to the value of mincredits. If the resulting value exceeds the value of credits, the awarded points are limited to the value of credits.
⚠ The partial results of linearspan consist of the individual vectors and an attribute check. The latter is only relevant if the vectors are required to form a basis, be orthogonal, and/or be normalized. All attributes together are evaluated as a single partial result.
<input mode="sum 2" credits="5" mincredits="-2">
<linearspan normed="true">
<vector><number>1</number><number>0</number></vector>
<vector><number>0</number><number>1</number></vector>
</linearspan>
</input>
mode="penalty X"
In penalty evaluation mode, points are deducted for each incorrect (partial) result. X defines the number of points to be deducted for each incorrect partial result. These points are subtracted from the value of credits. If the resulting value is lower than the value of mincredits, the awarded points are limited to the value of mincredits.
⚠ The partial results of linearspan consist of the individual vectors and an attribute check. The latter is only relevant if the vectors are required to form a basis, be orthogonal, and/or be normalized. All attributes together are evaluated as a single partial result.
<input mode="penalty 2" credits="5" mincredits="-2">
<linearspan normed="true">
<vector><number>1</number><number>0</number></vector>
<vector><number>0</number><number>1</number></vector>
</linearspan>
</input>