Banking (IBPS / SBI) · Reasoning Ability
Input-Output, Order & Direction
39 practice questions with full step-by-step solutions, quick revision notes, plus a concept-first explainer — free, no sign-up.
Reviewed by Kaustav Basak (19 years teaching)Written with AI helpReport a mistake
What you'll learn
Learn to decode machine input-output steps, solve order and ranking questions with one formula, track direction-sense walks and count elements in alphanumeric series quickly enough for IBPS and SBI prelims.
Read Input-Output, Order & Direction for Bank Exams: Crack the Rule, Count the Rank, Walk the MapThis chapter has
Input-Output, Order & Direction — quick revision notes
- Input-output: compare the input with Step I and Step II first. Ask whether elements are being shifted (by alphabet order, size or length) or changed (squared, halved, reversed). Confirm the rule on at least two elements before applying it.
- In shifting machines only one or two elements usually move per step and the rest keep their relative order. Write each step in full rather than jumping ahead, because the unmoved elements are where most errors happen.
- Number of steps: a machine stops as soon as the arrangement is complete. If an element is already in place, no step is spent on it, so count steps by actually running the rule.
- Row positions: total = left position + right position − 1. Position from the right = total − position from the left + 1. People between two persons = difference of their positions from the same end − 1.
- When two people swap places, the one who moves takes over the other's old position, so combine the new position from one end with the other person's known position from the opposite end.
- Comparison chains: write every clue as a > b, then join the chains into one line. A phrase like 'more than only P' fixes a person at a specific rank (here second from the bottom).
- Direction sense: treat the start as (0, 0), north as +y and east as +x. A right turn is clockwise and a left turn anticlockwise relative to the direction currently faced. Use Pythagoras for straight-line distance and watch for the 3-4-5, 6-8-10, 5-12-13 and 8-15-17 triples.
- Shadows: in the morning the sun is in the east so shadows fall west; in the evening shadows fall east. At noon in India there is practically no sideways shadow.
Common mistakes to avoid
- Assuming 'turn left' always means west. Left and right depend on the direction you are currently facing, so update your facing after every turn.
- Giving the direction of the start from the end point when the question asks for the end point from the start (or the other way round). Read 'X from Y' as standing at Y and looking towards X.
- Forgetting the −1 in the row formula, or adding failed and absent students before using the rank formula instead of after it.
- In alphanumeric series, miscounting from the right end, or still counting removed elements after an instruction such as 'if all symbols are removed'.
- Accepting the first rule that fits one step of an input-output example. If two different rules give the same step, check every step and the options before committing.
Input-Output, Order & Direction — solved practice questions
10 Banking Reasoning Ability questions with step-by-step solutions. Attempt each, then reveal the answer.
These worked examples are not in the timed test, so you can study them first.
- Q1easyReport
A word arrangement machine rearranges words step by step. Input: rose bat kite moon apple. Step I: apple rose bat kite moon. Step II: apple bat rose kite moon. Step III: apple bat kite rose moon. Step IV: apple bat kite moon rose. Using the same rule, what will Step III be for the input: tree desk lamp fork cup?
- Acup fork desk tree lamp
- Bcup desk tree fork lamp
- Ccup desk fork tree lamp
- Dcup desk fork lamp tree
Show answer & solution
Correct answer: (C) cup desk fork tree lamp
Rule: in each step the next word in alphabetical order moves to just after the words already arranged; the rest keep their order. Step I: cup tree desk lamp fork. Step II: cup desk tree lamp fork. Step III: fork comes next, so cup desk fork tree lamp. - Q2mediumReport
A number arrangement machine works as follows. Input: 45 12 78 33 90 21. Step I: 12 45 78 33 90 21. Step II: 12 21 45 78 33 90. Step III: 12 21 33 45 78 90 (last step). How many steps will this machine need to finish arranging the input 64 18 55 09 37 82?
- A4
- B3
- C5
- D6
Show answer & solution
Correct answer: (A) 4
Rule: in each step the smallest remaining number moves to just after the numbers already arranged. Step I: 09 64 18 55 37 82. Step II: 09 18 64 55 37 82. Step III: 09 18 37 64 55 82. Step IV: 09 18 37 55 64 82. The numbers are now in order, so 4 steps. - Q3mediumReport
A machine arranges words and numbers together. Input: 52 gate 17 sun 88 arc 35 pen. Step I: arc 52 gate 17 sun 35 pen 88. Step II: arc gate 17 sun 35 pen 52 88. Step III: arc gate pen 17 sun 35 52 88. Step IV: arc gate pen sun 17 35 52 88. Using the same rule, what will Step III be for the input: 41 lamp 63 box 29 tea 76 dog?
- Abox dog lamp tea 29 41 63 76
- Bbox dog 41 lamp 29 tea 63 76
- Cbox dog lamp 41 tea 29 63 76
- Dbox dog lamp 29 tea 41 63 76
Show answer & solution
Correct answer: (D) box dog lamp 29 tea 41 63 76
Rule: in each step the next word in alphabetical order is placed from the left, and the next largest number is placed from the right. The other elements keep their order. Step I: box 41 lamp 63 29 tea dog 76. Step II: box dog 41 lamp 29 tea 63 76. Step III: box dog lamp 29 tea 41 63 76. - Q4mediumReport
A number machine works as follows. Input: 24 57 13 86 42. Step I: 12 60 16 43 21. Step II: 6 30 8 46 24. Using the same rule, what is the sum of all the numbers in Step II for the input 38 15 64 27 50?
- A86
- B90
- C94
- D88
Show answer & solution
Correct answer: (B) 90
Rule: an even number is halved and an odd number gets 3 added. Step I: 19, 18, 32, 30, 25. Step II: 19+3 = 22, 18/2 = 9, 32/2 = 16, 30/2 = 15, 25+3 = 28. Sum = 22 + 9 + 16 + 15 + 28 = 90. - Q5mediumReport
A machine processes numbers as follows. Input: 47 82 39 65. Step I: 28 16 27 30. Step II: 10 7 9 3. Step III: 3 7 9 10. Using the same rule on the input 58 73 96 44, what is the difference between the largest number in Step I and the largest number in Step III?
- A47
- B36
- C50
- D45
Show answer & solution
Correct answer: (D) 45
Step I takes the product of the digits, Step II takes the digit sum of each Step I number, and Step III sorts in ascending order. Step I: 5×8 = 40, 7×3 = 21, 9×6 = 54, 4×4 = 16. Step II: 4, 3, 9, 7. Step III: 3 4 7 9. Difference = 54 − 9 = 45. - Q6hardReport
A machine rearranges numbers as follows. Input: 31 74 18 56 92 45. Step I: 92 31 74 18 56 45. Step II: 92 31 74 56 45 18. Step III: 92 74 31 56 45 18. Using the same rule, what will Step III be for the input 63 27 85 14 49 70?
- A85 70 63 27 49 14
- B85 63 70 27 49 14
- C85 70 27 63 49 14
- D85 70 63 49 27 14
Show answer & solution
Correct answer: (A) 85 70 63 27 49 14
Step I moves the largest number to the left end. Step II moves the smallest number to the right end. Step III puts the second-largest number second from the left. Step I: 85 63 27 14 49 70. Step II: 85 63 27 49 70 14. Step III: 70 becomes second from the left, giving 85 70 63 27 49 14. - Q7hardReport
A machine arranges words by the number of letters, shortest first. If two words have the same length, the one that comes first alphabetically goes first. Input: planet ox river sky moon. Step I: ox planet river sky moon. Step II: ox sky planet river moon. Step III: ox sky moon planet river. Step IV: ox sky moon river planet. For the input garden in bus apple tea kite, in which step will the arrangement be 'in bus tea kite garden apple'?
- AStep II
- BStep IV
- CStep V
- DStep III
Show answer & solution
Correct answer: (B) Step IV
Word lengths: in 2, bus 3, tea 3, kite 4, apple 5, garden 6. Bus comes before tea alphabetically. Step I: in garden bus apple tea kite. Step II: in bus garden apple tea kite. Step III: in bus tea garden apple kite. Step IV: in bus tea kite garden apple. - Q8easyReport
A number machine works as follows. Input: 8 3 6 1. Step I: 64 9 36 1. Step II: 65 10 37 2. Using the same rule, what will Step II be for the input 5 2 7 4?
- A26 5 50 17
- B25 4 49 16
- C11 5 15 9
- D26 5 50 16
Show answer & solution
Correct answer: (A) 26 5 50 17
Step I squares each number and Step II adds 1. Step I: 25 4 49 16. Step II: 26 5 50 17. - Q9easyReport
A word machine works as follows. Input: blue green red pink. Step I: pink red green blue. Step II: p r g b. Using the same rule, what will Step II be for the input: west north east south?
- Ae s w n
- Bs e n w
- Cw n e s
- Ds n e w
Show answer & solution
Correct answer: (B) s e n w
Step I reverses the order of the words and Step II keeps only each word's first letter. Step I: south east north west. Step II: s e n w. - Q10easyReport
In a row of students, Riya is 14th from the left end and 9th from the right end. How many students are in the row?
- A22
- B24
- C23
- D21
Show answer & solution
Correct answer: (A) 22
Total = position from left + position from right − 1 = 14 + 9 − 1 = 22.
Ready to test yourself? Take the 29-question Input-Output, Order & Direction test →