// Numbas version: finer_feedback_settings {"name": "Question 3 basic what is x ", "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": "Question 3 basic what is x ", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
a) Line 1 assigns $x=\\var{a}$.
\nb) $z=x/y$.
", "rulesets": {}, "parts": [{"prompt": "What is the value of $x$?
", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "scripts": {}, "choices": ["{a}
", "{a+a}
", "{b+a}
", "{b}
"], "marks": 0, "displayType": "radiogroup", "maxMarks": "1", "distractors": ["", "", "", ""], "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"prompt": "What is the value of $z$?
", "matrix": ["1", 0, 0, 0], "shuffleChoices": false, "scripts": {}, "choices": ["{a/b}
", "{a+a/b}
", "{2/b}
", "{a}
"], "marks": 0, "displayType": "radiogroup", "maxMarks": "1", "distractors": ["", "", "", ""], "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}], "statement": "> x = {a}", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "random(2..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}]}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}
> y = {b}
> x + {a}
> x
> z = x/y