inut-output operations

Directions (Q. 1- 5): Study the given information and answer the following questions:

When a word and number arrangement machine is given an input line of words and numbers, it arranges them following a particular rule. The following is an illustration of input and rearrangement (All the numbers are two-digit numbers).

Input: 40 made butter 23 37 cookies salt extra 52 86 92 fell now 19
Step I: butter 19 40 made 23 37 cookies salt extra 52 86 92 fell now
Step II: cookies 23 butter 19 40 made 37 salt extra 52 86 92 fell now
Step III: extra 37 cookies 23 butter 19 40 made salt 52 86 92 fell now.
Step IV: fell 40 extra 37 cookies 23 butter 19 made salt 52 86 92 now.
Step V: made 52 fell 40 extra 37 cookies 23 butter 19 salt 86 92 now.
Step VI: now 86 made 52 fell 40 extra 37 cookies 23 butter 19 salt 92
Step VII: Salt 92 now 86 made 52 fell 40 extra 37 cookies 23 butter 19
Step VII is the last step of the above arragement as the intended arrangement is obtained.

As per the rules followed in the given steps, find out the appropriate steps for the given input.
Input: 32 proud girl beautiful 48 55 97 rich family 61 72 17 nice life.

1. How many steps will be required to complete the given input?
     1) Five    2) Six    3) Seven    4) Eight     5) Nine

2. Which of the following is the third element from the left end of step VI?
     1) beautiful   2) life   3) 61      4) nice      5) 17

3. Which of the following is step III of the given input?
    1) proud 72 girl 48 family 32 beautiful 17 55 97 rich 61 nice life.
    2) Life 55 girl 48 family 32 beautiful 17 proud 97 rich 61 72 nice
    3) girl 48 family 32 beautiful 17 proud 55 97 rich 61 72 nice life
    4) family 32 beautiful 17 proud girl 48 55 97 rich 61 72 nice life
    5) girl 48 life 55 family 32 beautiful 17 proud 97 rich 61 72 nice

4. What is the position of 'nice' from the left end in the final step?
      1) Fifth    2) Sixth    3) Seventh      4) Eighth     5) Ninth

5. Which element is third to the right of 'family' in Step V?
      1) beautiful   2) 17     3) proud      4) 97     5) 32

Answer: 1-3; 2-4; 3-3; 4-1; 5-2


Directions (Qs. 6 to 8): Study the following information to answer the given questions:

A word and number arrangement machine when given an input line of words and numbers rearranges them following particular rule in each step. The following is an illustration of input and rearrangement (All the numbers are two digits numbers and are arranged as per some logic based on the value of the number.)

Input : win 56 32 93 bat for 46 him 28 11 give chance
Step I : 93 56 32 bat for 46 him 28 11 give chance win.
Step II : 11 93 56 32 bat for 46 28 give chance win him.
Step III : 56 11 93 32 bat for 46 28 chance win him give.
Step IV : 28 56 11 93 32 bat 46 chance win him give for
Step V : 46 28 56 11 93 32 bat win him give for chance
Step VI : 32 46 28 56 11 93 win him give for chance bat and Step VI is the last step
of the arrangement of the above input as the intended arrangement is obtained.

As per the rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.
Input for the questions:
Input: fun 89 at the 28 16 base camp 35 53 here 68.
(All the numbers given in the arrangement are two digit numbers.)

6. Which of the following would be the Step II?
    1) 89 fun at 28 16 base camp 35 53 here 68 here
    2) 35 53 28 68 16 89 the here fun camp base at
    3) 16 89 at fun 28 camp base 35 53 68 the here
    4) 53 28 68 16 89 35 the here fun camp base at
    5) None of these

7. Which word/ number would be at 7th position from the left in Step IV?
    1) base    2) at     3) 35     4) the     5) 53

8. Which step number would be the following output? 53 28 68 16 89 at 35 the here fun
      camp base
      1) there will be no such step   2) III   3) II    4) V    5) IV


Answer: 6-5; 7-3; 8-4;