Discussion :: Sequential Output Training
-
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: 48 245 182 26 99 542 378 297Step I: 542 48 245 182 26 99 378 297Step II: 542 248 245 182 99 378 297Step III: 542 26 378 48 245 182 99 297Step IV: 542 26 378 48 297 245 182 99Step V: 542 26 378 48 297 99 245 182This is the final arrangement and step V is the last step for this input.What should be the third step of the following input?Input: 239 123 58 361 495 37
A.
495 37 361 123 239 58
|
B.
495 37 58 361 123 239
|
C.
495 37 58 123 361 239
|
D.
495 37 361 239 123 58
|
E.
None of these
|
Answer : Option D
Explanation :
From the last step it is clear that there are two alternating series of numbers. One in descending order and the other in ascending order.
When we go through input to step I, we find that the largest number because the first and remaining numbers shift rightward. In the next step the smallest number becomes the second and the rest shift rightward. These two steps continue alternately untill the two alternate series are formed.
Be The First To Comment