Multiple choice

Directions: An electronic device, when fed with the numbers, rearranges them in a particular order following certain rules. The following is a step by step process of rearrangements, for the given input of numbers.

Input : 5 28 12 74 3 11 31 42 Step I : 74 5 28 12 3 11 31 42 Step II : 74 3 5 28 12 11 31 42 Step III: 74 3 42 5 28 12 11 3 Step IV: 74 3 42 5 28 11 12 31 (For the given input, step IV is the last step)

Which of the following steps would be the last step for the following input?

Input: 89 24 44 25 9 14 5 2

  1. Step IV

  2. Step III

  3. Step VI

  4. Step VII

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The pattern of the arrangement of steps of the given input suggests that the given input is split into two sections - one for even numbers and other for odd numbers. Then, these numbers are arranged in such a way that even numbers are arranged in a descending order and odd numbers are arranged in an ascending order. If we keep arranging the steps from step III onwards as in the previous question, we get the final arrangement of the input in step VII as below: Step VII:           44        05        24        09        14        25        2          89