Question
If the following is the sixth step of an input, what
will be the second step? Step VI: 21, 35, 48, 92, 79, 89, 52, 62, 103, 115 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
The following is the logic: Input to step I: The smallest no. comes to the leftmost position and the rest shift rightward. Step I to Step II: The largest no. comes to the rightmost position and the rest shift leftward. And thus we go on arranging the nos. on left and right alternately till the final arrangement is in ascending order. We can’t proceed backwards.
What is the total number of work hours reported by employees in the Sales department?
What will come in the place of question mark in the given expression?
√(16 2 + 3 of 11) + 21% of 300 = ? 2 of 5
The set of all bijective functions from a finite set A to itself forms:
A car travels 300 km at a speed of 60 km/h and another 200 km at a speed of 80 km/h. Find the approximate average speed of the car for the entire journey.
A rectangular park is 120 m long and 80 m wide. A path of uniform width is constructed inside the park. If the area of the path is 3600 m², find the wi...
In the question, two equations I and II are given. You have to solve both the equations to establish the correct relation between x and y and choose the...
X, Y, and Z entered into a partnership with initial investments of Rs. (M + 2500), Rs. 3M, and Rs. (4M - 20000), respectively. After 6 months, W joined ...
A trader buys 400 shares of a company at Rs. 80 each, paying 1% brokerage on the purchase value. The company declares a dividend of 12% on the face valu...
Solve log₂(x–1) + log₂(x+3) = 3.
The difference between the lengths of two parallel sides of a trapezium is 12 cm. The perpendicular distance between these two parallel sides is 60 cm. ...