// Numbas version: finer_feedback_settings {"name": "Median und Modus", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Median und Modus", "tags": [], "metadata": {"description": "

Variante der Aufgabe-Nr. 1_450, ehemalige Klausuraufgabe, österreichischer AHS-Maturatermin 15. Jänner 2016

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

Median und Modus

\n

Gegeben ist eine ungeordnete Liste von 19 natürlichen Zahlen:

\n

{liste}

", "advice": "

Es empfiehlt sich, die Liste zu sortieren:

\n

{sort(liste)}

\n

Man erkennt dann, dass der mittlere (zehnte) Wert die {median} ist, das ist der Median.
Der am häufigsten auftretende Wert ist die {modus1}, das ist der Modus.

", "rulesets": {}, "extensions": ["stats"], "variables": {"liste": {"name": "liste", "group": "Ungrouped variables", "definition": "shuffle(repeat(random(2..12)*2,6)+repeat(modus1,5)+repeat(notmodus1,4)+repeat(notmodus2,4))", "description": "", "templateType": "anything"}, "modus1": {"name": "modus1", "group": "Ungrouped variables", "definition": "2*random(2..6)-1", "description": "", "templateType": "anything"}, "modus": {"name": "modus", "group": "Ungrouped variables", "definition": "mode(liste)", "description": "", "templateType": "anything"}, "median": {"name": "median", "group": "Ungrouped variables", "definition": "median(liste)", "description": "", "templateType": "anything"}, "notmodus1": {"name": "notmodus1", "group": "Ungrouped variables", "definition": "modus1+4", "description": "", "templateType": "anything"}, "notmodus2": {"name": "notmodus2", "group": "Ungrouped variables", "definition": "modus1+8", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["liste", "modus1", "modus", "median", "notmodus1", "notmodus2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "

Aufgabenstellung

\n

Geben Sie den Median und den Modus dieser Liste an!

\n

Median: [[0]]

\n

Modus: [[1]]

\n

Variante der Aufgabe-Nr. 1_450, ehemalige Klausuraufgabe, österreichischer AHS-Maturatermin 15. Jänner 2016 

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Median", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "Median", "maxValue": "Median", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "0", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "numberentry", "useCustomName": true, "customName": "Modus", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "modus1", "maxValue": "modus1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "0", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain-eu"], "correctAnswerStyle": "plain-eu"}], "sortAnswers": false}], "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/"}]}