Practice30Create account

A word-and-number arrangement machine, when given an input line, rearranges it step by step. Illustration — Input: 63 rose 41 nest 27 gate 18 arc; Step I: 18 63 rose 41 nest 27 gate arc; Step II: 18 arc 63 rose 41 nest 27 gate; Step III: 18 arc 27 63 rose 41 nest gate; Step IV: 18 arc 27 gate 63 rose 41 nest; Step V: 18 arc 27 gate 41 63 rose nest; Step VI: 18 arc 27 gate 41 nest 63 rose (last step). Applying the same rule, how many steps are needed to completely arrange the following input? Input: 48 zip 31 yak 26 wolf 13 vet

Competition practiceInput-Output
  • ASix
  • BFour
  • CFive
  • DSeven

Step-by-Step Solution

The rule alternately builds a block from the left: each odd step brings the next smallest number, each even step brings the next alphabetically-earliest word. For the input, sorting gives numbers 13,26,31,48 and words vet, wolf, yak, zip. The arrangement 13 vet 26 wolf 31 yak 48 zip is reached at Step VI — six steps.
Answer: A) Six

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 word-and-number arrangement machine, when given an input line, rearranges it step by…A word-and-number machine rearranges an input line in steps. Input: 'gone 34 far 17 tree…A word-and-number machine rearranges an input line in steps. Input: 'gone 34 far 17 tree…A word-arrangement machine rearranges a line of words: at each step it moves the word…A number-arrangement machine reorders numbers by moving the smallest not-yet-placed…