// Numbas version: finer_feedback_settings {"name": "NA Find an average given the total (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NA Find an average given the total (10+)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "
Used for LANTITE preparation (Australia). NA = Number & Algebra strand. The total amount raised and the number of participants is supplied (and both are randomly generated). Students must calculate the average per participant.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "\n\n\n\n{num_students} Year 7 students at Southbank High School together raised \\${trim(amt_raised)} in a walkathon.
", "advice": "The average is defined to be the sum of all of the data values divided by the number of data values.
\nIn this question, the sum of all of the data values is \\${trim(amt_raised)} and the number of data values is {num_students}, as each student raised an amount of money.
\n\\${trim(amt_raised)} divided by {num_students} equals \\${average}.
\nOn average, each student raised \\${average}.
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"amt_raised": {"name": "amt_raised", "group": "Ungrouped variables", "definition": "formatnumber(num_students*average,\"si-en\")", "description": "This is the total amount raised. It is given in the question, but calculated from the number of students and the average, to enable the average to be a whole number.
", "templateType": "anything", "can_override": false}, "average": {"name": "average", "group": "Ungrouped variables", "definition": "random(32 .. 45#1)", "description": "The average is the answer to the question. It is predetermined to ensure that it is a whole number.
", "templateType": "randrange", "can_override": false}, "num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "random(35 .. 65#1)", "description": "This is the number of Year 7 students. This is given in the question.
", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_students", "amt_raised", "average"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "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": "\nHow much had each student raised on average? Do not enter the $ sign in your answer.
", "minValue": "average", "maxValue": "average", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "resources": []}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}