Answer the questions on the basis of the information given below.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: basket 83 32 all turn 76 51 now
Step I:turn basket 83 32 all 76 51 now
Step II:turn 32 basket 83 all 76 51 now
Step III: turn 32 now basket 83 all 76 51
Step IV: turn 32 now 51 basket 83 all 76
Step V: turn 32 now 51 basket 76 83 all
StepVI: turn 32 now 51 basket 76 all 83 and Step VI is the last step of the rearrangement of the above input. As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.
Input: 20 ask never 35 62 84 tall grasswhich of the following steps will be the last but one?
In Step I the word that comes last in the alphabetical order comes at the first position and the remaining line shifts rightwards. this goes on alternately till all the words get arranged in reverse alphabetical order and the numbers in ascending order at alternate positions.Input: 20 ask never 35 62 84 tall grassStep I: tall 20 ask never 35 62 84 grassStep II: tall 20 never ask 35 62 84 grassStep III: tall 20 never 35 ask 62 84 grassStep IV: tall 20 never 35 grass ask 62 84Step V: tall 20 never 35 grass 62 ask 84Since Step V is the last step, step IV will be the last but one.