// Numbas version: exam_results_page_options {"name": "L1 - Matrix Multiplication (1x3 by 3x1 matrices)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "L1 - Matrix Multiplication (1x3 by 3x1 matrices)", "variable_groups": [], "functions": {}, "tags": [], "metadata": {"description": "

Multiplication of  matrices of different sizes.

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"b31": {"name": "b31", "definition": "random(-1..1)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"name": "a", "definition": "matrix([a11,a12,a13])", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a11": {"name": "a11", "definition": "random(-2,1,2)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a13": {"name": "a13", "definition": "random(0..2)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "a12": {"name": "a12", "definition": "random(1..4)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "ab11": {"name": "ab11", "definition": "a11*b11+a12*b21+a13*b31", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "b11": {"name": "b11", "definition": "random(-3,-1,0,3)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"name": "b", "definition": "matrix([b11],[b21],[b31])", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "b21": {"name": "b21", "definition": "random(2,3)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}}, "advice": "", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers"]}, "ungrouped_variables": ["b21", "b11", "a11", "a12", "ab11", "a13", "b31", "a", "b"], "extensions": [], "statement": "

Let
\\[A=\\var{a},\\;\\; B=\\var{b},\\;\\; \\]
Calculate the following products of these matrices:

", "parts": [{"gaps": [{"customName": "ab", "useCustomName": true, "tolerance": 0, "marks": "1", "scripts": {}, "correctAnswer": "{a}*{b}", "adaptiveMarkingPenalty": 0, "type": "matrix", "numRows": "1", "markPerCell": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "variableReplacements": [], "allowFractions": false, "allowResize": false, "correctAnswerFractions": false, "numColumns": "1"}], "useCustomName": false, "marks": 0, "scripts": {}, "adaptiveMarkingPenalty": 0, "type": "gapfill", "showFeedbackIcon": true, "prompt": "

$AB = \\var{a}\\times\\var{b} = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "variableReplacements": [], "customName": "", "sortAnswers": false, "extendBaseMarkingAlgorithm": true}, {"gaps": [{"customName": "ba", "useCustomName": true, "tolerance": 0, "marks": "1", "scripts": {}, "correctAnswer": "{b}*{a}", "adaptiveMarkingPenalty": 0, "type": "matrix", "numRows": "3", "markPerCell": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "variableReplacements": [], "allowFractions": false, "allowResize": false, "correctAnswerFractions": false, "numColumns": "3"}], "useCustomName": false, "marks": 0, "scripts": {}, "adaptiveMarkingPenalty": 0, "type": "gapfill", "showFeedbackIcon": true, "prompt": "

$BA = \\var{b}\\times\\var{a} = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "variableReplacements": [], "customName": "", "sortAnswers": false, "extendBaseMarkingAlgorithm": true}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Timur Zaripov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3272/"}]}]}], "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Timur Zaripov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3272/"}]}