Direction: Bead the given information and answer the questions. |
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 illustration of input and rearrangement. |
Input I. 'go now 52 38 17 for again 65' |
Step I 65 go now 52 38 17 for again |
Step II 65 again go now 52 38 17 for |
Step III 65 again 52 go now 38 17 for |
Step IV 65 again 52 for go now 38 17 |
Step V 65 again 52 for 38 go now 17 |
Step VI 65 again 52 for 38 go 17 now |
Step VI is the last step of the rearrangement. |
As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input. |
Input 'show 51 36 new far 81 46 goal' |
A) VII
B) VIII
C) VI
D) V
E) None of these
Correct Answer: C
Solution :
In Step I, the largest number goes to the extreme left pushing rest of the line rightward; in the next step the word that comes first in alphabetical order goes to the second position from left pushing rest of the line rightward, thus the numbers and the words get arranged alternately till all the numbers are in descending order and all the words are in alphabetical order. |
[c] Input show 51 36 new for 81 46 goal |
Step I 81 show 51 36 new for 46 goal |
Step II 81 for show 51 36 new 46 goal |
Step III 81 for 51 show 36 new 46 goal |
Step IV 81 for 51 goal show 36 new 46 |
Step V 81 for 51 goal 46 show 36 new |
Step VI 81 tor 51 goal 46 new show 36 |
Step VII 81 for 51 goal 46 new 36 show |
\[\therefore \]Step VI will be last but one. |
You need to login to perform this action.
You will be redirected in
3 sec