// Numbas version: exam_results_page_options {"name": "Algebra: Equation of straight line, from various data.", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Algebra: Equation of straight line, from various data.", "tags": [], "metadata": {"description": "

Three lines given with different information provided. Equation of the line is asked for.

", "licence": "None specified"}, "statement": "

Determine the (standard) equation of the line using the information provided.

", "advice": "

See ??

", "rulesets": {}, "extensions": [], "variables": {"mb": {"name": "mb", "group": "Ungrouped variables", "definition": "random(-5..8 except 0)", "description": "", "templateType": "anything"}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "random(-20..20)", "description": "", "templateType": "anything"}, "xc2": {"name": "xc2", "group": "Ungrouped variables", "definition": "random(-1..-3)-xc1", "description": "", "templateType": "anything"}, "mc": {"name": "mc", "group": "Ungrouped variables", "definition": "random(-5..8 except 0)", "description": "", "templateType": "anything"}, "ma": {"name": "ma", "group": "Ungrouped variables", "definition": "random(-5..8 except 0)", "description": "", "templateType": "anything"}, "cb": {"name": "cb", "group": "Ungrouped variables", "definition": "random(-20..20)", "description": "", "templateType": "anything"}, "xc1": {"name": "xc1", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "xb": {"name": "xb", "group": "Ungrouped variables", "definition": "random(2..5 except 0)", "description": "", "templateType": "anything"}, "ca": {"name": "ca", "group": "Ungrouped variables", "definition": "random(-20..20)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ma", "ca", "mb", "cb", "xb", "mc", "cc", "xc1", "xc2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which of the following is enough information to determine the equation of a line? 

\n

[[0]]

", "gaps": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": "1", "minAnswers": "5", "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "choices": ["The gradient of the line and the coordinates of a point on the line", "The gradient of the line and the $y$-intercept of the line", "The gradient of the line and the $x$-intercept of the line", "The coordinates of two different points on the line", "The coordinates of three different points on the line", "The coordinates of one point on the line", "The $x$-coordinates of three different points on the line", "The $y$-coordinates of two points on the line", "The gradient of the line"], "matrix": ["0.4", "0.4", "0.4", "0.4", "0.4", "-2", "-2", "-2", "-2"], "distractors": ["", "", "", "", "", "", "", "", ""]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

A line has gradient $\\var{mb}$ and goes through the point $(\\var{xb},\\var{xb*mb+cb})$.  What is the equation of the line?

\n

$y=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{mb}x+{cb}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

A line goes through the coordinates $(\\var{xc1},\\var{xc1*mc+cc})$ and $(\\var{xc2},\\var{xc2*mc+cc})$.  What is the equation of the line?

\n

$y=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{mc}x+{cc}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}