Skills › Math › 4th grade 🧩 4th grade math · Patterns & Algebra
Function machines A function is a rule. You put in an input and the rule gives you an output. Rule: multiply by 3, then add 2. Input 4: 4 × 3 = 12, then 12 + 2 = 14. The output is 14.
Worked example
A rule takes an input and gives an output. The rule: add 8. What is the output when the input is 9?
Answer: output = 17
Follow the rule step by step: 9 + 8 = 17; so the output is 17 .
For grown-ups: Input–output rules ("function machine"). Below: three problems to try with the worked answers, and a free printable sheet. Children can practise the same skill as a game, with no sign-up and no ads.
CCSS 4.OA.C.5 CCSS 5.OA.B.3 What this practises, for teachers Practices input–output rules ("function machine") (4.OA.C.5, 5.OA.B.3). A printable sheet with its answer key, worked answers on the page, no accounts.
Try three A rule takes an input and gives an output. The rule: subtract 3. What is the output when the input is 6?
Show the answer and how Answer: output = 3
Follow the rule step by step: 6 − 3 = 3; so the output is 3 .
A rule takes an input and gives an output. The rule: subtract 6, then add 6. What is the output when the input is 3?
Show the answer and how Answer: output = 3
Follow the rule step by step: 3 − 6 = −3; −3 + 6 = 3; so the output is 3 .
A rule takes an input and gives an output. The rule: divide by 2, then multiply by 2. What is the output when the input is 10?
Show the answer and how Answer: output = 10
Follow the rule step by step: 10 ÷ 2 = 5; 5 × 2 = 10; so the output is 10 .
Name: ____________________ Date: ____________ Score: ____ / 12
Function machines (4th grade) A rule takes an input and gives an output. The rule: multiply by 4. What is the output when the input is 2?
A rule takes an input and gives an output. The rule: add 7. What is the output when the input is 9?
A rule takes an input and gives an output. The rule: subtract 1. What is the output when the input is 8?
A rule takes an input and gives an output. The rule: subtract 3. What is the output when the input is 7?
A rule takes an input and gives an output. The rule: add 2. What is the output when the input is 1?
A rule takes an input and gives an output. The rule: multiply by 9, then add 3. What is the output when the input is 7?
A rule takes an input and gives an output. The rule: divide by 4, then multiply by 8. What is the output when the input is 16?
A rule takes an input and gives an output. The rule: multiply by 5, then add 8. What is the output when the input is 7?
A rule takes an input and gives an output. The rule: subtract 3, then add 7. What is the output when the input is 7?
A rule takes an input and gives an output. The rule: add 2, then multiply by 2. What is the output when the input is 10?
A rule takes an input and gives an output. The rule: subtract 7, then add 12. What is the output when the input is 3?
A rule takes an input and gives an output. The rule: add 9, then multiply by 5. What is the output when the input is 6?
Answer key output = 8 output = 16 output = 7 output = 4 output = 3 output = 66 output = 32 output = 43 output = 11 output = 24 output = 8 output = 75 More 4th grade skills: all 4th grade math skills , or every grade at math skills .
By Aaron , founder of Peabody. About Peabody
The problems, the worked answers and the sheet are drawn by Peabody's code from the same generators the game uses, with no AI, the same way every time. Peabody is a learning app, not an assessment.
Something wrong or out of date? Write to aaron@peabody.kids .