// Numbas version: exam_results_page_options {"name": "Q4 Calculating gross wage given tax information 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["standard", "job", "credit", "tax", "ans", "m"], "name": "Q4 Calculating gross wage given tax information 1", "tags": ["rebelmaths"], "advice": "

First calculate gross income tax

\n

gross income tax = income tax + tax credit

\n

Then, divide by standard rate of income tax, $\\var{standard}$% (or multiply by $\\frac{100}{\\var{standard}})$

\n

$(€\\var{tax} + €\\var{credit}) \\times (\\frac{100}{\\var{standard}}) = €\\var{ans}$

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

A $\\var{job}$ has a tax credit of €$\\var{credit}$ per week and pays income tax on all his wages at the standard rate of income tax of $\\var{standard}$%. If he pays €$\\var{tax}$ in tax per week, find his gross weekly wage, to the nearest cent.

\n

€[[0]]

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

First find the gross tax (as in the previous question).

\n

This is $\\var{standard}$ % of his total wages. First find 1% of his wages and then multiply by 100 to find his total wages.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "

Calculate gross weekly wage

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"m": {"definition": "random(3..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "tax": {"definition": "(m*standard) - credit", "templateType": "anything", "group": "Ungrouped variables", "name": "tax", "description": ""}, "standard": {"definition": "random(20..22#0.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "standard", "description": ""}, "credit": {"definition": "random(30..50#2)", "templateType": "anything", "group": "Ungrouped variables", "name": "credit", "description": ""}, "job": {"definition": "random('printer','painter','teacher','carpenter','software developer')", "templateType": "anything", "group": "Ungrouped variables", "name": "job", "description": ""}, "ans": {"definition": "({tax}+{credit})*(100/{standard})", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}}, "metadata": {"description": "

Gross wage, tax

\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/"}]}