// Numbas version: finer_feedback_settings {"name": "Q11 & 12 (Percentage Error with multipling and rounding-off)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["num1", "num2", "res1", "res2", "name", "ans1", "game", "ans2"], "name": "Q11 & 12 (Percentage Error with multipling and rounding-off)", "tags": ["rebelmaths"], "advice": "

When rounding off a number the maximum value of the decimals can be before rounding up to the next number is \"0.499999999\", or approximately \"0.5\"

\n

For example, the maximum the following numbers could be are;

\n

$\\var{num1}m = \\var{res1}$m

\n

$\\var{num2}m = \\var{res2}$m

\n

Part 1:

\n

The maximum perimeter the court can be is:

\n

$(\\var{res1} \\times 2) + (\\var{res2} \\times 2) = \\var{ans2}m$

\n

Part 2:

\n

The maximum area the court can be is:

\n

$\\var{res1}\\times \\var{res2} = \\var{ans1}m^2$

\n

", "rulesets": {}, "parts": [{"prompt": "

Calculate the maximum possible perimeter of the court.

\n

Round to 2 decimal places!!

\n

[[0]]m

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ans2}", "minValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Calculate the maximum area in the court could be.

\n

Round to 2 decimal places!!

\n

[[0]]$m^2$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ans1}", "minValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

$\\var{name}$ measured the length of a $\\var{game}$ court to be $\\var{num1}$ m and the width of the court to be $\\var{num2}$ m, both correct to the nearest metre

\n

 

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"num1": {"definition": "random(25..30)", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "random(12..18)", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "res2": {"definition": "num2+0.5", "templateType": "anything", "group": "Ungrouped variables", "name": "res2", "description": ""}, "ans1": {"definition": "res1*res2", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "(res1*2)+(res2*2)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "res1": {"definition": "num1+0.5", "templateType": "anything", "group": "Ungrouped variables", "name": "res1", "description": ""}, "game": {"definition": "random('basketball','tennis','badminton','volleyball','handball')", "templateType": "anything", "group": "Ungrouped variables", "name": "game", "description": ""}, "name": {"definition": "random('Robert','John','Liam','Karl','Victor')", "templateType": "anything", "group": "Ungrouped variables", "name": "name", "description": ""}}, "metadata": {"description": "

Basic Percentage Error

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}