By the end of this chapter you'll be able to…

  • 1Classify a machine as shifting, arithmetic or box/coding
  • 2Deduce the rule by comparing Input to Step 1 element-by-element
  • 3Verify the rule on Step 1 → Step 2 before proceeding
  • 4Recognise step-number-dependent arithmetic operations
  • 5Generate only the step a question needs instead of solving the whole machine
💡
Why this chapter matters in IBPS PO
Input–output is a Mains-only 5-mark set that many candidates skip out of fear, leaving easy marks on the table. It is fully deterministic: one fixed rule, deduced from the first two steps, then applied mechanically. Because the whole set hinges on correctly finding that single rule, a candidate who trains the Input→Step-1 comparison method banks all 5 marks in a few minutes while others avoid the set entirely.

Input–Output (Machine) — IBPS PO Reasoning

Input–output is a Mains staple — one set of ~5 questions — and it intimidates only because the "machine" language hides a simple truth: a fixed rearrangement rule is applied once per step, and each step's output is the next step's input. Nobody asks you to invent the rule from nothing; you deduce it by comparing the given Input to Step 1, confirm it on Step 1 → Step 2, and then you own the machine. The last decade shifted from word/number shifting machines to arithmetic and box machines, so this chapter covers all the live types.


1. What IBPS actually asks

A machine takes an input line of words/numbers and produces a new arrangement each step until no more rearrangement is possible. You're shown the Input and a few steps, then asked things like:

  • "What is Step 3?" / "Which element is 3rd from the left in Step 2?"
  • "In which step does the arrangement become …?"
  • "How many steps to complete the arrangement?"

The type determines the method:

  • Shifting machines — one or two elements move to the ends each step (by size, alphabetical order, etc.).
  • Arithmetic machines — numbers are operated on (×, +, digit-sum, etc.) — the newer, more common type.
  • Box/coding machines — words and numbers are paired and coded.

2. Find the rule from Input → Step 1 (the whole skill)

  1. Line up Input above Step 1, position by position, and ask what changed.
  2. Identify the "picked" element(s) — usually the largest/smallest number or the word first/last alphabetically — and where it went (extreme left? right?).
  3. Confirm on Step 1 → Step 2. The same rule must reproduce Step 2 from Step 1. If it doesn't, your rule is wrong — revise it before proceeding.
  4. One rule, applied repeatedly. Every step is the same operation on the previous step's output. There is never a new rule mid-machine.

The machine is deterministic. Your only job is to reverse-engineer one rule from two given steps; after that, generating any step is mechanical.


3. Shifting machines — the classic pattern

Common rules (deduce which applies):

  • One element per step, alternating ends: largest number to the left in step 1, smallest to the right in step 2, next-largest left in step 3…
  • Alphabetical + numerical interleave: words arranged A→Z from one end, numbers ascending/descending from the other.
  • Word length or vowel/consonant based ordering.

The number of steps usually equals the number of elements (minus one), because each step places one element into its final position. That gives a fast sanity check.


4. Arithmetic machines — the modern default

Here numbers are transformed, not just moved. Typical operations, applied per step:

  • Step-wise arithmetic: "each number is multiplied by the step number", or "add the step number", or "×2 in step 1, +3 in step 2…".
  • Digit operations: replace a number by its digit sum, product of digits, reverse, or difference of digits.
  • Position-linked: the operation depends on the number's position (odd positions +1, even ×2).

Method is identical: compare Input to Step 1 element-by-element, hypothesise the operation, and verify on the next step (the operation often changes with the step number, which is the whole trick).


5. Read only the step you need

The biggest time-waster is generating every step when the question only needs one. Once you have the rule:

  • For "Step 3, 2nd from left", generate up to Step 3 only.
  • For "how many steps to finish", use the "one element placed per step" logic for shifting machines, or run it out for arithmetic machines.
  • For "which step gives arrangement X", generate forward and stop when you match.

Don't fully solve the machine unless a question forces it.


6. Solved example (shifting)

Input: bat 24 cage 11 door 37 ant 8 Step 1: 8 bat 24 cage 11 door 37 ant Step 2: 8 37 bat 24 cage 11 door ant

Deduce: Step 1 moved the smallest number (8) to the extreme left. Step 2 moved the largest number (37) to the position just after 8 (i.e., second from left). So the rule alternates: smallest to the front, then largest next, then 2nd-smallest, then 2nd-largest…

Step 3 would bring 11 (next smallest) to the third position: 8 37 11 bat 24 cage door ant. Any "Step 3" question now answers itself.


