## Input Output

#### 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 : joy far 35 27 16 96 height star
Step I: 96 joy far 35 27 16 height star
Step II: 96 far joy 35 27 16 height star
Step III: 96 far 35 joy 27 16 height star
Step IV: 96 far 35 height joy 27 16 star
Step V: 96 far 35 height 27 joy 16 star
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.

1. Step IV of an input : 59 bend 46 card 14   27 win now
Which of the following will be step VII ?

1. In the first step, the largest number goes on the leftmost position pushing the rest line rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left pushing the rest line rightward. Thus the number and words get arranged alternately till the numbers are place in the descending order and the words in the alphabetical order.

##### Correct Option: E

In the first step, the largest number goes on the leftmost position pushing the rest line rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left pushing the rest line rightward. Thus the number and words get arranged alternately till the numbers are place in the descending order and the words in the alphabetical order.

Step IV: 59 bend 46 card 14 27 win now
Step V: 59 bend 46 card 27 14 win now
Step VI: 59 bend 46 card 27 now 14 win
Since the line is already arranged, there will be no step VII

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.
Input : say dry 42 96 get 39 kite 67
Step I : 96 say dry 42 get 39 kite 67
Step II : 96 dry say 42 get 39 kite 67
Step III : 96 dry 39 say 42 kite 67
Step IV : 96 dry 39 say 67 42 get kite
Step V : 96 dry 39 say 67 get 42 kite
And Step V is the last step of the rearrangement.
You have to answer the questions by following the same rules as illustrated above.

1. Which step will be the last step of an input for which the third step is "91 go 28 mock per 43 lead 37?

1. In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.

##### Correct Option: B

In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.
Step III : 91 go 28 mock per 43 lead 37
Step IV : 91 go 28 per mock 43 lead 37
Step V : 91 go 28 per 43 mock lead 37
Step VI : 91 go 28 per 43 lead mock 37
Step VII : 91 go 28 per 43 lead 37 mock

1. If the second step of an input is "76 from 48 super itself 56 18 went" .
How many more steps will be required to complete the arrangement?

1. In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.

##### Correct Option: C

In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.
Step II : 76 from 48 super itself 56 18 went
Step III : 76 from 18 48 super itself 56 went
Step IV : 76 from 18 went 48 super itself 56
Step V : 76 from 18 went 56 48 super itself
Step VI : 76 from 18 went 56 itself 48 super
Step VI is the last step so four more steps are required to the complete arrangement.

1. What will be the third step if the input is "thirty days from now 32 56 87 24"? .

1. In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.

##### Correct Option: C

In the given word and number arrangement machine. numbers are arranged alternately with words. Among numbers, first the largest number is taken to the leftmost side, then the smallest and so on. Among word, the first word as per the alphabetical order is taken to the leftmost side, then the word coming last as per the alphabetical order and so on.
Input : thirty days from now 32 56 87 24
Step I : 87 thirty days from now 32 56 24
Step II : 87 days thirty from now 32 56 24
Step III : 87 days 24 thirty from now 32 56

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 : joy far 35 27 16 96 height star
Step I: 96 joy far 35 27 16 height star
Step II: 96 far joy 35 27 16 height star
Step III: 96 far 35 joy 27 16 height star
Step IV: 96 far 35 height joy 27 16 star
Step V: 96 far 35 height 27 joy 16 star
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.

1. Step III of an input is : 86 box 63   18 gear card 51 new How many more step will be required to complete the arrangement ?

1. In the first step, the largest number goes on the leftmost position pushing the rest line rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left pushing the rest line rightward. Thus the number and words get arranged alternately till the numbers are place in the descending order and the words in the alphabetical order.

##### Correct Option: A

In the first step, the largest number goes on the leftmost position pushing the rest line rightward. In the next step the word that comes last in the alphabetical order occupies the second position from the left pushing the rest line rightward. Thus the number and words get arranged alternately till the numbers are place in the descending order and the words in the alphabetical order.

Step III: 86 box 63 18 gear card 51 new
Step IV: 86 box 63 card 18 gear 51 new
Step V: 86 box 63 card 51 18 gear new. Step VI: 86 box 63 card 51 gear 18 new. Hence 6 – 3 = 3 more steps will be required.