// Numbas version: exam_results_page_options {"name": "Julie'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": [{"preamble": {"js": "", "css": ""}, "statement": "

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

", "extensions": [], "ungrouped_variables": ["answer", "denom", "parts", "onepart", "fraction"], "variablesTest": {"condition": "", "maxRuns": 100}, "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0, "name": ""}], "rulesets": {}, "parts": [{"gaps": [{"marks": 1, "minValue": "{answer}", "correctAnswerFraction": false, "variableReplacements": [], "allowFractions": false, "maxValue": "{answer}", "type": "numberentry", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "showPrecisionHint": false}], "prompt": "

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

\n

[[0]] matches.

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "scripts": {}}], "variables": {"denom": {"templateType": "anything", "definition": "switch(fraction = 'quarters', 4, fraction = 'fifths',5, fraction = 'eighths',8, fraction = 'tenths', 10)", "description": "", "group": "Ungrouped variables", "name": "denom"}, "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"}, "answer": {"templateType": "anything", "definition": "parts*40/denom", "description": "", "group": "Ungrouped variables", "name": "answer"}, "onepart": {"templateType": "anything", "definition": "40/denom", "description": "", "group": "Ungrouped variables", "name": "onepart"}, "fraction": {"templateType": "anything", "definition": "random( 'fifths', 'quarters', 'eighths', 'tenths')", "description": "", "group": "Ungrouped variables", "name": "fraction"}}, "variable_groups": [], "functions": {}, "tags": ["expected value", "fraction"], "type": "question", "name": "Julie's copy of Simple expected outcome", "showQuestionGroupNames": false, "advice": "

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

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Footballer expects to score in a/b matches.

"}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}