Practice30Create account

A word-and-number arranging machine, given an input line, produces a final arrangement in which all the words come first in alphabetical order (from the left) followed by all the numbers in ascending order. Input: 63 north 48 east 22 south 9 west. In the final arrangement, how many elements lie between 'west' and '63'?

Competition practiceInput-Output
  • A2
  • B4
  • C3
  • D5

Step-by-Step Solution

Final arrangement is 'east north south west 9 22 48 63'; between west and 63 lie 9, 22 and 48, i.e. 3 elements.
Answer: C) 3

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-arranging machine, in each step, moves the largest of the numbers not yet…A word-arranging machine, in each step, moves the word that comes first in alphabetical…A machine, in each step, moves the smallest number to the far right end, shifting the…A machine, in each step, moves the largest number to the far right end, shifting the…A word-and-number arranging machine rearranges an input line one step at a time. In each…