🎴 Flashcard Mode
Input-Output
Directions: A word arrangement machine when given an input line of words, it rearranges them following a particular rule in each step. The following is an illustration of input and steps of rearrangement.
Input: ‘the most typical is set for action.’
Step I : typical most the set is action for
Step II : most typical is set the for action.
Step III : typical most set is action for the.
Step IV: set most typical action is the for.
(and so on) ……….
Study the pattern and then answer the following question.
Which of the following will be the Vth step of the input as given in the illustration?
bsp; 2 3 4 5 6 7
Step I : 3 2 1 5 4 7 6
Step II : 2 3 4 5 1 6 7
Step III : 3 2 5 4 7 6 1
Step IV : 5 2 3 7 4 1 6
From above illustration, it is clear that in step I word marked with 1 is interchanged with 3, 4 with 5 and 6 with 7, keeping the word marked 2 as it is. In step II, word marked 5 is kept same and 2 is interchanged with 3, 4 with 1 and 6 with 7. Likewise in third step, word marked with 6 is kept same and 2 is interchanged with 3, 5 with 4 and 1 with 7. Now, step IV is again identical to step I and so on.
Vth step of any given input is of the order: 2 5 4 7 3 6 1. Therefore, the Vth step for the input given in the illustration will be ‘most set is action typical …………