# Comprehension Direction: Study the following information carefully and answer the given questions: The following is an example of an input and its rec

57 views

closed

### Comprehension

Direction: Study the following information carefully and answer the given questions:

The following is an example of an input and its reconfiguration.

Input; Peacock 3 Hen Toucan 6 7 Crow 4

Step 1. Crow Peacock 3 Hen Toucan 6 7 4

Step 2. Crow 4 Peacock 3 Hen Toucan 6 7

Step 3. Crow 4 Hen Peacock 3 Toucan 6 7

Step 4. Crow 4 Hen 3 Peacock Toucan 6 7

Step 5. Crow 4 Hen 3 Peacock 7 Toucan 6

And step 5 is the final reconfiguration of the above input.

According to the rules followed in the above steps, how many steps would be required to reconfigure the following inputs?

Input: Zebra 8 Elephant Rabbit 5 9 Crocodile 6

1. Six
2. Four
3. Seven
4. Five

by (30.0k points)
selected by

Correct Answer - Option 1 : Six

Input: Peacock 3 Hen Toucan 6 7 Crow 4

The arrangement takes place from left to right and one element at a time.

Words are arranged as per English dictionary order and numbers are arranged as per the number of letters in a word.

Step 1. Crow Peacock 3 Hen Toucan 6 7 4

Word (Crow) whose first letter (C = 3) has the smallest place value shifts to the extreme left end.

Step 2. Crow 4 Peacock 3 Hen Toucan 6 7

The number of letters in the word Crow is 4 and the number ‘4’ shifts to the left end.

Step 3. Crow 4 Hen Peacock 3 Toucan 6 7

Again, word (Hen) whose first letter (H = 8) has the second smallest place value shifts to the left end.

Step 4. Crow 4 Hen 3 Peacock Toucan 6 7

The number of letters in the word Hen is 3 and the number ‘3’ shifts to the left end.

Step 5. Crow 4 Hen 3 Peacock 7 Toucan 6

Next word Peacock must shift, but according to the arrangement, it comes automatically after 3.

Peacock has 7 letters in it so the number 7 will now shift to the left end.

And step 5 is the final reconfiguration of the above input.

So, in short, the word whose first letter has the smallest place value shifts to the left end and the number of letters in the word shifts to the left end in the next step. This process goes on until the final step is obtained.

Input: Zebra 8 Elephant Rabbit 5 9 Crocodile 6

Step 1: Crocodile Zebra 8 Elephant Rabbit 5 9 6

Step 2: Crocodile 9 Zebra 8 Elephant Rabbit 5 6

Step 3: Crocodile 9 Elephant Zebra 8 Rabbit 5 6

Step 4: Crocodile 9 Elephant 8 Zebra Rabbit 5 6

Step 5: Crocodile 9 Elephant 8 Rabbit Zebra 5 6

Step 6: Crocodile 9 Elephant 8 Rabbit 6 Zebra 5

Clearly, 6 steps would be required to reconfigure the following inputs.

Hence, ‘six’  steps are required.