// Numbas version: finer_feedback_settings {"name": "Q7 Ratio work times", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"": {"definition": "", "type": "number", "language": "jme", "parameters": []}}, "ungrouped_variables": ["number1", "number2", "time1", "time2", "timeword1", "timeword2", "ans1", "ans2", "number3", "ans3", "place", "worker", "worker2", "worker1", "worker3", "ans11", "subvalue"], "name": "Q7 Ratio work times", "tags": ["ratio", "rebelmaths", "teame"], "preamble": {"css": "", "js": ""}, "advice": "

Part 1:

\n

Unskilled workers: $\\var{worker3}$

\n

Skilled workers: $\\frac{\\var{worker3}}{\\var{worker[2]}} = \\var{worker2}$

\n

Foremen: $\\frac{\\var{worker2}}{\\var{worker[1]}} = \\var{subvalue}$

\n

Total: $\\var{worker3} + \\var{worker2} + \\var{subvalue} = \\var{ans5}$

\n

\n

Part 2:

\n

$\\frac{(\\var{number1} \\times \\var{time1})}{\\var{number2}} = \\var{ans1}$

\n

\n

Part 3:

\n

$\\frac{(\\var{number1} \\times \\var{time1}\\times \\var{time1})}{\\var{number2}} = \\var{ans2}$

\n

$\\frac{(\\var{number1} \\times \\var{time1}\\times \\var{time1})}{\\var{number3}} = \\var{ans3}$

\n

", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"stepsPenalty": 0, "prompt": "

A $\\var{place}$ employs $\\var{worker3}$ unskilled workers, one skilled worker for every $\\var{worker[2]}$ unskilled workers and one foreman for every $\\var{worker[1]}$ skilled workers. How many people are employed in this $\\var{place}$?

\n

[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Write the information out as one ratio. Divide the employees in this ratio.

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

If $\\var{number1}$ people can complete a task in $\\var{time1}$ hours, how long would it take $\\var{number2}$ people to complete the same task, assuming the work rate remains constant?

\n

[[0]]hours

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

It takes $\\var{number1} \\times \\var{time1}$ man hours to complete the task. Divide that by $\\var{number2}$ to find out how long it takes now.

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

It takes $\\var{number1}$ people $\\var{time1}$ days to do a job. If they work $\\var{time2}$ hours per day, how long would it take:

\n

i) $\\var{number2}$ people to do the same job? 

\n

[[0]]hours

\n

ii) $\\var{number3}$ people to do the same job? 

\n

[[1]]hours

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

Solve the following questions, to 2 decimal places.  

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"timeword1": {"definition": "random(['hours','days'])", "templateType": "anything", "group": "Ungrouped variables", "name": "timeword1", "description": ""}, "timeword2": {"definition": "random(['hours','days'] except {timeword1})", "templateType": "anything", "group": "Ungrouped variables", "name": "timeword2", "description": ""}, "worker2": {"definition": "{worker1} * worker[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "worker2", "description": ""}, "worker1": {"definition": "worker[0] * worker[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "worker1", "description": ""}, "ans1": {"definition": "({number1}*{time1})/{number2}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "({number1}*{time1}*{time2})/{number2}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "({number1}*{time1}*{time2})/{number3}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "worker": {"definition": "shuffle(5..12)[0..3]", "templateType": "anything", "group": "Ungrouped variables", "name": "worker", "description": ""}, "time1": {"definition": "random(5..20 except {number1} except {number2})", "templateType": "anything", "group": "Ungrouped variables", "name": "time1", "description": ""}, "time2": {"definition": "random(5..10#0.5 except {number1} except {number1} except {time1})", "templateType": "anything", "group": "Ungrouped variables", "name": "time2", "description": ""}, "subvalue": {"definition": "(({worker3}/worker[2])/worker[1])", "templateType": "anything", "group": "Ungrouped variables", "name": "subvalue", "description": ""}, "ans11": {"definition": "({worker3}/worker[2]) + {subvalue} + {worker3}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans11", "description": ""}, "number2": {"definition": "random(3..18 except {number1})", "templateType": "anything", "group": "Ungrouped variables", "name": "number2", "description": ""}, "number3": {"definition": "random(3..18 except {number1} except {number2})", "templateType": "anything", "group": "Ungrouped variables", "name": "number3", "description": ""}, "number1": {"definition": "random(5..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "number1", "description": ""}, "place": {"definition": "random('shop','business','factory')", "templateType": "anything", "group": "Ungrouped variables", "name": "place", "description": ""}, "worker3": {"definition": "{worker2} * worker[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "worker3", "description": ""}}, "metadata": {"description": "

Ratio, working hours

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