Question

    Directions : Study the following information to answer the given questions: 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. Input: 17 56 32 70 81 25 77 92 52 23 60 97 Step I: 17 23 32 70 81 25 77 92 52 56 60 97 Step II: 17 23 32 70 81 25 77 60 52 56 92 97 Step III: 17 23 25 70 81 32 77 60 52 56 92 97 Step IV: 17 23 25 70 56 32 77 60 52 81 92 97 Step V: 17 23 25 32 56 70 77 60 52 81 92 97 Step VI: 17 23 25 32 56 70 52 60 77 81 92 97 Step VII: 17 23 25 32 52 70 56 60 77 81 92 97 Step VIII: 17 23 25 32 52 60 56 70 77 81 92 97 Step IX: 17 23 25 32 52 56 60 70 77 81 92 97 and step IX is the last step for the given input.

    Which of the following will be Step IV for the

    following input? Input: 40 80 45 30 65 55 60
    A 30 40 45 60 55 65 80 Correct Answer Incorrect Answer
    B 30 40 45 65 55 60 80 Correct Answer Incorrect Answer
    C 30 40 45 55 60 65 80 Correct Answer Incorrect Answer
    D 30 40 60 55 45 65 80 Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    Input: 40 80 45 30 65 55 60 Step I: 30 80 45 40 65 55 60 Step II: 30 60 45 40 65 55 80 Step III: 30 40 45 60 65 55 80 Step IV: 30 40 45 60 55 65 80

    Practice Next

    Relevant for Exams: