Study the information carefully and answer the question below. A number sorting machine when an input numbers, rearranges the numbers in a particular manner step by step. The following is an illustration of input.
And so on till all the numbers get arranged in ascending order. If 2nd step for an input is as given below, what will be the 5th step for the same input? Step II 22, 49, 32, 88, 69, 132, 101, 185 |
|||||||||||||
(a) |
22, 32, 49, 88, 69, 101, 132, 185 |
(b) |
22, 32, 69, 49, 88, 101, 132, 185 |
||||||||||
(c) |
22, 32, 49, 69, 101, 88, 132, 185 |
(d) |
None of the above |
Study the information carefully and answer the question below. A number sorting machine when an input numbers, rearranges the numbers in a particular manner step by step. The following is an illustration of input.
And so on till all the numbers get arranged in ascending order. If 2nd step for an input is as given below, what will be the 5th step for the same input? Step II 22, 49, 32, 88, 69, 132, 101, 185 |
|||||||||||||
(a) |
22, 32, 49, 88, 69, 101, 132, 185 |
(b) |
22, 32, 69, 49, 88, 101, 132, 185 |
||||||||||
(c) |
22, 32, 49, 69, 101, 88, 132, 185 |
(d) |
None of the above |
Step I - the smallest number comes at the first from left and remaining lines towards right
Step II - the 2nd smallest number comes at the second position from left and remaining lines towards right
Step III - the 3rd smallest number comes at the 3rd position from left and remaining lines towards right. Further steps will be obtained in the same manner till all the words gets arranged in ascending order.
By applying above rules for given input, we get, step V 22, 32, 49, 69, 88, 101, 132, 185.