• Home
  • Study the following information carefully and answer the given questions: A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step.
Question 1:
Study the following information carefully and answer the given questions:
A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement:
Input: now 41 28 for join 37 go 61
Step I: 61 now 41 28 for join 37 go
Step II: 61 for now 41 28 join 37 go
Step III: 61 for 41 now 28 join 37 go
Step IV: 61 for 41 go now 28 join 37
Step V: 61 for 41 go 37 now 28 join
Step VI: 61 for 41 go 37 join now 28
Step VII: 61 for 41 go 37 join 28 now
Step VIII: is the last step for this input.
As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.
Input: chair wood 21 42 59 height bench 78. How many steps will be required to complete the rearrangement?
A. Three
B. Four
C. Five
D. Six
Feedback The logic is: the words get arranged in alphabetical order. Where as the numbers get arranged in descending order. Numbers occupy odd places in the final steps while words occupy even positions. When any element gets arranged, the previous element occupying that position shifts one place towards right.
Input: chair wood 21 42 59 height bench 78
Step I: 78 chair wood 21 42 59 height bench
Step II: 78 bench 59 chair wood 21 42 59 height
Step III: 78 bench 59 chair wood 21 42 height
Step IV: 78 bench 59 chair 42 wood 21 height
Step V: 78 bench 59 chair 42 height wood 21
Step VI: 78 bench 59 chair 42 height 21 wood
Hence, step VI is the last step.

These questions are from this test. Would you like to take a practice test?

Practice Sequential Out put Online Test 1 | Englishfreetest.com