10th Class Mental Ability Sequential Output Tracing Question Bank Sequential Output Tracing

  • question_answer
    Direction: Study the following information carefully to answer the following questions.
     
    A number sorting machine when given an input of numbers, rearranges them in a particular manner step-by-step as indicated below till all the numbers are arranged. Given below is an illustration of this arrangement.
     
    Input      39  121 48  18  76  112 14   45   63    96
    Step I : 14  39   121 48  18   76   112 45    63    96
    Step II : 14   39   48   18   76   112 45   63    96    121
    Step Ill :     14 18   39   48   76   112 45   63    96    121
    Step IV :    14   18   39   48   76   45   63   96    112   121
    Step V :     14   18   39   45   48   76   63   96    112   121
    Step VI :  14   18   39   45   48   63   76  96    112   121
     
    And Step VI is the last step for this input.
    How many steps will be required for getting the final output for the following input?
    Input: 101 85 66 49 73 39 142 25 115 74

    A) Five                             

    B) Six            

    C) Eight                            

    D) Nine

    Correct Answer: C

    Solution :

    In the given arrangement, the numbers are arranged in ascending order stepwise in each step, one number from the beginning and one number from the end, alternately.
    Input 101 85 66 49 73 39 142 25 115 74
    Step I   25 101 85 66 49 73 39 142 115 74
    Step II   25 101 85 66 49 73 39 115 74 142
    Step III 25 39 101 85 66 49 73 115 74 142
    Step IV 25 39 101 85 66 49 73 74 115 142
    Step V 25 39 49 101 85 66 73 74 115 142
    Step VI 25 39 49 85 66 73 74 101 115 142
    Step VII 25 39 49 66 85 73 74 101 115 142
    Step VIII 25 39 49 66 73 74 85 101 115 142
    Step VIII is the last step for this input.


You need to login to perform this action.
You will be redirected in 3 sec spinner