version 1.5, 2009/05/24 13:08:35
|
version 1.6, 2012/01/20 04:14:04
|
Line 12 The student answer needs to be evaluated
|
Line 12 The student answer needs to be evaluated
|
\item INCORRECT: return if not correct, uses up a try |
\item INCORRECT: return if not correct, uses up a try |
\item ASSIGNED\_SCORE: partial credit (also return the credit factor, e.g. return(ASSIGNED\_SCORE,0.3);) |
\item ASSIGNED\_SCORE: partial credit (also return the credit factor, e.g. return(ASSIGNED\_SCORE,0.3);) |
\item SIG\_FAIL, NO\_UNIT, EXTRA\_ANSWER, MISSING\_ANSWER, BAD\_FORMULA, |
\item SIG\_FAIL, NO\_UNIT, EXTRA\_ANSWER, MISSING\_ANSWER, BAD\_FORMULA, |
WANTED\_NUMERIC: return if not correct for different reasons, does not use up a try |
WANTED\_NUMERIC, WRONG\_FORMAT: return if not correct for different reasons, does not use up a try |
\end{itemize} |
\end{itemize} |
The answer display is shown instead of the student response in 'show answer' mode. |
The answer display is shown instead of the student response in 'show answer' mode. |
The following example illustrates this: |
The following example illustrates this: |
Line 51 Full list of possible return codes:
|
Line 51 Full list of possible return codes:
|
\item UNIT\_IRRECONCIBLE: the unit from the student and the instructor are of different types |
\item UNIT\_IRRECONCIBLE: the unit from the student and the instructor are of different types |
\item NO\_UNIT: needed a unit but none was submitted |
\item NO\_UNIT: needed a unit but none was submitted |
\item BAD\_FORMULA: syntax error in submitted formula |
\item BAD\_FORMULA: syntax error in submitted formula |
|
\item WRONG\_FORMAT: student submission did not have the expected format |
\item INCORRECT: answer was wrong |
\item INCORRECT: answer was wrong |
\item SUBMITTED: submission wasn't graded |
\item SUBMITTED: submission wasn't graded |
\item DRAFT: submission only stored |
\item DRAFT: submission only stored |