Practice30Create account

A machine rearranges a line of numbers; in each step it moves the smallest number not yet fixed to the leftmost unfixed position, which then becomes fixed. Input: 52 17 43 9 28. Step I: 9 52 17 43 28. Step II: 9 17 52 43 28. What is Step III?

Competition practiceInput-Output
  • A9 28 17 52 43
  • B9 17 28 43 52
  • C9 17 52 28 43
  • D9 17 28 52 43

Step-by-Step Solution

Positions 1 and 2 are fixed as 9 and 17. Among 52, 43 and 28 the smallest is 28, which moves to the third position, giving 9 17 28 52 43.
Answer: D) 9 17 28 52 43

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Input-Output practice questions

More Input-Output practice

A machine rearranges a line of numbers; in each step it moves the largest number not yet…A machine rearranges words; in each step it moves the word that comes earliest in…A machine rearranges words; in each step it moves the word that comes last in dictionary…A machine rearranges numbers; in each step the smallest number not yet fixed moves to…A machine shifts a line of numbers; in each step the number at the left end moves to the…