• 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: 25 280 345 36 93 147 550
Step I: 550 280 345 36 93 147 25
Step II: 550 345 280 36 93 147 25
Step III: 550 345 280 147 93 36 25
This is the final arrangement and step III is the last step for this input.
What will be the second step for the following input?
Input: 158 294 22 89 142 385 463
A. 463 385 294 22 89 142 148
B. 463 385 89 22 294 142 158
C. 463 385 22 89 142 158 294
D. None of these
Feedback Numbers are getting arranged in descending order.
The largest of the given number interchanges its place with the first number. IN case the largest number is already arranged, the second largest is interchanged with the number next to the largest number, and so on until the numbers are arranged in descending order.
Input: 158 294 22 89 142 385 463
Step I: 463 294 22 89 142 385 158
Step II: 463 385 22 89 142 294 158

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

Practice Sequential Output Online Test 4 | Englishfreetest.com