Discussion of Question with ID = 048 under Passwords-and-Inputs

This is the discussion forum for this question. If you find any mistakes in the solution, or if you have a better solution, then this is the right place to discuss. A healthy discussion helps all of us, so you are requested to be polite and soft, even if you disagree with the views of others. The question and its current solution has also been given on this page.

Advertisement

Question

"and I have learned a lot from more experienced teachers in my district" is re-arranged according to a particular rule, in the steps mentioned below.

  1. experienced I have learned a lot from more and teachers in my district
  2. experienced teachers have learned a lot from more and I in my district
  3. experienced teachers district learned a lot from more and I in my have
  4. experienced teachers district learned from lot a more and I in my have
  5. experienced teachers district learned from more a lot and I in my have
  6. experienced teachers district learned from more have lot and I in my a
  7. experienced teachers district learned from more have lot and in I my a
  8. experienced teachers district learned from more have lot and in my I a

If an input is: there are various constellations in the sky, then how many steps are required if re-arrangement is done according to the above rule?

A

5

B

4

C

7

D

6

Soln.
Ans: a

In each step, the longest words are being moved to the left. These are the steps for re-arrangement starting with constellations are various there in the sky:

  1. constellations are various there in the sky
  2. constellations various are there in the sky
  3. constellations various there are in the sky
  4. constellations various there are the in sky
  5. constellations various there are the sky in

Comments and Discussion