Skip to content
PrintablePaperKit

Input Output Tables

Input output tables and function machines with rules you choose: one step or two, adding, subtracting, multiplying or dividing. Ask for the outputs, the inputs or the rule, and print several versions with an answer key.

  • One or two-step rules
  • Function machine boxes
  • Versions and answer key

How to make an input output table worksheet

  1. Pick a starting point. Under Start from, choose Input-output tables, One-step rules, Two-step rules, Function machines, Find the rule or Work backwards.
  2. Set the rule. Under Problems, set Difficulty, choose One step or Two steps under Rule, and tick the Operations in the rule.
  3. Size the tables. Set Input numbers and Pairs in each table, and turn on Function machine for the boxes.
  4. Print. Print at 100% or download the PDF, and keep the Key pages for marking.

Four ways to ask

Kind of problemWhat the student does
Complete the tableApplies the rule to each In and writes the Out
Find the inputsEvery Out is given; undoes the rule to find each In
Missing inputs and outputsSome gaps in each row, so the rule runs both ways
Find the ruleEvery pair is filled in; writes the rule that links them

Tick more than one kind and they take turns down the sheet, in the order you set with the arrows. The answer key lists the missing numbers in the order they appear, with a line of working such as Work back from 14: (14 – 2) ÷ 3 = 4.

Choosing the rule

Left on By difficulty, Easy rules are one step (add, subtract or multiply), Medium rules multiply by 2 to 6 and then add or subtract, and Hard rules are written as an equation in x and y. Choose One step or Two steps to tick the operations yourself: add, subtract, multiply or divide. A two-step rule pairs a × or ÷ step with a + or – step. In a rule you choose, multipliers and divisors run from 2 to 5 on Easy, 2 to 10 on Medium and 2 to 12 on Hard.

Function machines

With Function machine on, each problem draws a box for every step of the rule, joined by arrows from In to Out. In a narrow column the machine sits above its table; in a wide one, such as a single column on A4 or US Letter, it sits beside it. When the rule is to be found, each box shows a question mark, so the student still knows whether it has one step or two (a Hard rule set by difficulty is one box, for its equation). The Function machines starting point puts 8 on a page for that extra room.

Ideas for lessons

  • Forwards, then backwards. A sheet of Complete the table followed by one from the Work backwards starting point shows that undoing × 3, then + 2 means – 2 first, then ÷ 3.
  • Read the pattern. On Easy and Medium, Find the rule tables count up one at a time (or by the divisor for a ÷ rule), so the jump in the Out row gives away a multiplier. Hard tables pick their inputs at random, so a guess has to be tested on each pair.
  • Plot the pairs. On Hard, the x and y pairs are points on a straight line.
  • Grow the table. Pairs in each table runs from 3 to 8. Three fit the narrowest columns; eight give more pairs to test a rule against.

Printing the tables

The tables are filled in where they stand, so they need no working space. The cells keep one width until a column cannot hold every pair, as with 8 pairs in three columns on A5, and then they narrow. If the numbers then print small, or a table or machine would run into the problem below, a note says so beside the preview.

More algebra practice

The algebra worksheets page opens the same studio on equations, expressions and seven more topics, and the graph paper maker gives a grid for plotting the pairs from a Hard table.

Frequently asked questions

What is the difference between an input-output table and a function machine?

They hold the same maths. A table lists each In with its Out, and the rule is written above it. A function machine draws the rule as a row of boxes, one for each step, with an arrow going in and one coming out. Turn on Function machine to print both together.

A student wrote a different rule from the key. Can both be right?

Yes, sometimes. On a two-step table, + 2, then × 3 gives the same outputs as × 3, then + 6, so test the student’s rule on every pair. The key always puts the × or ÷ step first when the rule is to be found, and on Hard tables set by difficulty it writes the rule as an equation such as y = 3x + 6.

How do division rules give whole numbers?

A ÷ step always comes first, and each input is the divisor times a whole number up to the Input numbers limit, so a ÷ 4 table up to 10 takes inputs such as 8, 12 and 20. In a two-step rule the + or – step follows, and every number in the table stays whole.

Can each student get a different set of tables?

Yes. Set Versions to up to 6. Every version has the same kinds of problem and rule type with its own numbers, labelled Version A onwards, and the answer key covers them all.

Can the numbers go below zero?

Only if you want them to. With Negative numbers off, every input, output and value along the way is zero or more. With it on, rules may subtract past zero, and some tables start below zero.

More worksheets

All 46 worksheets