Question

    Directions : A number arrangement machine,when given a particular input, rearranges it following a particular rule. The following is the illustration of the input and the steps of arrangement: Input: 18, 7, 45, 23, 21, 91, 12, 16, 19 Step I: 7, 18, 45, 23, 21, 91, 12, 16, 19 Step II: 7, 19, 45, 23, 21, 91, 12, 16, 18 Step III: 7, 19, 23, 45, 21, 91, 12, 16, 18 Step IV: 7, 19, 23, 21, 45, 91, 12, 16, 18 This is the final arrangement and step IV is the last step for the given in put.

    Which of the following is the last step for the

    following input? Input: 36, 51, 81, 99, 28, 24, 29, 43, 79
    A 29, 43, 51, 79, 81, 99, 24, 28, 36 Correct Answer Incorrect Answer
    B 29, 43, 79, 24, 28, 36, 51, 81, 99 Correct Answer Incorrect Answer
    C 29, 43, 79, 81, 51, 99, 24, 28, 36 Correct Answer Incorrect Answer
    D 29, 43, 79, 51, 81, 99, 24, 28, 36 Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    Clearly, in the given arrangement, the numbers of each type have been arranged in ascending order, ie prime numbers are arranged first in ascending order,then non-prime odd numbers, and finally even numbers.Also, when a number is arranged, it interchanges its position with the wrongly placed number.

    Practice Next

    Relevant for Exams: