Sub topic 4
Which option to test first
This chapter assumes you can already test one option against a question's conditions, as covered in the back-substitution chapter, and that you can run quick sign, range and divisibility eliminations. Here the question is the order in which you test the remaining options. A good order often settles a problem in one or two checks. A poor order can take four or five.
Why the order matters
Every test costs time, so the aim is to minimise the expected number of tests, not just to find the right option. Three things decide how costly a test is.
- Calculation cost. Testing 10 is usually faster than testing 17.
- Information gained. A test that only says "pass" or "fail" tells you little. A test that also says "too big" or "too small" can remove several options at once.
- What the question asks. Words like "smallest", "largest" and "how many" change which end of the list you must examine.
The rest of this chapter turns these three factors into rules you can apply in a few seconds.
Rule 1: with ordered options and feedback, start in the middle
CAT options are often in increasing or decreasing order. If a failed test also shows whether your value was too high or too low, test the middle option first. Whichever way it fails, you discard half the list, and sometimes more.
Take this problem. A father is 3 times as old as his son. In 12 years he will be twice as old as the son. What is the son's present age? The options are 8, 10, 12, 14 and 16.
Define the gap as the father's age in 12 years minus twice the son's age in 12 years. For a son aged S, that is 3S + 12 − 2(S + 12) = S − 12. A positive gap means S is too big, and a negative gap means S is too small.
- Test the middle option, 12. The father is 36. In 12 years he is 48 and the son is 24. Since 48 = 2 × 24, every condition holds.
- One test is enough. The answer is 12.
If the answer had been different, the first test would still have helped. Testing 10 gives a father of 30. In 12 years the ages are 42 and 22, and 42 is less than 44. The gap is −2, so the son's age is too small. That removes 8 and 10 and leaves 12, 14 and 16.
Counting the tests
The Python below counts how many tests middle-first needs for each possible answer in a five-option list. It does not simulate a problem. It only shows the cost of the strategy.
def checks_from_middle(options, target):
"""Count tests when you always test the middle of the remaining options
and each failed test tells you 'too small' or 'too big'."""
lo, hi = 0, len(options) - 1
checks = 0
while lo <= hi:
mid = (lo + hi) // 2
checks += 1
if options[mid] == target:
return checks
if options[mid] < target:
lo = mid + 1
else:
hi = mid - 1
return checks
options = [8, 10, 12, 14, 16]
total = 0
for answer in options:
n = checks_from_middle(options, answer)
total += n
print(answer, "->", n)
print("average:", total / len(options))It prints 8 → 2, 10 → 3, 12 → 1, 14 → 2, 16 → 3, and an average of 2.2. Testing from the first option onward would average 3.0 on the same list. The saving is small on five options, but it applies on every question.
Rule 2: without feedback, start with the easiest number
Many problems give only pass or fail. A remainder question is a typical case. The value 59 failing tells you nothing about whether the answer is above or below it. Middle-first has no advantage here, so choose by cost and by elimination power.
- Prefer round numbers or numbers with simple factors, such as 10, 20, 25, 50 and 100.
- Prefer an option that appears in a pattern. If the options are 12, 24, 36 and 48, and a test of 24 shows a common multiple is needed, the result carries over to the others.
- Prefer the option that a quick check would also eliminate. If your tests of 12 and 36 both fail for the same reason, you can drop their neighbours too.
Always run the quick checks from the previous chapter (sign, range, integer, divisibility, units digit) before you pick a test. They cost almost nothing and shrink the list the order rule works on.
Rule 3: "smallest" and "largest" decide the direction
When the question asks for the smallest value that satisfies the conditions, test from the smallest option upward. The first option that passes is the answer, because every smaller option has already failed. For the largest value, test from the largest option downward.
# Smallest n leaving remainders 2, 3, 4 when divided by 3, 4, 5.
options = [29, 59, 119, 179]
for n in options: # options are in increasing order
if n % 3 == 2 and n % 4 == 3 and n % 5 == 4:
print(n) # prints 59
breakHere 29 fails the mod-4 condition (29 % 4 = 1). The next option, 59, passes all three, so the answer is 59. The options 119 and 179 would also pass, because each is 59 plus a multiple of 60. The word "smallest" is what makes 59 the answer.
You can combine this with Rule 1. Suppose you want the smallest integer x with x² > 200, and the options are 13, 14, 15 and 16.
# Smallest integer x with x**2 > 200. Options: 13, 14, 15, 16.
options = [13, 14, 15, 16]
print(14**2 > 200) # False (196), so 13 and 14 are out
print(15**2 > 200) # True (225)
# 14 fails and 15 passes, so the smallest integer is 15.Testing 14 first splits the list. Its failure eliminates 13 as well, because x² is increasing here. You then test 15, which passes. Because 14 failed, 15 is the smallest.
Choosing a rule quickly
The table summarises which rule to apply in the first few seconds.
| Situation | First test | Reason |
|---|---|---|
| Ordered options, and a failure shows "too big" or "too small" | The middle option | Each test removes about half the list |
| Pass or fail only, no direction | The easiest option to compute | Direction is unknown, so save effort |
| "Smallest" with ascending options | The first option | The first pass is the answer |
| "Largest" with ascending options | The last option | The first pass from the top is the answer |
| Options with a clear pattern, such as multiples of one number | An option that tests the pattern | One result can rule out others |
| Two options differ only in a small detail | One of the pair | The result usually decides both |
A second worked example with a gap
A mother and her daughter have ages that add up to 45. Five years ago the mother was 4 times as old as the daughter. What is the daughter's present age? The options are 6, 8, 10, 12 and 14.
For a daughter aged D, the mother is 45 − D. Define the gap as the mother's age five years ago minus four times the daughter's age then. That is (45 − D − 5) − 4(D − 5) = 60 − 5D. A positive gap means D is too small.
- Test the middle option, 10. The mother is 35. Five years ago the ages were 30 and 5, and 4 × 5 = 20, which is not 30. The gap is 10, which is positive, so D is too small. This removes 6, 8 and 10.
- Test 12. The mother is 33. Five years ago the ages were 28 and 7, and 4 × 7 = 28. It passes.
The answer is 12, found in two tests. Testing from 6 upward would have taken four.
When the first test is lucky or unlucky
Test order controls the expected number of tests, not the worst case. If the correct option is the last one you try, you will have done extra work. Two habits limit the damage.
- If you have eliminated all but one option, mark it without testing. This is safe only when you trust that exactly one option is correct, which CAT guarantees for multiple-choice questions.
- If two tests in a row fail without teaching you anything, stop. Switch to solving the problem directly, as covered later in this tutorial.
Common mistakes with test order
- Using middle-first without feedback. If a failure gives no direction, the middle option has no special value. Test the easiest option.
- Ignoring the direction of the gap. After a failed test, compute whether the value was too big or too small. Without this you will jump to the wrong side.
- Testing in the wrong direction for "largest". Starting at the smallest option and finding that it passes proves nothing about the largest.
- Stopping at the first pass. On remainder and divisibility questions, several options may pass. Read the question's final word again before you choose.
- Testing an awkward number first. An option such as 17 or 23 costs more than 10 or 20. Use the cheaper number when the choice is otherwise equal.
Exercise
The options for a question are 6, 8, 10, 12 and 14, in increasing order. The question asks for the largest integer x with x² < 200 in a different version of this problem: the options are 12, 13, 14 and 15. Which option do you test first, and how many tests do you need if the answer is 14?
Show answer
Start at the largest end, because the question asks for the largest value. Test 15: 15² = 225, which is not below 200, so 15 fails. Test 14: 14² = 196, which is below 200, so 14 passes. Because 15 failed and 14 passed, 14 is the largest. The answer is 14 after 2 tests.
Exercise
The sum of a mother's and daughter's ages is 45. Five years ago the mother was 4 times as old as the daughter. The options for the daughter's present age are 6, 8, 10, 12 and 14. Which option do you test first, what does the result tell you, and what is the answer?
Show answer
Test the middle option, 10. The mother is 35. Five years ago the ages were 30 and 5, and 4 × 5 = 20, not 30, so the test fails. The mother's age was more than 4 times the daughter's, so the daughter's age is too small. That leaves 12 and 14. Test 12: the mother is 33, five years ago the ages were 28 and 7, and 4 × 7 = 28, so it passes. The answer is 12.