7. The protocol

  1. Classify the machine: shifting, arithmetic, or box/coding.
  2. Compare Input → Step 1 element by element; hypothesise the rule (which element picked, where it went, or what operation).
  3. Verify on Step 1 → Step 2 — reject the rule if it fails; note if the operation depends on the step number.
  4. Generate only up to the step the question asks about.
  5. Sanity-check step count (shifting: ≈ number of elements − 1).

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

Core principle
One fixed rule per step; each step's output is the next step's input
The rule never changes mid-machine.
Rule discovery
Compare Input → Step 1, then VERIFY on Step 1 → Step 2
Reject any rule that fails the second check.
Shifting step count
Steps ≈ number of elements − 1
One element reaches its final position per step.
Arithmetic machines
Operation may depend on the step number (×step, +step)
×2 in step 1, +3 in step 2 — the modern trick.
Answer only what's asked
Generate up to the queried step only
Don't solve the whole machine unless forced.
⚠️

Traps IBPS PO sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Skipping input–output sets out of fear
It's deterministic — one rule from two steps. Practise the Input→Step-1 method and it becomes a reliable 5-mark block, not a gamble.
WATCH OUT
Fixing the rule from Input→Step 1 without verifying on the next step
Always confirm the same rule reproduces Step 2 from Step 1. A rule that fits one transition but not the next is wrong.
WATCH OUT
Assuming a shifting machine when it's arithmetic
Modern IBPS machines transform numbers (digit sum, ×step). If elements change value rather than just move, it's arithmetic — look for a per-step operation.
WATCH OUT
Generating every step when one is asked
Once the rule is known, produce only up to the queried step. Fully running the machine wastes the time this fast block is meant to save.
WATCH OUT
Missing that the operation depends on the step number
If a single fixed operation fails verification, test operations tied to the step index (multiply by step, add step) — this is the common arithmetic twist.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Input–Output (Machine)?

6 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

6 questions~4 min worth ~5 marks in IBPS PO exams

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • One fixed rule per step; each output feeds the next step.
  • Deduce the rule from Input→Step 1, then VERIFY on Step 1→Step 2.
  • Classify first: shifting (elements move) vs arithmetic (values change) vs box/coding.
  • Arithmetic operations often depend on the step number or position.
  • Shifting machines take ≈ (elements − 1) steps.
  • Generate only the step the question asks about.
  • Don't skip the set — it's deterministic and high-return.

IBPS PO question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: Mains: ~5 marks (of 60), one set

Question styleMarks eachTypical countWhat it tests
Shifting machine1 each0–5Alternating-end placement by size/alphabet
Arithmetic / digit machine1 each0–5Per-step or per-position operations, digit transforms
Prep strategy
  • Week 1 (Mains phase): 10 shifting-machine sets, focusing on the Input→Step-1→verify method.
  • Week 2: arithmetic and digit machines with step-number-linked operations.
  • Ongoing: in mocks, always attempt the set once you can find the rule in under 90 seconds.

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Classify the machine type before hunting for the rule.
  2. Deduce from Input→Step 1, then verify on the next transition.
  3. Test step-number-linked operations for arithmetic machines.
  4. Generate only up to the queried step.
  5. Attempt the set — it's deterministic and among the more bankable Mains reasoning blocks.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

Process automation

Reverse-engineering a fixed transformation from before/after data is exactly how one debugs a data pipeline or batch job.

Pattern discipline

Verifying a hypothesised rule on a second case before trusting it is core analytical hygiene.

Where else this topic is tested

Prepare once, score in every exam that asks it.

SBI PO / RBI Grade BVery high — often harder arithmetic/box machines
IBPS Clerk (Mains)High — usually a shifting machine
RRB PO (Mains)High — one set per paper

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

No — it's a Mains-only topic, typically one set of ~5 questions. It doesn't appear in Prelims, so allocate practice to it only in your Mains phase.

Line up the Input above Step 1 and see exactly what changed — which element was picked and where it moved, or what operation transformed the numbers. Then verify the same rule reproduces Step 2 from Step 1. Two transitions are enough to pin the rule.

Either you mis-identified the picked element, or the operation depends on the step number (×step, +step) — very common in arithmetic machines. Re-check with a step-indexed operation before assuming the machine is inconsistent.

No. Once you have the rule, generate only up to the step the question asks about. Fully running the machine wastes time — the whole value of this block is that it's fast once the rule is known.
Header Logo