LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

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

  • 0 comments
  • Answer explained
  • Moderated community
Question 30 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
Inputumbrella hill lion 18 27 47 72
Step Ihill 72 umbrella lion 18 27 47
Step IIhill 72 lion 47 umbrella 18 27
Step IIIhill 72 lion 47 umbrella 27 18

Following the same rule, the machine is given this input: 32 toy 71 eagle 10 89 lamp

In Step III, which element is 3rd from the left end?

  • A 71
  • B toy
  • C lamp Correct
  • D 89
Correct Answer: Option C

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: eagle 89 32 toy 71 10 lamp; Step II: eagle 89 lamp 71 32 toy 10; Step III: eagle 89 lamp 71 toy 32 10.

Answer: lamp

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