Question
How many steps will be required for getting the final
output for the following input? Input: 111, 81, 62, 40, 63, 36, 173, 29, 141, 74 Directions : Study the following information carefully to answer the questions given below: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. Given below is an illustration of this arrangement. Input: 45, 163, 53, 19, 81, 139, 18, 48, 73, 96 Step I: 18, 45, 163, 53, 19, 81, 139, 48, 73, 96 Step II: 18, 45, 53, 19, 81, 139, 48, 73, 96, 163 Step III: 18, 19, 45, 53, 81, 139, 48, 73, 96, 163 Step IV: 18, 19, 45, 53, 81, 48, 73, 96, 139, 163 Step V: 18, 19, 45, 48, 53, 81, 73, 96, 139, 163 Step VI: 18, 19, 45, 48, 53, 73, 81, 96, 139, 163 (This is the final arrangement and VI is the last step for this input.)Solution
Input: 111, 81, 62, 40, 63, 36, 173, 29, 141, 74 Step I: 29, 111, 81, 62, 40, 63, 36, 173, 141, 74 Step II: 29, 111, 81, 62, 40, 63, 36, 141, 74, 173 Step III: 29, 36, 111, 81, 62, 40, 63, 141, 74, 173 Step IV: 29, 36, 111, 81, 62, 40, 63, 74, 141, 173 Step V: 29, 36, 40, 111, 81, 62, 63, 74, 141, 173 Step VI: 29, 36, 40, 81, 62, 63, 74, 111, 141, 173 Step VII: 29, 36, 40, 62, 81, 63, 74, 111, 141, 173 Step VIII: 29, 36, 40, 62, 63, 74, 81, 111, 141, 173
In the following question, find which one word cannot be made from the letters of the given word “PRIVATIZATION”
Statements: All schools are colleges.
No college is a institute.
Conclusions: I. Some colleges are not institutes.
II. Some schoo...
Statement:
Some lehenga are saree.
Only a few suit are dhoti.
Only a few dhoti are hanky.
All lehenga are hanky....
Statements: A’s @ P’s A’s % Y’s T’s # Y’s Z’s & A’s
Conclusion:
I. Y’s $ Z’s
II. T’s % P’s
III...
Statements: All cloves are cardamoms.
All cardamoms are cumins.
Some cumins are corianders.
S...
Three statements are followed by three conclusions numbered I, II, and III. You have to consider these statements to be true, even if they seem to be at...
Statements:
Some laptops are printer.
All printer are camera.
Some camera are scanner.
Conclusions:
I. Some l...
Read the given statements and conclusion carefully. Assuming the information given in the statement is true, even if it appears to be at variance with...
In the question below, three statements are given followed by the conclusions. You have to take the given statements to be true even if they seem to be...
Statements:
No television is a magazine.
Some magazines are radios.
Some radios are newspapers.
All newspapers are journal...