Question
How many steps would be required to get the final
output for the following input? Input: 75 25 50 40 100 70 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: 75 25 50 40 100 70 Step I: 25 75 50 40 100 70 Step II: 25 75 50 40 70 100 Step III: 25 40 50 75 70 100 Step IV: 25 40 50 70 75 100 Since all the numbers get arranged in ascending order in step IV this is the last step for the given input.
- Find the wrong number in the given number series.
10, 19, 3, 28, 5, 54 42, 50, 59, 123, 148, 360
Find the wrong number in the given number series.
1900, 1171, 669, 316, 100, - 25
Find the wrong number in the given number series.
1024, 256, 64, 32, 4, 1- Find the wrong number in the given number series.
3, 6, 12, 24, 60, 96 Find the wrong number in given number series.
4350, 4400, 4600, 4750, 5150, 5450
- Find the wrong number in the given number series.
10, 13, 17, 24, 31, 41 Find the wrong number in the given number series,
31, 55, 91, 145, 217, 307
- Find the wrong number in the given number series.
5, 11, 21, 41, 65, 95 16, 16, 32, 128, 1024, 16384Β