Input-Output (Machine)
A machine rearranges numbers or words step by step: find a step or a position.
Learn: notes, formulas, solved examples and question book
Sample questions with solutions
1. A machine rearranges a line of numbers step by step. In each step it moves the largest of the remaining numbers to the left, just after the items it has already arranged. Input: 20 54 60 39 26 69 Step I: 69 20 54 60 39 26 What is Step IV?
- 69 60 54 39 20 26
- 69 60 54 39 26 20
- 69 60 54 20 39 26
- 69 54 60 39 20 26
Answer: A. Show solution
- Step I: 69 20 54 60 39 26
- Step II: 69 60 20 54 39 26
- Step III: 69 60 54 20 39 26
- Step IV: 69 60 54 39 20 26
- Step V: 69 60 54 39 26 20
2. A machine rearranges a line of words step by step. In each step it moves the word that comes first in dictionary order among the rest to the left, just after the items it has already arranged. Input: youth olive plant globe paper grass Step I: globe youth olive plant paper grass What is Step III?
- globe grass olive youth plant paper
- globe grass olive paper youth plant
- globe grass youth olive plant paper
- globe grass olive paper plant youth
Answer: A. Show solution
- Step I: globe youth olive plant paper grass
- Step II: globe grass youth olive plant paper
- Step III: globe grass olive youth plant paper
- Step IV: globe grass olive paper youth plant
- Step V: globe grass olive paper plant youth
3. A machine rearranges a line of words step by step. In each step it moves the word that comes first in dictionary order among the rest to the left, just after the items it has already arranged. Input: queen jelly house night flame grass Step I: flame queen jelly house night grass In which step is this arrangement obtained? flame grass queen jelly house night
- Step III
- Step II
- Step V
- Step IV
Answer: B. Show solution
- Step I: flame queen jelly house night grass
- Step II: flame grass queen jelly house night
- Step III: flame grass house queen jelly night
- Step IV: flame grass house jelly queen night
- Step V: flame grass house jelly night queen
Press Start above for fresh questions every time, each with the answer and a full solution.