// Numbas version: exam_results_page_options {"name": "Gradient", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b"], "name": "Gradient", "tags": [], "advice": "

In a straight-line graph the general equation is $y = mx + c$ where c is the intercept and m is the gradient.

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

$y = \\var{a}x + \\var{b}$

", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "marks": 0, "variableReplacements": [], "choices": ["

$\\var{a}$

", "

$\\var{b}$

", "

$x$

", "

$y$

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "distractors": ["", "", "", ""], "displayColumns": "1", "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}], "extensions": [], "statement": "

Identify the gradient in the following straight-line graph equation:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}}, "metadata": {"description": "

Identifying the gradient from a straight-line graph equation y=mx+c

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "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/"}]}