// Numbas version: exam_results_page_options {"name": "Infer types for variables in mathematical expression parts", "extensions": ["eukleides", "random_person", "quantities"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "tags": [], "name": "Infer types for variables in mathematical expression parts", "rulesets": {}, "advice": "", "variable_groups": [], "variables": {}, "resources": [], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "showresultspage": "never"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

In this question, the correct answers can't be evaluated by substituting numbers for each of the variables.

\n

Numbas can now infer the types of variables in the answers to mathematical expression parts, so questions like this can be marked.

", "ungrouped_variables": [], "custom_part_types": [], "parts": [{"showPreview": true, "failureRate": 1, "showFeedbackIcon": true, "checkingType": "absdiff", "marks": 1, "answer": "k det(A)", "type": "jme", "variableReplacementStrategy": "originalfirst", "customName": "", "prompt": "

In this part, $A$ must be a matrix.

\n

The correct answer is $k \\det(A)$

", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "useCustomName": false, "valuegenerators": [{"name": "a", "value": ""}, {"name": "k", "value": ""}], "unitTests": [], "vsetRangePoints": 5, "scripts": {}, "showCorrectAnswer": true, "checkingAccuracy": 0.001, "vsetRange": [0, 1], "customMarkingAlgorithm": "", "checkVariableNames": false}, {"showPreview": true, "failureRate": 1, "showFeedbackIcon": true, "checkingType": "absdiff", "marks": 1, "answer": "a and b", "type": "jme", "variableReplacementStrategy": "originalfirst", "customName": "", "prompt": "

$a$ and $b$ are booleans.

\n

The correct answer is $a \\wedge b$, entered as a and b.

", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "useCustomName": false, "valuegenerators": [{"name": "a", "value": ""}, {"name": "b", "value": ""}], "unitTests": [], "vsetRangePoints": 5, "scripts": {}, "showCorrectAnswer": true, "checkingAccuracy": 0.001, "vsetRange": [0, 1], "customMarkingAlgorithm": "", "checkVariableNames": false}, {"showPreview": true, "failureRate": 1, "showFeedbackIcon": true, "checkingType": "absdiff", "marks": 1, "answer": "dot(vector(1,2,3),a)", "type": "jme", "variableReplacementStrategy": "originalfirst", "customName": "", "prompt": "

$a$ must be a vector

\n

The correct answer is $\\begin{pmatrix}1\\\\2\\\\3\\end{pmatrix} \\cdot a$, entered as dot(vector(1,2,3),a).

", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "useCustomName": false, "valuegenerators": [{"name": "a", "value": ""}], "unitTests": [], "vsetRangePoints": 5, "scripts": {}, "showCorrectAnswer": true, "checkingAccuracy": 0.001, "vsetRange": [0, 1], "customMarkingAlgorithm": "", "checkVariableNames": false}], "functions": {}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

In this question, the correct answers can't be evaluated by substituting numbers for each of the variables.

Numbas\n can now infer the types of variables in the answers to mathematical \nexpression parts, so questions like this can be marked.

"}, "type": "exam"}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}