Direction: 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 them following a particular rule in each step. The following is an illustration of input and rearrangement .
Input: day 74 night 36 25 68 all for
Step I: all day 74 night 36 25 68 for
Step II: all 74 day night 36 25 68 for
Step III: all 74 day 68 night 36 25 for
Step IV: all 74 day 68 for night 36 25
Step V: all 74 day 68 for 36 night 25
And Step V is the last step of the rearrangement of the above input.
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 : war 52 and peace 43 16 now 24
How many more step will be required to complete the rearrangement?
-
- Four
- Five
- Six
- Seven
- None of these
Correct Option: C
In the first step, the word that comes first in the alphabetical order shifts to the left most position. While the remaining line shifts rightward. In the next step, the largest number shifts to the second position from left, pushing the remaining line shifts rightward. This goes on alternately till the words get arranged in an alphabetical order and the number in a descending order at alternately position.
Input: war 52 and peace 43 16 now 24
Step I: and war 52 peace 43 16 now 24
Step II: and 52 war peace 43 16 now 24
Step III: and 52 now war peace 43 16 24
Step IV: and 52 now 43 war peace 16 24
Step V: and 52 now 43 peace war 16 24
Step VI: and 52 now 43 peace 24 war 16