Practice30Create account

A word-arrangement machine, in each step, moves the next word in alphabetical order to its place from the left. Example — Input: rose lily daisy tulip; Step 1: daisy rose lily tulip; Step 2: daisy lily rose tulip. For Input: mango banana apple cherry, what is Step 2?

Competition practiceInput-Output
  • Aapple banana mango cherry
  • Bapple mango banana cherry
  • Cbanana apple mango cherry
  • Dapple banana cherry mango

Step-by-Step Solution

Step 1 moves 'apple' to the front (apple mango banana cherry); Step 2 moves 'banana' to the second place, giving apple banana mango cherry.
Answer: A) apple banana mango cherry

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Input-Output practice questions

More Input-Output practice

A number-arrangement machine, in each step, shifts the smallest remaining number to the…A number-arrangement machine, in each step, shifts the smallest remaining number to the…A word-arrangement machine arranges words in reverse alphabetical order (Z to A), moving…A number-arrangement machine, in each step, shifts the largest number among the…A machine rearranges numbers: in each step it brings the smallest not-yet-placed number…