// Numbas version: exam_results_page_options {"name": "Mark the product of two matrices in a mathematical expression part", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {}, "functions": {}, "statement": "", "name": "Mark the product of two matrices in a mathematical expression part", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

A mathematical expression part whose answer is the product of two matrices, $X \\times Y$.

By setting the \"variable value generator\" option for $X$ and $Y$ to produce random matrices, we can ensure that the order of the factors in the student's answer matters: $X \\times Y \\neq Y \\times X$.

"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"answer": "x*y", "extendBaseMarkingAlgorithm": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "valuegenerators": [{"name": "x", "value": "matrix(repeat(repeat(random(vRange),3),3))"}, {"name": "y", "value": "matrix(repeat(repeat(random(vRange),3),3))"}], "showCorrectAnswer": true, "prompt": "

Enter x*y.

\n

y*x is marked incorrect.

", "showPreview": true, "failureRate": 1, "customMarkingAlgorithm": "", "variableReplacements": [], "checkVariableNames": false, "showFeedbackIcon": true, "checkingType": "absdiff", "customName": "", "adaptiveMarkingPenalty": 0, "useCustomName": false, "type": "jme", "checkingAccuracy": 0.001, "vsetRangePoints": 5, "unitTests": [], "vsetRange": ["1", "2"], "marks": 1}], "preamble": {"css": "", "js": ""}, "tags": [], "extensions": [], "variable_groups": [], "rulesets": {}, "ungrouped_variables": [], "advice": "", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}