• Foundation
  • About 13 min
  • 5 practice questions

Answering questions from a step

Read answers off a step: which item is at a given place, how many lie between two items, and sums or differences of items, using one worked machine.

If something looks wrong, please tell us.

After the rule is understood and the steps are written, the exam asks a question about one of the lines. It might ask for the third number from the right, or for how many numbers lie between two given numbers, or for the sum of two numbers. These questions are easy if you work on the correct line and count carefully. This lesson uses one machine to show the common question types.

The machine

Rule: in each step the smallest remaining number moves to the next place from the left, and the other numbers keep their order. Input: 64 27 91 38 55 12.

LineNumbers
Input64 27 91 38 55 12
Step I12 64 27 91 38 55
Step II12 27 64 91 38 55
Step III12 27 38 64 91 55
Step IV12 27 38 55 64 91

Question types

  • Position from the left or right: count from the named end.
  • Numbers between two items: count only the items strictly between them, so do not count the two named items.
  • Sum or difference: pick the correct two numbers from the correct line, then calculate.
  • Step in which something happens: compare the lines one after the other.

Worked examples

Example 1. Which number is third from the right in Step II? Step II is 12 27 64 91 38 55. From the right the order is 55, 38, 91, so the third from the right is 91.

Example 2. What is the sum of the first and last numbers in Step III? Step III is 12 27 38 64 91 55, so the first is 12 and the last is 55. The sum is 12 + 55 = 67.

Example 3. How many numbers lie between 27 and 55 in Step IV? Step IV is 12 27 38 55 64 91. Between 27 and 55 there is only 38, so the answer is 1.

Example 4. In which step does 38 first reach its final place, the third from the left? In Step II, 38 is fifth. In Step III, 38 is third. So the answer is Step III.

Example 5. What is the difference between the fourth number from the left in Step II and the second number from the right in Step I? Step II is 12 27 64 91 38 55, so the fourth from the left is 91. Step I is 12 64 27 91 38 55, so the second from the right is 38. The difference is 91 - 38 = 53.

Example 6 (the same input, a different rule). Suppose the rule is instead that the largest remaining number moves to the right end each step. For the same input, 64 27 91 38 55 12: Step I is 64 27 38 55 12 91, Step II is 27 38 55 12 64 91, Step III is 27 38 12 55 64 91, Step IV is 27 12 38 55 64 91, and Step V is 12 27 38 55 64 91. This rule takes 5 steps, but the first rule took 4. Always read the rule before you pick a line to answer from.

Use the right line, count from the right end, and count only the items between two named items.

— Rule to remember

Key takeaways

  • Write every step before you answer.
  • Name the line and the end (left or right) before counting.
  • 'Between' means not counting the two named items.
  • Check the final line against the sorted order to be sure no step was missed.

Check your understanding

  1. 1. In Step II of the machine, which number is third from the right?

    1. 64
    2. 27
    3. 38
    4. 91
    Show answer

    Answer: D. Step II is 12 27 64 91 38 55. From the right: 55, 38, 91.

  2. 2. In Step III, what is the sum of the first and the last numbers?

    1. 76
    2. 67
    3. 103
    4. 49
    Show answer

    Answer: B. Step III is 12 27 38 64 91 55, so the sum is 12 + 55 = 67.

  3. 3. In Step IV, how many numbers lie between 27 and 55?

    1. 0
    2. 2
    3. 1
    4. 3
    Show answer

    Answer: C. Step IV is 12 27 38 55 64 91. Only 38 lies between 27 and 55.

  4. 4. In which step does 38 first reach the third place from the left?

    1. Step III
    2. Step I
    3. Step II
    4. Step IV
    Show answer

    Answer: A. In Step II the line is 12 27 64 91 38 55, so 38 is fifth. In Step III it is third.

  5. 5. What is the difference between the fourth number from the left in Step II and the second number from the right in Step I?

    1. 29
    2. 53
    3. 38
    4. 64
    Show answer

    Answer: B. The fourth from the left in Step II is 91, and the second from the right in Step I is 38. 91 - 38 = 53.

Sign in to keep track of the lessons you finish.

Next lesson → Final self-assessment: Input-Output

Privacy · Terms · Refunds · Delivery