// Numbas version: exam_results_page_options {"name": "Straight line graph table completion", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["m", "x1", "x2", "x3", "x4", "x5", "c", "y1", "y2", "y3", "y4", "y5"], "name": "Straight line graph table completion", "tags": [], "advice": "

When calculating y with a given value of x, take the equation of the line (y = mx + c) and input the value of x.

\n

For example, for y = 2x + 3, if x = 5:
y = 2(5) + 3
y = 10 + 3
y = 13

", "rulesets": {}, "parts": [{"prompt": "

What is $y$ if $x = \\var{x1}$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "y1", "minValue": "y1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"prompt": "

What is $y$ if $x = \\var{x2}$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "y2", "minValue": "y2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"prompt": "

What is $y$ if $x = \\var{x3}$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "y3", "minValue": "y3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"prompt": "

What is $y$ if $x = \\var{x4}$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "y4", "minValue": "y4", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"prompt": "

What is $y$ if $x = \\var{x5}$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "y5", "minValue": "y5", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}], "extensions": [], "statement": "

For the straight line graph $y = \\var{m}x + \\var{c}$:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"c": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "y2": {"definition": "(m*x2)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y2", "description": ""}, "m": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "y1": {"definition": "(m*x1)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y1", "description": ""}, "x2": {"definition": "random(-10..10 except [x1])", "templateType": "anything", "group": "Ungrouped variables", "name": "x2", "description": ""}, "x3": {"definition": "random(-10..10 except [x2,x1])", "templateType": "anything", "group": "Ungrouped variables", "name": "x3", "description": ""}, "y3": {"definition": "(m*x3)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y3", "description": ""}, "x1": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "x1", "description": ""}, "y5": {"definition": "(m*x5)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y5", "description": ""}, "y4": {"definition": "(m*x4)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y4", "description": ""}, "x4": {"definition": "random(-10..10 except [x2,x3,x1])", "templateType": "anything", "group": "Ungrouped variables", "name": "x4", "description": ""}, "x5": {"definition": "random(-10..10 except [x2,x3,x4,x1])", "templateType": "anything", "group": "Ungrouped variables", "name": "x5", "description": ""}}, "metadata": {"description": "

Completing a table of x and y values from a straight line graph equation.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}