LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

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

  • 0 comments
  • Answer explained
  • Moderated community
Question 23 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
Input15 10 80 year coin lamp 54
Step Icoin 80 15 10 year lamp 54
Step IIcoin 80 lamp 54 15 10 year
Step IIIcoin 80 lamp 54 year 15 10

Following the same rule, the machine is given this input: 82 owl drum 23 60 rain 87

Which of the following is Step I?

  • A rain 60 23 owl 82 87 drum
  • B drum 87 82 owl 23 60 rain Correct
  • C 82 owl drum 23 60 rain 87
  • D drum 87 owl 82 rain 60 23
Correct Answer: Option B

Rule (from the illustration): In each step the word that comes first in the dictionary moves to the left end, followed by the largest number, after the pairs already arranged.

For the new input: Step I: drum 87 82 owl 23 60 rain; Step II: drum 87 owl 82 23 60 rain; Step III: drum 87 owl 82 rain 60 23.

Answer: drum 87 82 owl 23 60 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