Question
Input: youth 39 stoke 47
hot flow 94 55 How many steps will be required to complete the rearrangement? 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 : sand draw 18 23 file 95 true 38 Step I : draw sand 18 23 file 95 true 38 Step II : draw 95 sand 18 23 file true 38 Step III : draw 95 file sand 18 23 true 38 Step IV : draw 95 file 38 sand 18 23 true Step V : draw 95 file 38 sand 23 18 true Step VI : draw 95 file 38 sand 23 true 18 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.Solution
How words and numbers are arranged in the final step: Words are arranged in ascending order and numbers are arranged in descending order in the final step. What machine is doing in each step: In the first step one word is getting arranged from the left side in ascending order and in the second step one number is getting arranged from the left side in descending order and so on. Input: youth 39 stoke 47 hot flow 94 55 Step I: flow youth 39 stoke 47 hot 94 55 Step II: flow 94 youth 39 stoke 47 hot 55 Step III: flow94 hot youth 39 stoke 47 55 Step IV: flow94 hot 55 youth 39 stoke 47 Step V: flow94 hot 55 stoke youth 39 47 Step VI: flow94 hot 55 stoke 47 youth 39 Step 6th is the last step So total 6 steps are needed to complete the rearrangement.
Four numbers are arranged in ascending order. When the first two numbers are increased by the number equal to their position, and the last two numbers i...
The average of 18 numbers is 70. The first eight numbers have an average of 90, and the last five numbers have an average of 48. The eleventh number ex...
Ram played his first 4 matches with an average of 5 goals per match. However, he couldn't score any goals in the following 3 matches. How many goals doe...
There are three numbers 'x', 'y' and 'z' such that average of 'x' and 'y' is 21, average of 'y' and 'z' is 19 and average of 'x' and 'z' is 20. Find the...
Four numbers are arranged in ascending order. When the first two numbers are increased by the number equal to their position, and the last two numbers i...
The average of series 'S5', which consists of 6 consecutive even numbers, is 23. The second term of series 'T5', which consists of 5 consecutive odd num...
The mean weight of 24 men is 45 kg, while the mean weight of 18 women is 40 kg. Calculate the combined average weight of all the ...
The average score of 10 students in a test is 85. If the average of the top 4 scores is 92.5, what is the average score of the other 6 students?
A student scored marks with a certain average in the first 12 tests. In the next 6 tests, he scored with an average of 78 marks, due to which his overal...
The average expenditure of a man for the first 4 month is Rs.5000 and for the next 8 months is Rs.8000. If he saves 12000 in that year then find his ave...