// Numbas version: exam_results_page_options {"name": "Infer types for variables in mathematical expression parts", "extensions": ["eukleides", "quantities", "random_person"], "custom_part_types": [], "resources": [], "navigation": {"showfrontpage": false, "allowregen": true, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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.

"}, "variables": {}, "rulesets": {}, "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.

", "preamble": {"js": "", "css": ""}, "ungrouped_variables": [], "type": "exam", "navigation": {"showfrontpage": false, "allowregen": true, "showresultspage": "never", "preventleave": false}, "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "advice": "", "custom_part_types": [], "variable_groups": [], "name": "Infer types for variables in mathematical expression parts", "parts": [{"variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "prompt": "

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

\n

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

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

$a$ and $b$ are booleans.

\n

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

", "showCorrectAnswer": true, "scripts": {}, "checkingAccuracy": 0.001, "valuegenerators": [{"name": "a", "value": ""}, {"name": "b", "value": ""}], "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "failureRate": 1, "customName": "", "showFeedbackIcon": true, "vsetRange": [0, 1], "checkVariableNames": false, "marks": 1, "useCustomName": false, "type": "jme", "variableReplacements": [], "answer": "a and b", "unitTests": [], "showPreview": true, "vsetRangePoints": 5}, {"variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "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).

", "showCorrectAnswer": true, "scripts": {}, "checkingAccuracy": 0.001, "valuegenerators": [{"name": "a", "value": ""}], "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "failureRate": 1, "customName": "", "showFeedbackIcon": true, "vsetRange": [0, 1], "checkVariableNames": false, "marks": 1, "useCustomName": false, "type": "jme", "variableReplacements": [], "answer": "dot(vector(1,2,3),a)", "unitTests": [], "showPreview": true, "vsetRangePoints": 5}], "resources": [], "tags": [], "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/"}]}]}], "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/"}]}