Input Output
Direction: Study the following information carefully and answer the
given questions.
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.
Input : shop 17 table 20 53 oven desk 39
Step I : 17 shop table 20 53 oven desk 39
Step II : 17 table shop 20 53 oven desk 39
Step III : 17 table 20 shop 53 oven desk 39
Step IV : 17 table 20 shop 39 53 oven desk
Step V : 17 table 20 shop 39 oven 53 desk
and step V is the last step of the rearrangement.
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 : 89 bind 32 goal house 61 12 joy
How many steps will be required to complete the arrangement?

View Hint View Answer Discuss in Forum
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Correct Option: C
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Input : 89 bind 32 goal house 61 12 joy
Step I : 12 89 bind 32 goal house 61 joy
Step II : 12 joy 89 bind 32 goal house 61
Step III : 12 joy 32 89 bind goal house 61
Step IV : 12 joy 32 house 89 bind goal 61
Step V : 12 joy 32 house 61 89 bind goal
Step VI : 12 joy 32 house 61 goal 89 bind
 Step II of an input is : 15 yes 62 51 48 talk now gone
which of the following will be step VI?

View Hint View Answer Discuss in Forum
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Correct Option: C
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Step II : 15 yes 62 51 48 talk now gone
Step III : 15 yes 48 62 51 talk now gone
Step IV : 15 yes 48 talk 62 51 now gone
Step V : 15 yes 48 talk 51 62 now gone
Step VI : 15 yes 48 talk 51 now 62 gone
 Step III of an input is : 21 victory 30 joint 64 47 all gone
How many more step will be required to complete the rearrangement?

View Hint View Answer Discuss in Forum
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Correct Option: E
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Step III : 21 victory 30 joint 64 47 all gone
Step IV : 21 victory 30 joint 47 64 all gone
Step V : 21 victory 30 joint 47 gone 64 all
5  3 = 2 more steps will required.
 Input : win 92 task 73 59 house range 34
Which of the following will be step IV of the above input?

View Hint View Answer Discuss in Forum
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Correct Option: E
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Input : win 92 task 73 59 house range 34
Step I : 34 win 92 task 73 59 house range
Step II : 34 win 59 92 task 73 house range
Step III : 34 win 59 task 92 73 house range
Step IV : 34 win 59 task 73 92 house range
 Input: save 21 43 78 them early 36 for
Which of the following steps will be the last but one?

View Hint View Answer Discuss in Forum
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Correct Option: E
In the first step, the smallest number comes to the leftmost position and the remaining line shift rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left and the remaining line sift rightward. This goes alternately till all the number are ranged in ascending order and all the words in reverse alphabetical order at alternate positions.
Input : save 21 43 78 them early 36 for
Step I : 21 save 21 43 78 them early 36 for
Step II : 21 them save 43 78 early 36 for
Step III : 21 them 36 save 43 78 early for
Step IV : 21 them 36 save 43 for 78 early
Hence step III will be the last but one.