// Numbas version: exam_results_page_options {"name": "Sets 2 - 4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["set_list", "a", "b", "c", "choices", "select", "mark_matrix"], "name": "Sets 2 - 4", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"maxAnswers": 0, "prompt": "

Which of the following statements about the set $A$ are true or false?

", "matrix": "mark_matrix", "shuffleAnswers": false, "minAnswers": 0, "variableReplacements": [], "answers": ["True", "False"], "choices": ["$\\var{choices[select[0]]}$", "$\\var{choices[select[1]]}$", "$\\var{choices[select[2]]}$", "$\\var{choices[select[3]]}$", "$\\var{choices[select[4]]}$", "$\\var{choices[select[5]]}$", "$\\var{choices[select[6]]}$", "$\\var{choices[select[7]]}$"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "warningType": "none", "marks": 0, "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": 0, "layout": {"expression": "", "type": "all"}}], "statement": "

Let $A=\\var{set_list}$

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "variables": {"a": {"definition": "random(1..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(1..6 except a)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(1..6 except[a,c])", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "mark_matrix": {"definition": "map([[1,0,1,1,1,0,1,1,0,0,0,0,1,1][y],[0,1,0,0,0,1,0,0,1,1,1,1,0,0][y]],y,select)", "templateType": "anything", "group": "Ungrouped variables", "name": "mark_matrix", "description": ""}, "set_list": {"definition": "set(shuffle([a,latex('\\\\\\{\\\\var{a}\\\\\\}'),b,latex('\\\\\\{\\\\var{c}\\\\\\}'),\nlatex('\\\\\\{\\\\var{b},\\\\var{c}\\\\\\}')]))", "templateType": "anything", "group": "Ungrouped variables", "name": "set_list", "description": ""}, "choices": {"definition": "[latex('\\\\var{a} \\\\in A'),\n latex('\\\\var{a} \\\\subseteq A'),\n latex('\\\\\\{\\\\var{a}\\\\\\} \\\\in A'),\n latex('\\\\\\{\\\\var{a} \\\\\\}\\\\subseteq A'),\n latex('\\\\\\{\\\\\\{\\\\var{a} \\\\\\}\\\\\\}\\\\subseteq A'),\n latex('\\\\var{c} \\\\in A'),\n latex('\\\\\\{\\\\var{c}\\\\\\} \\\\in A'),\n latex('\\\\\\{\\\\\\{\\\\var{c} \\\\\\}\\\\\\}\\\\subseteq A'),\n latex('\\\\\\{\\\\var{b}\\\\\\} \\\\in A'),\n latex('\\\\\\{\\\\\\{\\\\var{b} \\\\\\}\\\\\\}\\\\subseteq A'),\n latex('\\\\\\{\\\\var{a},\\\\var{c}\\\\\\}\\\\subseteq A'),\n latex('\\\\\\{\\\\\\{\\\\var{c} \\\\\\},\\\\\\{\\\\var{b} \\\\\\}\\\\\\}\\\\subseteq A'),\n latex('\\\\\\{\\\\var{c},\\\\var{b} \\\\\\}\\\\in A'),\n latex('\\\\\\{\\\\var{a},\\\\\\{\\\\var{b},\\\\var{c}\\\\\\}\\\\\\} \\\\subseteq A')\n ]", "templateType": "anything", "group": "Ungrouped variables", "name": "choices", "description": ""}, "select": {"definition": "shuffle(list(0..length(choices)-1))[0..8]", "templateType": "anything", "group": "Ungrouped variables", "name": "select", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}