LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

Diagram-Based Questions Question 29 – answer, explanation & discussion

  • 0 comments
  • Answer explained
  • Moderated community
Question 29 Back to Exercise

A word and number arrangement machine rearranges an input line step by step, following a rule. Here is an illustration of the input and the steps:

StepArrangement
Inputyear 73 ship 40 84 94 nest
Step I94 year 73 ship 40 84 nest
Step II94 84 year 73 ship 40 nest
Step III94 84 73 year ship 40 nest
Step IV94 84 73 40 year ship nest

Following the same rule, the machine is given this input: drum 86 72 39 ship coin 15

Which of the following is Step III?

  • A drum 86 72 39 ship coin 15
  • B 72 86 39 drum ship coin 15
  • C 15 coin ship drum 39 72 86
  • D 86 72 39 drum ship coin 15 Correct
Correct Answer: Option D

Rule (from the illustration): In each step the largest number not yet arranged moves to the left end, after the numbers already arranged; the words keep their order.

For the new input: Step I: 86 drum 72 39 ship coin 15; Step II: 86 72 drum 39 ship coin 15; Step III: 86 72 39 drum ship coin 15; Step IV: 86 72 39 15 drum ship coin.

Answer: 86 72 39 drum ship coin 15

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links