Study the following information carefully and answer the questions given below :
A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step. The following is an illustation of input and various steps of rearrangement. (All the numbers are two digit numbers).Input : plan more vacation 35 56 92 nice holiday tours 84 61 12
Step I : 92 plan more vacation 35 56 nice tours 84 61 12 holiday
Step II : 92 84 plan vacation 35 56 nice tours 61 12 more holiday
Step III : 92 84 61 plan vacation 35 56 tours 12 nice more holiday
Step IV : 92 84 61 56 vacation 35 tours 12 plan nice more holiday
Step V : 92 84 61 56 35 vacation 12 tours plan nice more holiday
Step VI : 92 84 61 56 35 12 vacation tours plan nice more holiday
And Step VI is the last step of the rearrangement as the desired arrangement is obtained.
As per rules followed in the above steps, find out in each of the questions the appropriate step for the given
input.
Input : hard work pays 96 42 in 79 long run 18 25 57
Which step number is the following output?
96 79 57 42 work run 18 25 pays long in hard
In step I, the word with the smallest first letter alphabetically is placed at last position and the highest number is placed at first position. Then in second step, the word with second smallest first letter is placed at second last position and the second highest number is placed at second position.
Similar pattern is followed in next steps, and finally the numbers are arranged in descending order and the words are also arranged in descending order of their first letters alphabetically.
Input : hard work pays 96 42 in 79 long run 18 25 57
Step I : 96 work pays 42 in 79 long run 18 25 57 hard
Step II :Â 96 79 work pays 42 long run 18 25 57 in hard
Step III :Â 96 79 57 work pays 42 run 18 25 long in hard
Step IV :Â 96 79 57 42 work run 18 25 pays long in hard
Step V :Â 96 79 57 42 25 work 18 run pays long in hard
Step VI :Â 96 79 57 42 25 18 work run pays long in hard
Step VI is the last step of the rearrangement.
=> Ans - (C)
Create a FREE account and get: