Question
How many steps will be required to get the final output
from the following input? Input: 183 35 553 201 273 249 511 91 Directions : Study the following information to answer the questions given below: A number arrangement machine when given an input of numbers, rearranges them following a particular rule in each step. The following is an illustration of input and steps of rear arrangement. Input: 14 28 33 36 39 48 49 56 Step I: 33 14 28 36 39 48 49 56 Step II: 33 36 14 28 39 48 49 56 Step III: 33 36 39 14 28 48 49 56 Step IV: 33 36 39 48 14 28 49 56 This is the final arrangement and step IV is the last step for this input.Solution
Clearly, in the given arrangement numbers thatare multiples of 3 are arranged first, in ascending order; followed by multiples of 7 in ascending order. Input: 183 35 553 201 273 249 511 91 Step I: 183 201 35 553 273 249 511 91 Step II: 183 201 249 35 553 273 511 91 Step III: 183 201 249 273 35 553 511 91 Step IV: 183 201 249 273 35 91 553 511 Step V: 183 201 249 273 35 91 511 553 Since all the numbers get arranged in Step V according to the logic above, final output comes in Step V
The number of students in class 'A' is 90, and the ratio of girls to boys is 3:2. If the average number of boys in classes A and B is 120, and the avera...
- Find the square of 'x' if the average of 22, 31, 49, 38, 29, and 'x' is 40.
There are 15 numbers such that average of first 12 numbers is 65 while the average of last five numbers is 76. Find the 12th number, if the ratio betwee...
The average age of a group of persons going for tour to Shimla is 22 years. 25 new persons with an average age of 10 years join the group and their aver...
The average weight of 4 persons is 50 kg. The heaviest person’s weight is 20 kg more than the lightest person’s weight. If the average weight of the...
Ram, Shyam, Rohan, Reeta, and Mukesh are five members of a family who are weighed consecutively, and their average weight is calculated after each membe...
- The average of two numbers is 3 more than the smaller number among them. If the greater number is 25% more than the smaller number, then find the sum of th...
A batsman had an average of 82 runs per match in the first 25 matches. In his next 15 matches, he scored runs with an average of ‘x’ runs per match ...
In the Board exams, the average marks scored by 20 students is 55. But while calculating, marks of 2 students were wrongly entered as 43 and 60 in place...
Ravi scored 95, 88, 102, 110, 76 and 91 marks in History, Chemistry, Biology, Mathematics, English and Computer respectively. What is the average of his...