Function Machines (Input and Output) practice questions

Quantitative Reasoning Common Entrance

10 free Quantitative Reasoning questions on Function Machines (Input and Output) for Common Entrance, each with the correct answer and a short explanation. Work out your answer first, then tap Show answer & explanation to check yourself — that is how the practice actually sticks.

On Levia this topic is part of Level 2 — Number Machines & Operations of the Quantitative Reasoning course, which has 21 questions on Function Machines (Input and Output).

1. A trader at Oja-Oba market uses a pricing machine where the price in naira equals the number of oranges multiplied by 20, plus a fixed transport charge of 10 naira. If a customer paid 130 naira, how many oranges did she buy?

A. 4
B. 5
C. 6
D. 7
Answer C. Subtract the transport charge from the total: 130 - 10 = 120. Then divide by the price per orange: 120 ÷ 20 = 6. So she bought 6 oranges.

2. A machine subtracts 5 from the input, then multiplies the result by 2 to give the output. If the output is 30, what was the original input?

A. 15
B. 18
C. 20
D. 25
Answer C. Work backwards: divide the output by 2 to get 15, then add 5: 15 + 5 = 20. So the input was 20. Check: (20 - 5) × 2 = 30.

3. A function machine turns an input of 10 into an output of 40 using only one multiplication operation. What number was the input multiplied by?

A. 2
B. 3
C. 4
D. 5
Answer C. To find the multiplier, divide the output by the input: 40 ÷ 10 = 4. So the input was multiplied by 4.

4. A machine with the rule 'divide by 3' turns an input of 12 into an output of 4. If the rule is changed to 'divide by 4', what output will the same input of 12 now give?

A. 2
B. 3
C. 4
D. 6
Answer B. With the new rule, divide 12 by 4: 12 ÷ 4 = 3. So the new output is 3.

5. An input number passes through two machines one after another. The first machine doubles the number, and the second machine adds 3 to whatever comes out of the first machine. If the starting input is 6, what is the final output?

A. 12
B. 15
C. 18
D. 21
Answer B. First machine: 6 × 2 = 12. Second machine: 12 + 3 = 15. The final output is 15.

6. A function machine follows this pattern: Input 3 gives Output 11, and Input 5 gives Output 17. Using the same rule, what output will Input 8 give?

A. 23
B. 24
C. 25
D. 26
Answer D. The rule is: multiply the input by 3, then add 2 (since 3×3+2=11 and 5×3+2=17). Applying to 8: (8 × 3) + 2 = 24 + 2 = 26.

7. A machine doubles the input and then adds 5 to get the output. If the output is 19, what number was fed into the machine?

A. 5
B. 6
C. 7
D. 8
Answer C. Reverse the steps: subtract 5 from 19 to get 14, then divide by 2: 14 ÷ 2 = 7. So the input was 7. Check: (7 × 2) + 5 = 19.

8. A function machine adds 7 to the input, then divides the result by 2. If the output is 6, what was the input?

A. 3
B. 4
C. 5
D. 6
Answer C. Work backwards: multiply the output by 2 to get 12, then subtract 7: 12 - 7 = 5. So the input was 5. Check: (5 + 7) ÷ 2 = 6.

9. A machine subtracts 4 from the input first, then multiplies the result by 2. What output will you get if the input is 9?

A. 8
B. 10
C. 12
D. 14
Answer B. First subtract 4: 9 - 4 = 5. Then multiply by 2: 5 × 2 = 10. So the output is 10.

10. A function machine multiplies the input by 3 and then adds 2 to get the output. If the input is 5, what is the output?

A. 15
B. 17
C. 19
D. 21
Answer B. Apply the rule: (5 × 3) + 2 = 15 + 2 = 17. So the output is 17.

Want the full Quantitative Reasoning course?

Create a free account to practise Quantitative Reasoning level by level: timed 20-question sets, your score and XP tracked, and a certificate when you finish. Always free.

Start Learning Free

Quantitative Reasoning study guides

More Quantitative Reasoning topics