Input Output


Direction: Study the following information carefully and answer the given question.
A word and number arrangement machine when given an input line of words and numbers rearrange them following a particular rule in each step. The following is an illustration of input and rearrangement. (All the numbers are two-digit numbers).

Input : gate 20 86 just not 71 for 67 38 bake sun 55
Step I : bake gate 20 just not 71 for 67 38 sun 55 86
Step II : for bake gate 20 just not 67 38 sun 55 86 71
Step III : gate for bake 20 just not 38 sun 55 86 71 67
Step IV : just gate for bake 20 not 38 sun 55 86 71 67
Step V : not just gate for bake 20 sun 86 71 67 55 38
Step VI : sun not just gate for bake 86 71 67 55 38 20
Steps VI is the last step of the arrangement the above input.

As per the rule followed in the above steps, find out in each of the following questions the appropriate step for the given input.
Input : 31 rise gem 15 92 47 aim big 25 does 56 not 85 63 with moon


  1. How many steps will be required to complete the rearrangement ?











  1. View Hint View Answer Discuss in Forum

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Correct Option: A

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Input : 31 rise gem 15 92 47 aim big 25 does 56 not 85 63 with moon
    Step I : aim 31 rise gem 15 47 big 25 does 56 not 85 63 with moon 92
    Step II : big aim 31 rise gem 15 47 25 does 56 not 63 with moon 92 85
    Step III : does big aim 31 rise gem 15 47 25 56 not with moon 92 85 63
    Step IV : gem does big aim 31 rise 15 47 25 not with moon 92 85 63 56
    Step V : moon gem does big aim 31 rise 15 25 not with 92 85 63 56 47
    Step VI : not moon gem does big aim rise 15 25 with 92 85 63 56 47 31
    Step VII : rise not moon gem does big aim 15 with 92 85 63 56 47 31 25
    Step VIII : with rise not moon gem does big aim 92 85 63 56 47 31 25 15


  1. Which words numbers would be at 5th position from the right in the last step?












  1. View Hint View Answer Discuss in Forum

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Correct Option: C

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Input : 31 rise gem 15 92 47 aim big 25 does 56 not 85 63 with moon
    Step I : aim 31 rise gem 15 47 big 25 does 56 not 85 63 with moon 92
    Step II : big aim 31 rise gem 15 47 25 does 56 not 63 with moon 92 85
    Step III : does big aim 31 rise gem 15 47 25 56 not with moon 92 85 63
    Step IV : gem does big aim 31 rise 15 47 25 not with moon 92 85 63 56
    Step V : moon gem does big aim 31 rise 15 25 not with 92 85 63 56 47
    Step VI : not moon gem does big aim rise 15 25 with 92 85 63 56 47 31
    Step VII : rise not moon gem does big aim 15 with 92 85 63 56 47 31 25
    Step VIII : with rise not moon gem does big aim 92 85 63 56 47 31 25 15



  1. Which of the following represents the position of ‘92’ in step IV?











  1. View Hint View Answer Discuss in Forum

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Correct Option: C

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Input : 31 rise gem 15 92 47 aim big 25 does 56 not 85 63 with moon
    Step I : aim 31 rise gem 15 47 big 25 does 56 not 85 63 with moon 92
    Step II : big aim 31 rise gem 15 47 25 does 56 not 63 with moon 92 85
    Step III : does big aim 31 rise gem 15 47 25 56 not with moon 92 85 63
    Step IV : gem does big aim 31 rise 15 47 25 not with moon 92 85 63 56
    Step V : moon gem does big aim 31 rise 15 25 not with 92 85 63 56 47
    Step VI : not moon gem does big aim rise 15 25 with 92 85 63 56 47 31
    Step VII : rise not moon gem does big aim 15 with 92 85 63 56 47 31 25
    Step VIII : with rise not moon gem does big aim 92 85 63 56 47 31 25 15

    Sixth from the right


  1. Which words numbers would be at 7th position from the left in step IV?












  1. View Hint View Answer Discuss in Forum

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Correct Option: D

    After careful analysis of the given input and various steps of rearrangement it is evident that in each step one word and one number are rearranged. The word are rearranged from left in alphabetical order and the numbers are rearranged from the right in descending order but in the final step the word get rearranged in alphabetical order in reserves manner and number appear in descending order.

    Input : 31 rise gem 15 92 47 aim big 25 does 56 not 85 63 with moon
    Step I : aim 31 rise gem 15 47 big 25 does 56 not 85 63 with moon 92
    Step II : big aim 31 rise gem 15 47 25 does 56 not 63 with moon 92 85
    Step III : does big aim 31 rise gem 15 47 25 56 not with moon 92 85 63
    Step IV : gem does big aim 31 rise 15 47 25 not with moon 92 85 63 56
    Step V : moon gem does big aim 31 rise 15 25 not with 92 85 63 56 47
    Step VI : not moon gem does big aim rise 15 25 with 92 85 63 56 47 31
    Step VII : rise not moon gem does big aim 15 with 92 85 63 56 47 31 25
    Step VIII : with rise not moon gem does big aim 92 85 63 56 47 31 25 15

    7th position from the left in step IV is 15



Direction: Study the following information carefully and answer the given question.
A word and number arrangement machine when given an input line of words and numbers rearrange them following a particular rule in each step. The following is an illustration of input and rearrangement. (All the numbers are two-digit numbers)

Input: sine 88 71 cos theta 14 56 gamma delta 26
Step I : cos sine 71 theta 14 56 gamma delta 26 88
Step II : delta cos sine theta 14 56 gamma 26 88 71
Step III : gamma delta cos sine theta 14 26 88 71 56
Step IV : sine gamma delta cos theta 14 88 71 56 26
Step V : theta sine gamma delta cos 88 71 56 26 14
Steps V is the last step of the arrangement the above input.
As per the rule followed in the above steps,
find out in each of the following questions the appropriate steps for the given input.
Input : for 52 all 96 25 jam road 15 hut 73 bus stop 38 46.

  1. Which of the following would be step III?











  1. View Hint View Answer Discuss in Forum

    The words are arranging in Z to A order and numbers are arranging in decreasing orders.

    Correct Option: D

    The words are arranging in Z to A order and numbers are arranging in decreasing orders.
    Input : for 52 all 96 25 jam road 15 hut 73 bus stop 38 46
    Step I : all for 52 25 jam road 15 hut 73 bus stop 38 46 96
    Step II : bus all for 52 25 jam road 15 hut stop 38 46 96 73
    Step III : for bus all 25 jam road 15 hut stop 38 46 96 73 52
    Step IV : hut for bus all 25 jam road 15 stop 38 96 73 52 46
    Step V : jam hut for bus all 25 road 96 73 52 56 38
    Step VI : road jam hut for bus all 15 stop 96 73 52 46 38 25
    Step VII : Stop road jam hut for bus all 96 73 52 46 38 25 15

    Step III will be ::
    for bus all 25 jam road 15 hut stop 38 46 96 73 52