LearnFrenzy
Sign in Take a free test

Input-Output · Discussion forum

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

  • 0 comments
  • Answer explained
  • Moderated community
Question 28 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
Inputhouse 46 95 rain 26 eagle 78
Step Ihouse 46 95 rain 26 78 eagle
Step II46 95 rain 26 78 house eagle
Step III46 95 26 78 rain house eagle

Following the same rule, the machine is given this input: flag 40 47 bell fish 26 34

Which of the following is Step I?

  • A flag 40 47 bell fish 26 34
  • B flag 40 47 fish 26 34 bell Correct
  • C flag 40 47 26 34 fish bell
  • D bell 34 26 fish 47 40 flag
Correct Answer: Option B

Rule (from the illustration): In each step the word that comes first in the dictionary, of those not yet arranged, moves to the right end, before the words already arranged; numbers keep their order.

For the new input: Step I: flag 40 47 fish 26 34 bell; Step II: flag 40 47 26 34 fish bell; Step III: 40 47 26 34 flag fish bell.

Answer: flag 40 47 fish 26 34 bell

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