// Numbas version: exam_results_page_options {"name": "NC NA Convert a proportion to a percentage (10+)", "extensions": ["written-number"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NC NA Convert a proportion to a percentage (10+)", "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students are given a proportion of students who DO speak a language other than English at home, and are asked to find the percentage who do NOT. The fraction denominator is either 20 or 25, and the numerator is randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n

{capitalise(written_number(num_students))} of the {written_number(class_size)} students in Mrs Griva’s class speak a language other than English at home.

", "advice": "

First work out the number of students who do NOT speak a language other than English at home.

\n

In this case it is  $\\var{class_size} - \\var{num_students} = \\var{class_size-num_students}$  students.

\n

Then write this as a fraction out of  $\\var{class_size}$.

\n

$ \\displaystyle{\\frac{\\var{class_size-num_students}} {\\var{class_size}}} $  of the students in Mrs Griva’s class do NOT speak a language other than English at home.

\n

Finally, convert this to a percentage. You could multiply the fraction by  $ \\displaystyle{\\frac{\\var{100/class_size}}{\\var{100/class_size}}} $ in order to scale up to a mark out of  $100$. 

\n

 $ \\displaystyle{\\frac{\\var{class_size-num_students}} {\\var{class_size}} \\times \\frac{\\var{100/class_size}}{\\var{100/class_size}}  =  \\frac{\\var{(class_size-num_students)/class_size*100}}{100} = \\var{(class_size-num_students)/class_size*100}\\%}$

\n

$\\var{(class_size-num_students)/class_size*100}\\%$  of the students in Mrs Griva’s class do NOT speak a language other than English at home.

", "rulesets": {}, "extensions": ["written-number"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "random(3 .. 19#1)", "description": "

The number of students in the class who do speak a language other than English. 

", "templateType": "randrange", "can_override": false}, "class_size": {"name": "class_size", "group": "Ungrouped variables", "definition": "random(20,25)", "description": "

There are either 20 or 25 students in the class, to enable the conversion to a percentage to be done without a calculator, and without the need for rounding.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_students", "class_size"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "
\n

What percentage of Mrs Griva’s students do not speak a language other than English at home? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["$\\var{class_size-num_students}\\%$", "$\\var{num_students*100/class_size}\\%$", "$\\var{num_students}\\%$", "$\\var{(class_size-num_students)/class_size*100}\\%$"], "matrix": [0, 0, 0, "1"], "distractors": ["Have you converted this to a percentage? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Then convert this to a percentage. Click on Reveal Answer and scroll down for Advice regarding this question.", "Well done!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}]}]}], "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/"}]}