Read the information carefully and answer the question below. A word and a number rearrangement machine when an input line of words and numbers, rearranges them following a particular rule in every step. The following is an illustration of input and the steps of rearrangement
The step VI is last step. As per the pattern followed in the above steps. Find the appropriate step for the given input. Step II of an input is cold wave 69 never desk 52 43. How many more steps will be required to complete the rearrangement? |
|||||||||||||||||
(a) |
6 |
(b) |
5 |
||||||||||||||
(c) |
4 |
(d) |
3 |
Read the information carefully and answer the question below. A word and a number rearrangement machine when an input line of words and numbers, rearranges them following a particular rule in every step. The following is an illustration of input and the steps of rearrangement
The step VI is last step. As per the pattern followed in the above steps. Find the appropriate step for the given input. Step II of an input is cold wave 69 never desk 52 43. How many more steps will be required to complete the rearrangement? |
|||||||||||||||||
(a) |
6 |
(b) |
5 |
||||||||||||||
(c) |
4 |
(d) |
3 |
The given problem is based on arrangement in which words of the input get arranged in alphabetical order from left to right.
Step I - the word that comes first in alphabetical order comes to the leftmost position pushing the rest of the line rightward
Step II - the smallest number comes to the second position from leftmost position pushing the rest of the line rightward
Thus, the words and numbers get arranged alternately until the former make an alphabetical order and the latter an ascending order.
By applying above rules, we get 6 steps, after step II, four more steps are required to complete the arrangement.