Practice30Create account

An arrangement machine rearranges an input line of words step by step by one fixed rule. Example — Input: cat dog ant bee; Step I: cat ant bee dog; Step II: ant bee cat dog. Following the same rule, for the input 'zebra apple mango banana', what will Step II be?

Competition practiceInput-Output
  • Abanana apple mango zebra
  • Bapple mango banana zebra
  • Capple banana mango zebra
  • Dapple banana zebra mango

Step-by-Step Solution

Each step moves the word latest in alphabetical order to the right end. Step I: apple mango banana zebra; Step II moves mango before zebra: apple banana mango zebra.
Answer: C) apple banana mango zebra

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

An arrangement machine rearranges an input line of numbers step by step by one fixed…An arrangement machine rearranges an input line of numbers step by step by one fixed…A number-arranging machine, in each step, moves the smallest not-yet-placed number to…A number-arranging machine, in each step, moves the largest not-yet-placed number to the…A word-arranging machine, in each step, moves the word that comes first in alphabetical…