// Numbas version: exam_results_page_options {"name": "Matrices: Basics 01", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Matrices: Basics 01", "tags": [], "metadata": {"description": "Classifying matrices (dimensions/order)", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "

The General Matrix

\n

A general $m \\times n$ matrix $A$ has $m$ rows and $n$ columns.
The entries in the matrix $A$ are called the elements of $A$.
In matrix $A$ the element in row $i$ and column $j$ is denoted by $a_{ij}$ .

", "advice": "

We are presented with random matrices and asked to \"classify\" them. 

\n

This simply means \"give their dimensions\" - how many rows and columns do they have?

\n

In mathematical language you need to know that:

\n

A general $m \\times n$ matrix $A$ has $m$ rows and $n$ columns.

\n

In simpler terms, the size is ALWAYS given as:

\n

$\\Large ROWS \\times COLUMNS $

\n

\n

Once you remember this, these are very straightforward.

\n

  

\n

$A=\\var{A}$     $A$ has $\\var{n1}$ rows and $\\var{m1}$ columns. So $A$ has dimensions $ \\var{n1}  \\times  \\var{m1}$

\n

 

\n

$B=\\var{B}$     $B$ has $\\var{n2}$ rows and $\\var{m2}$ columns. So $B$ has dimensions $ \\var{n2}  \\times \\var{m2}$

\n

 

\n

$C=\\var{C}$     $C$ has $\\var{n3}$ rows and $\\var{m3}$ columns. So $C$ has dimensions $ \\var{n3}  \\times \\var{m3}$

\n

 

\n

$D=\\var{D}$     $D$ has $\\var{n4}$ rows and $\\var{m4}$ columns. So $D$ has dimensions $ \\var{n4}  \\times \\var{m4}$

\n

 

\n

$E=\\var{EE}$     $E$ has $\\var{n5}$ rows and $\\var{m5}$ columns. So $E$ has dimensions $ \\var{n5}  \\times \\var{m5}$

", "rulesets": {}, "extensions": [], "variables": {"m1": {"name": "m1", "group": "A", "definition": "random(1..2)", "description": "", "templateType": "anything"}, "A": {"name": "A", "group": "A", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n1),m1)))", "description": "", "templateType": "anything"}, "n2": {"name": "n2", "group": "B", "definition": "random(2..4)", "description": "", "templateType": "anything"}, "m2": {"name": "m2", "group": "B", "definition": "random(2..4)", "description": "", "templateType": "anything"}, "B": {"name": "B", "group": "B", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n2),m2)))", "description": "", "templateType": "anything"}, "n3": {"name": "n3", "group": "C", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "m3": {"name": "m3", "group": "C", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "C": {"name": "C", "group": "C", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n3),m3)))", "description": "", "templateType": "anything"}, "n4": {"name": "n4", "group": "D", "definition": "random(1..(n3-1) except n3)", "description": "", "templateType": "anything"}, "m4": {"name": "m4", "group": "D", "definition": "random(1..(m3-1) except m3)", "description": "", "templateType": "anything"}, "n1": {"name": "n1", "group": "A", "definition": "random(1..(m3-1) except m3)", "description": "", "templateType": "anything"}, "D": {"name": "D", "group": "D", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n4),m4)))", "description": "", "templateType": "anything"}, "n5": {"name": "n5", "group": "E", "definition": "m3", "description": "", "templateType": "anything"}, "m5": {"name": "m5", "group": "E", "definition": "n4", "description": "", "templateType": "anything"}, "EE": {"name": "EE", "group": "E", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n5),m5)))", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "A", "variables": ["n1", "m1", "A"]}, {"name": "B", "variables": ["n2", "m2", "B"]}, {"name": "C", "variables": ["n3", "m3", "C"]}, {"name": "D", "variables": ["n4", "m4", "D"]}, {"name": "E", "variables": ["n5", "m5", "EE"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Classify the following matrices:

\n

 

\n

$A=\\var{A}$

\n

$A$ is a [[0]]$\\times$ [[1]] matrix.

\n

 

\n

 

\n

$B=\\var{B}$

\n

$B$ is a [[2]]$\\times$ [[3]] matrix.

\n

 

\n

 

\n

$C=\\var{C}$

\n

$C$ is a [[4]]$\\times$ [[5]] matrix.

\n

 

\n

 

\n

$D=\\var{D}$

\n

$D$ is a [[6]]$\\times$ [[7]] matrix.

\n

 

\n

$E=\\var{EE}$

\n

$E$ is a [[8]]$\\times$ [[9]] matrix.

\n

 

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{n1}", "maxValue": "{n1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{m1}", "maxValue": "{m1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{n2}", "maxValue": "{n2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{m2}", "maxValue": "{m2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{n3}", "maxValue": "{n3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{m3}", "maxValue": "{m3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{n4}", "maxValue": "{n4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{m4}", "maxValue": "{m4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{n5}", "maxValue": "{n5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{m5}", "maxValue": "{m5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}]}