Input Output


To solved Input/ Output questions, we have to observe the pattern looking at output and input. There is no general rule of pattern but in general we have following patterns.

• Arrangement of words in ascending or descending order based on the number of letters in each of the words.
• Arrangement of words alphabetically in ascending or descending order.
• Arrangement of words in ascending or descending order based on the number of vowels in the words.
• Check for position of the word in the input for clues on the pattern.
• Check for forward and backward number position of the alphabets in the given input.
• Check if a certain alphabet is being replaced or position of a particular alphabet in the given set of words.
• Check for common series such as squares, cube root, common ratio, common difference etc.
• Check for position of the number in the input for clues on the pattern.
• Check for arrangement (ascending or descending) based on the sum of the digits of each number.

Example (Qs. 1-6): Study the following information carefully and answer the given question:
A word and number arrangement machine when given an input line of words and numbers rearrange themselves following a particular rule in each step.

The following is an illustration of input and rearrangement.
Input: shop 17 table 20 53 oven desk 39
Step I: 17 shop table 20 53 oven desk 39
Step II: 17 table shop 20 53 oven desk 39
Step III: 17 table 20 shop 53 oven desk 39
Step IV: 17 table 20 shop 39 53 oven desk
Step V: 17 table 20 shop 39 oven 53 desk
and step V is the last step of the rearrangement.

As per the rule followed in the above steps, find out in each of the following questions the appropriate step for the given input.

  1. Input: 89 bind 32 goal house 61 12 joy How many steps will be required to complete the arrangement?
    (a) Four
    (b) Five
    (c) Six
    (d) Seven
    (e) None of these
  2. Step II of an input is: 15 yes 62 51 48 talk now gone
    Which of the following will be step VI?
    (a) 15 yes 48 talk 51 now gone 62
    (b) 15 yes 48 talk 51 62 now gone
    (c) 15 yes 48 talk 51 now 62 gone
    (d) There will be no such step
    (e) None of these
  3. Step III of an input is: 21 victory 30 joint 64 47 all gone
    How many more step will be required to complete the rearrangement?
    (a) Three
    (b) Four
    (c) Five
    (d) Six
    (e) None of these
  4. Input: win 92 task 73 59 house range 34
    Which of the following will be step IV of the above input?
    (a) 34 win 59 task 73 range 92 house
    (b) 34 win 92 59 task 73 house range
    (c) 34 win 92 task 73 59 house range
    (d) There will be no such step
    (e) None of these
  5. Input: save 21 43 78 them early 36 for
    Which of the following steps will be the last but one?
    (a) VI
    (b) VII
    (c) VIII
    (d) V
    (e) None of these
  6. Input: desire 59 63 all few 38 46 zone
    How many steps will be required to complete the rearrangement?
    (a) Four
    (b) Five
    (c) Six
    (d) Seven
    (e) None of these

Solution for 1-6:
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.

1.(c)
Input: 89 bind 32 goal house 61 12 joy
Step I: 12 89 bind 32 goal house 61 joy
Step II: 12 joy 89 bind 32 goal house 61
Step III: 12 joy 32 89 bind goal house 61
Step IV: 12 joy 32 house 89 bind goal 61
Step V: 12 joy 32 house 61 89 bind goal
Step VI: 12 joy 32 house 61 goal 89 bind

2. (c)
Step II: 15 yes 62 51 48 talk now gone
Step III: 15 yes 48 62 51 talk now gone
Step IV: 15 yes 48 talk 62 51 now gone
Step V: 15 yes 48 talk 51 62 now gone
Step VI: 15 yes 48 talk 51 now 62 gone

3. (e)
Step III: 21 victory 30 joint 64 47 all gone
Step IV: 21 victory 30 joint 47 64 all gone
Step V: 21 victory 30 joint 47 gone 64 all
5 – 3 = 2 more steps will be required.

4. (e)

Input: win 92 task 73 59 house range 34
Step I: 34 win 92 task 73 59 house range S
tep II: 34 win 59 92 task 73 house range
Step III: 34 win 59 task 92 73 house range
Step IV: 34 win 59 task 73 92 house range

5. (e)
Input: save 21 43 78 them early 36 for
Step I: 21 save 43 78 them early 36 for
Step II: 21 them save 43 78 early 36 for
Step III: 21 them 36 save 43 78 early for
Step IV: 21 them 36 save 43 for 78 early
Hence step III will be the last but one.

6. (b)
Input: desire 59 63 all few 38 46 zone
Step I: 38 desire 59 63 all few 46 zone
Step II: 38 zone desire 59 63 all few 46
Step III: 38 zone 46 desire 59 63 all few
Step IV: 38 zone 46 few desire 59 63 all
Step V: 38 zone 46 few 59 desire 63 all