Expert assessment
Access to answer options
Access to the answer selected by the participant and the correct solution to the question can be realised, for example, through Maxima queries in the Variables tab. For more information on how to create and use variables, see the Variables help page.
Return values of answer options
The return values type of the answer options and thus of the system variables LEARNERRESPONSE and CORRECTRESPONSE depends on the question type:
Question type | Type | Example return value | System variable |
---|---|---|---|
| single ID | ID_1 | LEARNERRESPONSE CORRECTRESPONSE |
| ID_1 | LEARNERRESPONSE_GAP_1 CORRECTRESPONSE_GAP_1 | |
| list of IDs | ID_1, ID_2, ID_3 | LEARNERRESPONSE CORRECTRESPONSE |
| ID value pairs in a list | [ID_1, IDT_1], [ID_2, IDT_2], [ID_3, IDT_3] | LEARNERRESPONSE CORRECTRESPONSE |
| specific values |
|
|
ID display in the editor
The identifiers of the answers to a question can be displayed in the editor. Activate this function in your user profile settings.
Return value preparation with auxiliary functions
The functions shown below are used to prepare LEARNERRESPONSES and CORRECTRESPONSES in the MAXIMA backend if the identifiers are each present in the form of ID_x (or IDT_y) with a natural number x.
SimpleLR({LEARNERRESPONSE}) |
|
---|---|
SimpleLR(0,{LEARNERRESPONSE}) |
|
SimpleLR(n,{LEARNERRESPONSE}) |
|
Choices(LR) |
|
Choices(m,LR), Choices (0,n,LR), Choices(m,n,LR) |
|
Additional auxiliary functions:
List2Matrix(LR) | Converts the list simplified by NumLR into a one- or two-line matrix |
---|---|
Matrix2List(M) | Converts matrix to list |
ransposeList(LR) | Switches between the list displays
|
Function to assess a formula comparison
The following standard comparison is used when assessing formula gaps:
However, it has several disadvantages:
- mandatory use of decimal point instead of comma
- rounding/tolerance cannot be adjusted
- mandatory use of MAXIMA syntax, especially %e, %pi, %i and log instead of ln
The comparison can be extended using the function
or
This offers the following advantages:
- also accepts e, pi, i, j, ln
- accepts both decimal point and comma
- performs the comparison "abs(LR-CR)<=tol" if tol>0 is specified
- otherwise performs the comparison "is(equal(ev(LR),ev(CR)))" and if necessary (i. e. if the result is unknown) additionally the checks/formula comparisons using radcan and trigsimp
Example using the auxiliary functions
All described auxiliary functions are shown in the attached example test. Download the file and import it into your question bank to reproduce the examples.
In the example test, you will find the auxiliary functions in the Variables tab under "Post-processed variables".
The variables created in this way can be used in the question feedback (among others).
The feedback can be displayed directly in the test run or the assessment documents.