Question
Which of the following was certainly the input of the
following step III? Step III: 37 46 89 61 57 72 76 98 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
Here the rule followed is: Step I: The smallest number interchanges its position with the first number. [In case the first number is smallest then the next number just larger than it interchanges its position with the second number.] Step II: The largest number interchanges its position with the last number. [In case the largest number is first from right end, the second largest number interchanges its position with the second number from right and so on.] These steps are repeated alternately till the numbers get arranged in ascending order and that will be the last step for the particular input. Since it is a case of arrangement previous steps can’t be determined with certainty
Eight persons namely - Harsh, Khushi, Jay, Rohan, Ashwin, Palak, Jayesh and Nilamber live on separate floors of an eight-floor building in an apartment...
In a certain code language,
'good deeds pay' is coded as 'ag bi tr',
'pay all bills' is coded as 'od ez ag',
'all your deeds count ...
In the following question below are given some statements followed by some conclusions based on those statements. Taking the given statements to be tru...
Select the combination of letters that when sequentially placed in the blanks of the given series will complete the series.
A_DF GI_L MOP_ _UVX YA_D
Select the figure that will come in place of the question mark (?) in the following figure series.
Rohit drives 3 km towards north from point A. He takes a left turn and drives 4 km. Again he takes a left turn and drives 6 km. Finally, he takes a left...
Read the given statements and conclusions carefully. Assuming that the information given in the statements is true, even if it appears to be at variance...
Select the set in which the number are related in the same way as the numbers of the given sets. (NOTE : Operations should be performed on the whole num...
In a certain code language, ‘GOLF’ is coded as ‘1286’ and ‘WOLF’ is coded as ‘6428’. What is the code for ‘W’ in that language?
Select the option that is related to the third term in the same way as the second term is related to the first term.
Kilogram : Mass :: Kilometre...