Direction: Study the follow information carefully to answer the question below. | ||||||||||||||||||||||||||||
An electronic device, when fed with the numbers, rearranges them in a particular order (following certain rules. The following is step I step process of rearrangements for the given input of numbers. | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
Input '173 390 85 188 522 765' | ||||||||||||||||||||||||||||
What will be the last step for this input? |
A) IV
B) V
C) VII
D) VI
E) None of these
Correct Answer: A
Solution :
Solution : In Step I, the largest number comes at the first place from left interchanging with its replacing number. In Step II, the second largest number comes at the second place from left interchanging with its replacing number. The further steps are obtained in the same manner till all the numbers get arranged in descending order. |
Input 173 390 85 188 522 765 |
Step I 765 390 85 188 522 173 |
Step II 765 522 85 188 390 173 |
Step III 765 522 390 188 85 173 |
Step IV 765 522 390 188 173 85 |
You need to login to perform this action.
You will be redirected in
3 sec