// Numbas version: finer_feedback_settings {"name": "Terry's copy of Straight lines: general form to and from gradient intercept", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "statement": "", "variable_groups": [], "name": "Terry's copy of Straight lines: general form to and from gradient intercept", "functions": {}, "type": "question", "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "variables": {"np": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-1,1)", "name": "np", "description": ""}, "run": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2,3,5,7)", "name": "run", "description": ""}, "rise": {"group": "Ungrouped variables", "templateType": "anything", "definition": "np*if(run=2,random(1,3,5,7),if(run=3,random(1,2,4,5,7),if(run=5,random(1,2,3,4,6,7),if(run=7,random(1,2,3,4,5,6)))))", "name": "rise", "description": ""}, "c": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-12..12 except 0)", "name": "c", "description": ""}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "a", "description": ""}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-12..12 except [0,a])", "name": "b", "description": ""}, "b1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-12..12)", "name": "b1", "description": ""}}, "question_groups": [{"pickQuestions": 0, "questions": [], "name": "", "pickingStrategy": "all-ordered"}], "parts": [{"showCorrectAnswer": true, "gaps": [{"notallowed": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["="]}, "marks": 1, "expectedvariablenames": ["x"], "showCorrectAnswer": true, "type": "jme", "answer": "-{a}/{b}x-{c}/{b}", "variableReplacements": [], "showpreview": true, "vsetrangepoints": 5, "checkvariablenames": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "answersimplification": "all", "vsetrange": [0, 1]}], "prompt": "
The equation of the line $\\simplify{{a}x+{b}y+{c}=0}$ can be rearranged into gradient intercept form, $y=$ [[0]].
", "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "variableReplacements": [], "marks": 0}, {"showCorrectAnswer": true, "gaps": [{"notallowed": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["="]}, "marks": 1, "expectedvariablenames": ["x", "y"], "showCorrectAnswer": true, "type": "jme", "answer": "{np}*{rise}*x-{np}*{run}*y+{np}*{b1}*{run}", "variableReplacements": [], "showpreview": true, "vsetrangepoints": 5, "checkvariablenames": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "answersimplification": "all", "vsetrange": [0, 1]}], "prompt": "The equation of the line $y=\\simplify{{rise}/{run}x+{b1}}$ can be rearranged into general form, [[0]] $=0$.
\nNote by convention:
\n