// Numbas version: exam_results_page_options {"name": "Matrix addition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Matrix addition", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

\\[A = \\left(\\begin{array}{rrr} \\var{a11} & \\var{a12} & \\var{a13}\\\\ \\var{a21} & \\var{a22} & \\var{a23}\\\\ \\var{a31} & \\var{a32} & \\var{a33}\\\\ \\end{array}\\right),\\;\\;\\;\\; B= \\left(\\begin{array}{rrr} \\var{b11} & \\var{b12} & \\var{b13}\\\\ \\var{b21} & \\var{b22} & \\var{b23}\\\\ \\var{b31} & \\var{b32} & \\var{b33}\\\\ \\end{array}\\right)\\]

", "advice": "

Please see lecture slides for worked example.

", "rulesets": {}, "extensions": [], "variables": {"a11": {"name": "a11", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a12": {"name": "a12", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a13": {"name": "a13", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a21": {"name": "a21", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a22": {"name": "a22", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a23": {"name": "a23", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a31": {"name": "a31", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a32": {"name": "a32", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a33": {"name": "a33", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b11": {"name": "b11", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b12": {"name": "b12", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b13": {"name": "b13", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b21": {"name": "b21", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b22": {"name": "b22", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b23": {"name": "b23", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b31": {"name": "b31", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b32": {"name": "b32", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "b33": {"name": "b33", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "ab11": {"name": "ab11", "group": "Ungrouped variables", "definition": "a11+b11", "description": "", "templateType": "anything"}, "ab12": {"name": "ab12", "group": "Ungrouped variables", "definition": "a12 + b12", "description": "", "templateType": "anything"}, "ab13": {"name": "ab13", "group": "Ungrouped variables", "definition": "a13 + b13", "description": "", "templateType": "anything"}, "ab21": {"name": "ab21", "group": "Ungrouped variables", "definition": "a21 + b21", "description": "", "templateType": "anything"}, "ab22": {"name": "ab22", "group": "Ungrouped variables", "definition": "a22 + b22", "description": "", "templateType": "anything"}, "ab23": {"name": "ab23", "group": "Ungrouped variables", "definition": "a23 + b23", "description": "", "templateType": "anything"}, "ab31": {"name": "ab31", "group": "Ungrouped variables", "definition": "a31 + b31", "description": "", "templateType": "anything"}, "ab32": {"name": "ab32", "group": "Ungrouped variables", "definition": "a32 + b32", "description": "", "templateType": "anything"}, "ab33": {"name": "ab33", "group": "Ungrouped variables", "definition": "a33 + b33", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33", "b11", "b12", "b13", "b21", "b22", "b23", "b31", "b32", "b33", "ab11", "ab12", "ab13", "ab21", "ab22", "ab23", "ab31", "ab32", "ab33"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$A + B = $ [[0]]

", "gaps": [{"type": "matrix", "useCustomName": true, "customName": "AB", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "matrix([ab11,ab12,ab13],\n [ab21,ab22,ab23],\n [ab31,ab32,ab33])", "correctAnswerFractions": false, "numRows": "3", "numColumns": "3", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}]}]}], "contributors": [{"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}]}