SaraNextGen.Com

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.

Input

39  121   48   18   76   112    14    45   63   96

Step I

14    39   121 48   18     76    112  45   63   96

Step II

14    18    39  121  48    76    112  45   63   96

Step III

14    18    39   45   121  48     76   112  63  96

Step IV

14    18    39   45    48   121   76   121  63  96

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



Question ID - 53461 | SaraNextGen Top Answer

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.

Input

39  121   48   18   76   112    14    45   63   96

Step I

14    39   121 48   18     76    112  45   63   96

Step II

14    18    39  121  48    76    112  45   63   96

Step III

14    18    39   45   121  48     76   112  63  96

Step IV

14    18    39   45    48   121   76   121  63  96

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

1 Answer
127 votes
Answer Key / Explanation : (d) -

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.

127 votes


127