// Numbas version: finer_feedback_settings {"name": "normal_3", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "normal_3", "statement": "

A large group of students took a test in Maths and the final grades have a mean of \\(\\var{m1}\\)% and a standard deviation of \\(\\var{sd}\\)%. 

", "advice": "

\\(X\\) has a mean of \\(\\var{m1}\\)% and a standard deviation of \\(\\var{sd}\\)%. 

\n

(a)    Find the percentage of the students scored higher than \\(\\var{m2}\\)%

\n

\\(P(X>\\var{m2})=P\\left(Z>\\frac{\\var{m2}-\\var{m1}}{\\var{sd}}\\right)\\)

\n

\\(=P(Z>\\var{n})\\)

\n

\\(=1-P(Z<\\var{n})\\)

\n

\\(=1-\\var{p1}\\)

\n

\\(=\\simplify{1-{p1}}\\)

\n

The percentage of the students scored higher than \\(\\var{m2}\\)% in the exam  =  \\(\\simplify{100*(1-{p1})}\\)%

\n

\n

(b)   \\(P(Failing)=P(X<\\var{pass_rate})\\)

\n

  \\(=P\\left(Z<\\frac{\\var{pass_rate}-\\var{m1}}{\\var{sd}}\\right)\\)

\n

  \\(=P(Z<\\var{pass})\\)

\n

  \\(=1-P(Z<\\simplify{-{pass}})\\)

\n

  \\(=1-\\simplify{1-{pfail}}\\)

\n

  \\(=\\var{pfail}\\)

\n

The percentage of the students that should fail the test is thus \\(\\simplify{100*{pfail}}\\)%

", "extensions": ["stats"], "type": "question", "metadata": {"licence": "Creative Commons Attribution-NonCommercial 4.0 International", "description": ""}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "variables": {"p1": {"name": "p1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "normalcdf({n},0,1)"}, "m1": {"name": "m1", "templateType": "randrange", "description": "", "group": "Ungrouped variables", "definition": "random(55..70#1)"}, "pfail": {"name": "pfail", "templateType": "anything", "description": "

prob of failing

", "group": "Ungrouped variables", "definition": "normalcdf(pass,0,1)"}, "n": {"name": "n", "templateType": "randrange", "description": "", "group": "Ungrouped variables", "definition": "random(1..2.5#0.1)"}, "pass_rate": {"name": "pass_rate", "templateType": "randrange", "description": "

passrate

", "group": "Ungrouped variables", "definition": "random(40..50#5)"}, "sd": {"name": "sd", "templateType": "randrange", "description": "", "group": "Ungrouped variables", "definition": "random(6..11#1)"}, "m2": {"name": "m2", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "{m1}+{n}*{sd}"}, "pass": {"name": "pass", "templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "({pass_rate}-{m1})/{sd}"}}, "tags": [], "parts": [{"variableReplacements": [], "showFeedbackIcon": true, "prompt": "

If we approximate the distribution of these grades by a normal distribution, what percentage of the students scored higher than \\(\\var{m2}\\)%? 

\n

Give your answer correct to one decimal place.      [[0]]%

", "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "gaps": [{"scripts": {}, "variableReplacements": [], "precisionPartialCredit": 0, "minValue": "(1-{p1})*100", "type": "numberentry", "maxValue": "(1-{p1})*100", "precision": "1", "mustBeReduced": false, "showPrecisionHint": false, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false}], "variableReplacementStrategy": "originalfirst", "scripts": {}}, {"variableReplacements": [], "showFeedbackIcon": true, "prompt": "

If the pass mark is \\(\\var{pass_rate}\\)% what percentage of the students should fail the test?  

\n

Give your answer correct to one decimal place.       [[0]]%

", "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "gaps": [{"scripts": {}, "variableReplacements": [], "precisionPartialCredit": 0, "minValue": "100*{pfail}", "type": "numberentry", "maxValue": "100*{pfail}", "precision": "1", "mustBeReduced": false, "showPrecisionHint": false, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false}], "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["m1", "sd", "n", "m2", "p1", "pass", "pfail", "pass_rate"], "rulesets": {}, "functions": {}, "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}], "resources": []}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}