Direction: Study the following information carefully to answer the following questions. |
A number sorting machine when given an input of numbers, rearranges them in a particular manner step-by-step as indicated below till all the numbers are arranged. Given below is an illustration of this arrangement. |
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 | 39 | 48 | 18 | 76 | 112 | 45 | 63 | 96 | 121 |
Step Ill : | 14 | 18 | 39 | 48 | 76 | 112 | 45 | 63 | 96 | 121 |
Step IV : | 14 | 18 | 39 | 48 | 76 | 45 | 63 | 96 | 112 | 121 |
Step V : | 14 | 18 | 39 | 45 | 48 | 76 | 63 | 96 | 112 | 121 |
Step VI : | 14 | 18 | 39 | 45 | 48 | 63 | 76 | 96 | 112 | 121 |
And Step VI is the last step for this input. |
Input: | 68 | 182 | 39 | 93 | 129 | 46 | 21 | 58 |
A) 21 39 68 129 93 46 58 182
B) 21 58 68 93 129 46 182 39
C) 21 68 39 93 129 46 58 182
D) 21 39 68 93 129 46 58 182
Correct Answer: D
Solution :
In the given arrangement, the numbers are arranged in ascending order stepwise in each step, one number from the beginning and one number from the end, alternately.Input : | 68 | 182 | 39 | 93 | 129 | 46 | 21 | 58 |
Step I : | 21 | 68 | 182 | 39 | 93 | 129 | 46 | 58 |
Step II : | 21 | 68 | 39 | 93 | 129 | 46 | 58 | 182 |
Step III: | 21 | 39 | 68 | 93 | 129 | 46 | 58 | 182 |
You need to login to perform this action.
You will be redirected in
3 sec