Question
Which of the following will be Step IV for the
following input? Input: 40 80 45 30 65 55 60 Directions : Study the following information to answer the given questions: A number sorting machine, when given an input of numbers, rearranges the numbers in a particular manner step by step as indicated below till all the numbers are arranged in a particular order. Input: 17 56 32 70 81 25 77 92 52 23 60 97 Step I: 17 23 32 70 81 25 77 92 52 56 60 97 Step II: 17 23 32 70 81 25 77 60 52 56 92 97 Step III: 17 23 25 70 81 32 77 60 52 56 92 97 Step IV: 17 23 25 70 56 32 77 60 52 81 92 97 Step V: 17 23 25 32 56 70 77 60 52 81 92 97 Step VI: 17 23 25 32 56 70 52 60 77 81 92 97 Step VII: 17 23 25 32 52 70 56 60 77 81 92 97 Step VIII: 17 23 25 32 52 60 56 70 77 81 92 97 Step IX: 17 23 25 32 52 56 60 70 77 81 92 97 and step IX is the last step for the given input.Solution
Input: 40 80 45 30 65 55 60 Step I: 30 80 45 40 65 55 60 Step II: 30 60 45 40 65 55 80 Step III: 30 40 45 60 65 55 80 Step IV: 30 40 45 60 55 65 80
The present ages of a father and son are in the ratio 7 : 2 . After 6 years , the father’s age will be 3 times  the son’s age. What is the fa...
Currently, the average age of individuals 'A' and 'B' is 27 years. If the present ages of 'B' and 'C' maintain a ratio of 10:11, determine the age of 'C...
Present ages of P and Q are in the ratio 3:7 respectively. If Q’s age, 10 years hence from now will be 5 times of P’s age, 6 years ago from now, the...
The current ages of P and Q are in the ratio of 8:5. The ratio of P's age seven years ago to Q's age ten years from now is 5:6. W...
The current age of Jerry is three times that of Kim. 4 years from now, Jerry's age will be 2.5 times the age of Leo at that time. If Kim is 4 years youn...
The present age of Preeti is twice Ruchi’s present age. Six years ago, their average age was 15 years. What will be the Preeti’s age after f...
The average age of the husband, wife, and their child 4 years ago was 24 years and that of the husband and the child 5 years ago was 19 years. The pres...
- At present, the total of ages of Arjun and Ravi is 60 years. Two years ago, the ratio of their ages was 3:4. What is the current age of Ravi?
The ratio of A’s age to B’s age is 2 : 3. If 6 years are subtracted from each of their ages, the new ratio becomes 3 : 5. Find B'spresent age.
The present age of Surjeet and Rakesh are in the ratio of 4:5. After 8 years the ratio of their ages will be 6:7. What is 70% of the sum of their presen...