284 views

Study the following information carefully to answer the questions given below:

A number sorting machine when given an input of numbers, rearranges the numbers in a particular manner step by step as indicated below till all the numbers are arranged in a particular order. Given below is an illustration of this arrangement.

Input :  $\text{39 121 48 18 76 112 14 45 63 96}$

Step I : $\text{14 39 121 48 18 76 112 45 63 96}$

Step II : $\text{14 39 48 18 76 112 45 63 96 121}$

Step III: $\text{14 18 39 48 76 112 45 63 96 121}$

Step IV : $\text{14 18 39 48 76 45 63 96 112 121}$

Step V : $\text{14 18 39 45 48 76 63 96 112 121}$

Step VI : $\text{14 18 39 45 48 63 76 96 112 121}$

(This is the final arrangement and Step VI is the last step for this input)

What will be the Step II for the following input ?

Input : $\text{47 62 17 92 86 42 24 79}$

1. $\text{17 24 47 62 86 42 79 92}$
2. $\text{17 47 62 86 42 24 79 92}$
3. $\text{17 24 47 62 92 86 42 79}$
4. $\text{17 47 62 86 24 42 79 92}$

1 vote
1
1 vote