LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

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

  • 0 comments
  • Answer explained
  • Moderated community
Question 25 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
Inputfish 17 ship 43 owl 49 55
Step I55 fish 17 ship 43 owl 49
Step II55 49 fish 17 ship 43 owl
Step III55 49 43 fish 17 ship owl
Step IV55 49 43 17 fish ship owl

Following the same rule, the machine is given this input: drum 46 30 desk rain 12 74

Which of the following is Step IV?

  • A 74 46 30 12 drum desk rain Correct
  • B 46 74 30 12 drum desk rain
  • C rain desk drum 12 30 46 74
  • D 74 46 30 drum desk rain 12
Correct Answer: Option A

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: 74 drum 46 30 desk rain 12; Step II: 74 46 drum 30 desk rain 12; Step III: 74 46 30 drum desk rain 12; Step IV: 74 46 30 12 drum desk rain.

Answer: 74 46 30 12 drum desk rain

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