Multiple choice

Directions: An electronic device when fed with the numbers, it 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 will be the last step for the following input? Input: 05 27 50 14 24 9

  1. III

  2. IV

  3. VI

  4. VII

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

Pattern of the arrangement of steps of given input suggests that given input is split into two sections-one for even number and other for odd numbers. Then arranges these numbers in such a way that even numbers are arranged in descending order and odd number are arranged in ascending order. Input                :           05        27        50        14        24        09 Step I               :           50        05        27        14        24        09 Step II              :           50        05        24        27        14        09 Step III             :           50        05        24        09        27        14 Step IV             :           50        05        24        09        14        27