// Numbas version: finer_feedback_settings {"name": "Teilmengen (Kinder)", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Teilmengen (Kinder)", "tags": [], "metadata": {"description": "
Verschiedene Fragen zu Anzahlen von Teilmengen.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Es sei $K$ eine Menge von $\\var{sum}$ Kindern, $M$ die Teilmenge der Mädchen mit $|M|=\\var{m}$, $B$ die Teilmenge der Burschen mit $|B|=\\var{b}$.
", "advice": "(a) Für diese Frage ist es egal, ob es Burschen oder Mädchen sind. Es sind also aus $n=\\var{sum}$ Elementen $k=\\var{(sum+1)/2}$ ohne Wiederholung und ohne Beachtung der Reihenfolge, d.h. Kombinationen (ohne Wiederholung), also $\\binom{\\var{sum}}{\\var{(sum+1)/2}}=\\var{a_result}$.
\n\n\n
(b) Für diese Frage sind die Teilgruppen \"Mädchen\" und \"Burschen\" getrennt zu betrachten, sonst gilt daselbe wie bei (a): Innerhalb der Gruppen erfolgt eine Auswahl ohne Wiederholung und ohne Beachtung der Reihenfolge, man erhält also $\\binom{\\var{m}}{\\var{mini}}$ für die Mädchen und $\\binom{\\var{b}}{\\var{mini}}$ für die Burschen, diese beiden Zahlen sind zu multiplizieren (Entscheidungen sind keine Alternativen und hängen nicht voneinander ab), was $\\var{b_result}$ ergibt.
\n(c) Es gibt 1 Möglichkeit, alle Mädchen auszuwählen, diese ist dann noch mit den insgesamt (alle Teilmengen) $2^{\\var{b}}=\\var{c_result}$ Möglichkeiten zu multiplizieren, $0,1,2,\\ldots \\var{b}$ Burschen auszuwählen.
\n(d) Genau die Hälfte aller Teilmengen enthält weniger als $\\var{(sum+1)/2}$, genau die Hälfte mindestens $\\var{(sum+1)/2}$ Kinder. Die Anzahl aller Teilmengen einer $\\var{sum}$-elementigen Menge ist $2^{\\var{sum}}$, die Hälfte davon ist $2^{\\var{sum-1}}=\\var{d_result}$.
", "rulesets": {}, "extensions": ["stats"], "variables": {"m": {"name": "m", "group": "Ungrouped variables", "definition": "sum-b ", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3..6)", "description": "", "templateType": "anything"}, "b_result": {"name": "b_result", "group": "Ungrouped variables", "definition": "combination(m,mini)*combination(b,mini)", "description": "", "templateType": "anything"}, "a_result": {"name": "a_result", "group": "Ungrouped variables", "definition": "combination(sum,(sum+1)/2)", "description": "", "templateType": "anything"}, "c_result": {"name": "c_result", "group": "Ungrouped variables", "definition": "2^b", "description": "", "templateType": "anything"}, "d_result": {"name": "d_result", "group": "Ungrouped variables", "definition": "2^(sum-1)", "description": "", "templateType": "anything"}, "sum": {"name": "sum", "group": "Ungrouped variables", "definition": "2*random(5..7)+ 1", "description": "", "templateType": "anything"}, "half": {"name": "half", "group": "Ungrouped variables", "definition": " (sum+1)/2 ", "description": "", "templateType": "anything"}, "mini": {"name": "mini", "group": "Unnamed group", "definition": "min(b,m)-1", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["b", "m", "b_result", "a_result", "c_result", "d_result", "sum", "half"], "variable_groups": [{"name": "Unnamed group", "variables": ["mini"]}], "functions": {}, "preamble": {"js": "", "css": ".copyright-footer{\n display:none;}"}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Wie viele Teilmengen von $K$ enthalten genau $\\var{(sum+1)/2}$ Kinder?
\n", "minValue": "a_result", "maxValue": "a_result", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
Wie viele Teilmengen von $K$ enthalten genau $\\var{mini}$ Mädchen und genau $\\var{mini}$ Burschen?
", "minValue": "b_result", "maxValue": "b_result", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Wie viele Teilmengen von $K$ enthalten alle $\\var{m}$ Mädchen?
", "minValue": "c_result", "maxValue": "c_result", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Wie viele Teilmengen von $K$ enthalten mindestens $\\var{(sum+1)/2}$ Kinder?
\n", "minValue": "d_result", "maxValue": "d_result", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["eu", "plain-eu"], "correctAnswerStyle": "plain-eu"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}]}], "contributors": [{"name": "Andreas Vohns", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3622/"}]}