Reasoning

Input-Output: Practice Questions with Answers

11 practice questions on Input-Output, with answers; most also have an explanation or a worked solution. Try each one before you open its answer.

Read the lesson on this topic →

  1. Q.1

    Input: 72 kite 19 drum 55 ant 8 wolf 34 bee. What does Step I look like?

    Show answer

    Answer: wolf kite drum bee ant 72 19 55 8 34

    Solution:

    1. Words in the input: kite, drum, ant, wolf, bee. Sorted reverse-alphabetically: wolf, kite, drum, bee, ant.
    2. Numbers keep their original relative order from the input (72, 19, 55, 8, 34) and follow the words.

    Report this question

  2. Q.2

    Using the same input, which word is third from the left in Step I?

    Show answer

    Answer: drum

    Solution:

    1. Step I’s word order is wolf, kite, drum, bee, ant — the 3rd word is drum.

    Report this question

  3. Q.3

    Using the same input, in the final step, which number is exactly in the middle (3rd) among the five numbers?

    Show answer

    Answer: 34

    Solution:

    1. The numbers in the final step, left to right, are 72, 55, 34, 19, 8 — the 3rd one is 34.

    Report this question

  4. Q.4

    Using the same input (72 kite 19 drum 55 ant 8 wolf 34 bee), what does Step II — the final step — look like?

    Show answer

    Answer: wolf kite drum bee ant 72 55 34 19 8

    Solution:

    1. Step II keeps the words exactly as in Step I (wolf, kite, drum, bee, ant) and sorts the numbers into descending order: 72, 55, 34, 19, 8.

    Report this question

  5. Q.5

    Using the same input, which number is immediately to the right of 55 in the final step?

    Show answer

    Answer: 34

    Solution:

    1. The final step’s number order, left to right, is 72, 55, 34, 19, 8 — immediately to the right of 55 is 34.

    Report this question

  6. Q.6

    Using the same input, how many words appear before the number 19 in the final step’s full arrangement?

    Show answer

    Answer: 5

    Solution:

    1. The final arrangement is: wolf kite drum bee ant 72 55 34 19 8 — all 5 words come before the entire number block, so all 5 words are before 19.

    Report this question

  7. Q.7

    Using the same input, in the final step, what is the 2nd number from the left (within the number group)?

    Show answer

    Answer: 55

    Report this question

  8. Q.8

    Using the same input (72 kite 19 drum 55 ant 8 wolf 34 bee), how many steps does this machine take to reach its final arrangement?

    Show answer

    Answer: 2 steps

    Report this question

  9. Q.9

    Using the same input, in Step I, which word is immediately to the left of "ant"?

    Show answer

    Answer: bee

    Report this question

  10. Q.10

    Using the same input, which step keeps the numbers in their original relative order from the input (rather than sorting them)?

    Show answer

    Answer: Step I

    Report this question

  11. Q.11

    Using the same input, what is the sum of the first and last numbers in the final step?

    Show answer

    Answer: 80 (72 + 8)

    Report this question

How these questions were made

Written by Mahesh Srivastava, Founder of Pariksha Saathi. Published: 2026-10-03.

Editorial standards & corrections

Practise this topic →