LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

Exam Pattern Mix Question 5 – answer, explanation & discussion

  • 0 comments
  • Answer explained
  • Moderated community
Question 5 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
Input82 drum owl 35 pot 45 50 apple
Step Iapple 82 drum owl 35 pot 45 50
Step IIapple 82 drum 50 owl 35 pot 45
Step IIIapple 82 drum 50 owl 45 35 pot
Step IVapple 82 drum 50 owl 45 pot 35

Following the same rule, the machine is given this input: 80 86 38 78 jug wall vest drum

In Step IV, which element is 8th from the left end?

  • A 86
  • B 38 Correct
  • C 78
  • D 80
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 86 80 38 78 jug wall vest; Step II: drum 86 jug 80 38 78 wall vest; Step III: drum 86 jug 80 vest 78 38 wall; Step IV: drum 86 jug 80 vest 78 wall 38.

Answer: 38

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