// Numbas version: exam_results_page_options {"name": "Ioannis's copy of Simple expected outcome", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Ioannis's copy of Simple expected outcome", "parts": [{"showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "scripts": {}, "marks": 1, "correctAnswerFraction": false, "minValue": "{answer}", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "maxValue": "{answer}"}], "marks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "variableReplacements": [], "prompt": "

In how many matches would he expect to score in a season of 40 games?

\n

[[0]] matches.

"}], "tags": ["expected value", "fraction"], "variables": {"onepart": {"templateType": "anything", "definition": "40/denom", "description": "", "group": "Ungrouped variables", "name": "onepart"}, "denom": {"templateType": "anything", "definition": "switch(fraction = 'quarters', 4, fraction = 'fifths',5, fraction = 'eighths',8, fraction = 'tenths', 10)", "description": "", "group": "Ungrouped variables", "name": "denom"}, "answer": {"templateType": "anything", "definition": "parts*40/denom", "description": "", "group": "Ungrouped variables", "name": "answer"}, "parts": {"templateType": "anything", "definition": "switch( fraction ='fifths', random(2,3), fraction = 'quarters', 3, fraction='eighths', random(3,5), fraction = 'tenths', random(3,7))", "description": "", "group": "Ungrouped variables", "name": "parts"}, "fraction": {"templateType": "anything", "definition": "random( 'fifths', 'quarters', 'eighths', 'tenths')", "description": "", "group": "Ungrouped variables", "name": "fraction"}}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "rulesets": {}, "statement": "

A premiership footballer expects to score a goal in {parts} {fraction} of the matches he plays.

", "metadata": {"description": "

Footballer expects to score in a/b matches.

", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": [], "showQuestionGroupNames": false, "advice": "

$ \\dfrac {\\var{parts}}{\\var{denom}} \\times 40 = \\var{parts} \\times \\var{onepart} = \\var{answer}$

", "functions": {}, "preamble": {"css": "", "js": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "ungrouped_variables": ["answer", "denom", "parts", "onepart", "fraction"], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}