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 :
but 32 71 glory fair south 65 84
Step I : south but 32 71 glory fair 65 84
Step II : south 84 but 32 71 glory fair 65
StepIll : south 84 glory but 32 71 fair 65
StepIV : south 84 glory 71 but 32 fair 65
StepV : south 84 glory 71 fair but 32 65
StepVl : south 84 glory 71 fair 65 but 32
and Step VI is the last step of the rearrangement.
As per the rules followed in the above steps, nd out in each of the following questions the appropriate step for the given input.
Step II of an input is : war 58 box cart 33 49 star 24 Which of the following steps will be the last ?
The pattern here is in the first step the word with the largest first letter alphabetically is arranged at first position. In the second step, the highest number is placed at second position and so on.
Step II of an input is : war 58 box cart 33 49 star 24
Step III : war 58 star box cart 33 49 24
Step IV : war 58 star 49 box cart 33 24
Step V : war 58 star 49 cart box 33 24
Step VI : war 58 star 49 cart 33 box 24
Step VI is the last step of the rearrangement.
=> Ans - (B)
Create a FREE account and get: