SaraNextGen.Com

Read the information carefully and answer the question below. A number rearrangement machine when 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.

Input

29

2

15

5

20

11

50

105

28

19

30

140

Step I

2

29

15

5

20

11

50

105

28

19

30

29

Step II

2

140

15

5

20

11

50

105

28

19

30

29

Step III

2

140

5

15

20

11

50

105

28

19

30

29

Step IV

2

140

5

105

20

11

50

15

28

19

30

29

Step V

2

140

5

105

11

20

50

15

28

19

30

29

Step VI

2

140

5

105

11

50

20

15

28

19

30

29

Step VII

2

140

5

105

11

50

15

20

28

19

30

29

Step VIII

2

140

5

105

11

50

15

30

28

19

20

29

Step IX

2

140

5

105

11

50

15

30

19

28

20

29

Step X

2

140

5

105

11

50

15

30

19

29

20

28

Which of the following will be the first step for the following input?

Input ‘100 500 2 400 20 3 800 1 999 666’

(a)

1 500 2 400 20 3 800 100 999 666

(b)

2 500 100 400 20 3 800 1 999 666

(c)

999 500 2 400 20 3 800 1 100 666

(d)

Cannot be determined  



Question ID - 53500 | SaraNextGen Top Answer

Read the information carefully and answer the question below. A number rearrangement machine when 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.

Input

29

2

15

5

20

11

50

105

28

19

30

140

Step I

2

29

15

5

20

11

50

105

28

19

30

29

Step II

2

140

15

5

20

11

50

105

28

19

30

29

Step III

2

140

5

15

20

11

50

105

28

19

30

29

Step IV

2

140

5

105

20

11

50

15

28

19

30

29

Step V

2

140

5

105

11

20

50

15

28

19

30

29

Step VI

2

140

5

105

11

50

20

15

28

19

30

29

Step VII

2

140

5

105

11

50

15

20

28

19

30

29

Step VIII

2

140

5

105

11

50

15

30

28

19

20

29

Step IX

2

140

5

105

11

50

15

30

19

28

20

29

Step X

2

140

5

105

11

50

15

30

19

29

20

28

Which of the following will be the first step for the following input?

Input ‘100 500 2 400 20 3 800 1 999 666’

(a)

1 500 2 400 20 3 800 100 999 666

(b)

2 500 100 400 20 3 800 1 999 666

(c)

999 500 2 400 20 3 800 1 100 666

(d)

Cannot be determined  

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

Final arrangement of the input shows that there are two series- one is ascending order and other in descending order. In the first step, the smallest number is exchanged with the first number of the input. In the second step, largest number is exchanged with the second number of the step I. in the third step, second smallest number is exchanged with the third number of step II. Likewise, series continues to get arranged.

By applying the above rule, we get 1 500 2 400 20 3 800 100 999 666.

127 votes


127