// Numbas version: exam_results_page_options {"name": "Which quadrant?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Which quadrant?", "tags": [], "metadata": {"description": "

Practice MCQ to decide which quadrant a complex number lies in.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "

Since the real part of $z$ is {rez} and the imaginary part of $z$ is {imz}, {quad} Draw the Argand diagram for this complex number.

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"q2": {"name": "q2", "group": "Ungrouped variables", "definition": "'The complex number is in the second quadrant.'", "description": "", "templateType": "anything", "can_override": false}, "imz": {"name": "imz", "group": "Ungrouped variables", "definition": "if (b1>=0,\"Positive\",\"Negative\")", "description": "

im

", "templateType": "anything", "can_override": false}, "s2": {"name": "s2", "group": "Ungrouped variables", "definition": "switch(t=4,-1,t=3,-1,1)", "description": "", "templateType": "anything", "can_override": false}, "rez": {"name": "rez", "group": "Ungrouped variables", "definition": "if (a1>=0,\"Positive\",\"Negative\")", "description": "", "templateType": "anything", "can_override": false}, "s1": {"name": "s1", "group": "Ungrouped variables", "definition": "switch(t=1,1,t=4,1,-1)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random(1..4)", "description": "", "templateType": "anything", "can_override": false}, "q1": {"name": "q1", "group": "Ungrouped variables", "definition": "'The complex number is in the first quadrant.'", "description": "", "templateType": "anything", "can_override": false}, "q4": {"name": "q4", "group": "Ungrouped variables", "definition": "'The complex number is in the fourth quadrant.'", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "s2*random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "z1": {"name": "z1", "group": "Ungrouped variables", "definition": "a1+b1*i", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "s1*random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "q3": {"name": "q3", "group": "Ungrouped variables", "definition": "'The complex number is in the third quadrant.'", "description": "", "templateType": "anything", "can_override": false}, "quad": {"name": "quad", "group": "Ungrouped variables", "definition": "switch(t=1,q1,t=2,q2,t=3,q3,q4)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["b1", "q1", "q3", "q2", "q4", "s2", "s1", "quad", "a1", "z1", "t", "rez", "imz"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The complex number $z=\\var{z1}$ is in which quadrant?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

First (I, $0^{\\circ}-90^{\\circ}$)

", "

Second (II, $90^{\\circ}-180^{\\circ}$)

", "

Third (III, $180^{\\circ}-270^{\\circ}$)

", "

Fourth (IV, $270^{\\circ}-360^{\\circ}$)

"], "matrix": ["if (t=1,1,0)", "if (t=2,1,0)", "if (t=3,1,0)", "if (t=4,1,0)"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Peter Johnston", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/771/"}, {"name": "Timothy Gould", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1466/"}, {"name": "Fatema Tanjia", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/10148/"}]}]}], "contributors": [{"name": "Peter Johnston", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/771/"}, {"name": "Timothy Gould", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1466/"}, {"name": "Fatema Tanjia", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/10148/"}]}