Question
If the second step for an input is as given below, what
will be the fifth step for the same input? Step II: 29, 52, 47, 91, 66, 142, 111, 193 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
Step II: 29, 52, 47, 91, 66, 142, 111, 193 Step III: 29, 47, 52, 91, 66, 142, 111, 193 Step IV: 29, 47, 52, 91, 66, 111, 142, 193 Step V: 29, 47, 52, 66, 91, 111, 142, 193
A bag contains black and white balls, such that the probability of picking a black ball is 4/7. If the probability of picking two black balls without re...
A jar contains 6 pink, 2 black and 4 orange balls. If 3 balls are chosen at random without replacement, what is the probability that all 3 balls are of ...
A bag contains 3 black and 9 white balls. One ball is drawn at random. What is the probability that the ball drawn is white?
"A piggy bank comprises 5-rupee coins, 10-rupee coins, and 20-rupee coins. The quantity of 5-rupee coins in the piggy bank is 75% more than the number o...
- A jar contains six 50 paise coins, six Rs. 1 coins, and twelve Rs. 10 coins. One coin is lost. Find the probability that the lost coin is not a 50 paise co...
- Bag A contains 3 red, 4 black, 8 blue and 5 yellow balls. Bag B contains 5 red, 2 black, 4 blue and 3 yellow balls. Find the probability of drawing 2 blue ...
A box contains (x + 3) black balls, 6 yellow balls, and 5 orange balls. If two balls are selected at random and the probability of selecting two orange ...
Which of the following cannot be the probability of an event?
Find the probability that a number selected at random from first hundred number is a multiple of 3 or 5?Â
A game consists of tossing three coins once and then rolling two dice. Find the probability of getting exactly one tail in the coin toss and a sum equal...