Direction: Study the following information carefully and answer the given questions.
A word and number arrangement machine when given an input line of words and numbers rearrange them following a particular rule in each step. The following is an illustration of input and rearrangement.
Input : joy far 35 27 16 96 height star
Step I: 96 joy far 35 27 16 height star
Step II: 96 far joy 35 27 16 height star
Step III: 96 far 35 joy 27 16 height star
Step IV: 96 far 35 height joy 27 16 star
Step V: 96 far 35 height 27 joy 16 star
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.
-
Input : bake never store 51 26 33 age 49
Which of the following will be step V ?
-
- 51 age 49 bake 33 never 26 store
- 51 age 49 bake 33 never 26 store never store 26 33
- 51 age bake never store 26 33 49
- 51 bake never store 33 26 age 49
- There will be no such step
Correct Option: A
In the first step, the largest number goes on the leftmost position pushing the rest line rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left pushing the rest line rightward. Thus the number and words get arranged alternately till the numbers are place in the descending order and the words in the alphabetical order.
Input: bake never store 51 26 33 age 49
Step I: 51 bake never store 26 33 age 49
Step II: 51 age bake never store 26 33 49
Step III: 51 age 49 bake never store 33 26
Step IV: 51 age 49 bake 33 never store 26
Step V: 51 age 49 bake 33 never 26 store