// Numbas version: finer_feedback_settings {"name": "set2 ", "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": "set2 ", "tags": ["elements", "inclusion", "sets", "subsets"], "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, "marks": 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", "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": 0, "layout": {"type": "all", "expression": ""}}], "statement": "

Let $A=\\var{set_list}$

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "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": "

Given a set $A$, elements of which may also be sets, determine if the given elements or subsets are in $A$.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}