Sub topic 9
Select-all and numeric entry questions
Prerequisites and scope
This chapter assumes you have read the earlier chapters on choosing legal numbers, plugging in for variables, and testing zero, one, negatives, fractions between 0 and 1, and large values. It also assumes you can handle basic number properties (even and odd, sign, integer versus non-integer) and percent arithmetic.
Here those methods are applied to two formats that have no single lettered answer to aim at:
- Select-all questions ask you to choose one or more answer choices. You earn credit only if you select every correct choice and no incorrect one.
- Numeric entry questions have no answer choices. You type a number into a box, or two numbers into two boxes for a fraction.
Both formats remove the safety net of five choices with exactly one right answer. Plugging in still works well, but you have to use it differently.
Treat a select-all question as separate true/false questions
A select-all question is a set of independent true/false questions packaged together. Each choice is either in the answer set or not. Nothing links the choices to each other, so you can handle them one at a time.
Read the stem for its quantifier, because it decides what a test value can prove:
| Stem says | A test value that makes the choice true | A test value that makes the choice false |
|---|---|---|
| "must be true" or "is always" | Keeps the choice alive. It is not yet proven. | Eliminates the choice. One counterexample is enough. |
| "could be true" or "can be" | Includes the choice. One example is enough. | Keeps testing. You have only ruled out that one value. |
The same test value can therefore do opposite jobs depending on the wording. Before you test anything, underline "must" or "could" in the stem.
Worked example: must be even
> For every integer n, which of the following must be even? Select all that apply.
- A. n² + n
- B. n² + 1
- C. 3n
- D. n(n + 1)(n + 2)
- E. 2n + 2
Choose values that expose different parities and signs: 0, 1, and a negative number. The code below tests every choice against a set of values and reports the first failure.
choices = {
"A": lambda n: n**2 + n,
"B": lambda n: n**2 + 1,
"C": lambda n: 3 * n,
"D": lambda n: n * (n + 1) * (n + 2),
"E": lambda n: 2 * n + 2,
}
tests = [0, 1, 2, -1, -2, 5, -5]
for label, f in choices.items():
failures = [n for n in tests if f(n) % 2 != 0]
if failures:
print(label, "eliminated by n =", failures[0])
else:
print(label, "survives all tests")The output is:
A survives all tests
B eliminated by n = 0
C eliminated by n = 1
D survives all tests
E survives all testsTwo values did all the eliminating. Choice B fails at n = 0 because 0² + 1 = 1. Choice C fails at n = 1 because 3 is odd. Choices A, D, and E survived, but surviving does not prove them. A quick structural check confirms each one:
- A: n² + n = n(n + 1) is a product of consecutive integers, so one factor is even.
- D: three consecutive integers contain at least one even number.
- E: 2n + 2 = 2(n + 1) is twice an integer.
The answer is A, D, and E.
A fraction example
> If 0 < x < 1, which of the following must be less than x? Select all that apply.
- A. x²
- B. √x
- C. 1/x
- D. x³
- E. x/2
Integers and large numbers are useless here, because the stem confines x to the interval between 0 and 1. Try x = 1/2:
| Choice | Value at x = 1/2 | Less than 1/2? |
|---|---|---|
| A. x² | 0.25 | Yes |
| B. √x | about 0.707 | No, eliminated |
| C. 1/x | 2 | No, eliminated |
| D. x³ | 0.125 | Yes |
| E. x/2 | 0.25 | Yes |
For the survivors, run a second value that is much closer to 0 or to 1, such as x = 0.9 or x = 0.01. Choices A, D, and E still hold. The algebra explains why: multiplying x by a number between 0 and 1 makes it smaller, and x², x³, and x/2 are all x times such a number. The answer is A, D, and E.
Common select-all mistakes
- Selecting after one passing test. In a "must" question, one value that works does not show that a choice always works. Look for a counterexample, or give a reason.
- Using test values that are too similar. If you only try 2, 4, and 6, every choice that depends on parity looks the same. Mix even and odd, positive and negative, zero and nonzero.
- Assuming a fixed number of answers. A select-all question can have one correct choice, several, or all of them. Do not stop once you have found two.
- Breaking a constraint. A value that violates the stem proves nothing. If the stem says n is a positive integer, n = 0 is not a legal test.
- Judging choices by comparison. Do not drop a choice because it looks similar to one you already rejected. Test each one on its own.
Numeric entry: plug in only when the answer does not depend on your number
A numeric entry question gives you no choices to backsolve from, so plugging in is mostly a way to turn a vague problem into arithmetic. The usual cases are percent and ratio problems where the problem says "a price" or "a number" without giving a value. The earlier chapter on starting with 100 applies directly.
> A price is raised by 25 percent. By what percent must the new price then be reduced to return to the original price? Enter the answer as a percent.
Start at 100. The raised price is 125. To get back to 100, the price must drop by 25. That 25 is measured against the current price of 125, so the percent decrease is 25/125 = 20 percent.
You can check that the result does not depend on the starting value by running a second one:
from fractions import Fraction
for start in (Fraction(100), Fraction(250)):
raised = start * Fraction(125, 100)
needed = (raised - start) / raised * 100
print(start, needed)Both lines print a needed decrease of 20. The starting values were 100 and 250, and the answer did not move. That is the test for whether plugging in is valid.
Entry-format details that cost points
- Units. If the question asks for a percent, type 20, not 0.2.
- Rounding. If the stem says "round to the nearest tenth," follow it. Do not enter extra decimal places.
- Fractions. When the screen shows two boxes, put the numerator in the top box and the denominator in the bottom box. Check the sign: the negative sign goes in front of the numerator.
- Reasonableness. Before you submit, ask whether the magnitude makes sense. A decrease after a 25 percent rise should be below 25 percent, and 20 is.
When the stem pins down the number
Some numeric entry problems have variables that look open but are constrained enough to give one value. Example: "If n is a positive integer and n² < 30 < (n + 1)²... " The approach is a short search. List the legal values in order, evaluate the condition, and stop when it is satisfied. The same applies to simple Diophantine cases like "if x and y are positive integers and 3x + 2y = 11, what is the largest possible value of x?" List legal values of x (1, 2, 3), compute y each time, and keep the largest that gives a positive integer y. Here x = 3 gives y = 1, so the answer is 3. Systematic testing replaces algebra, as long as the list of legal values is short.
Managing time and effort
Select-all questions can take longer than they look, because each of the five choices needs its own work. A practical budget:
- Spend about 30 seconds per choice on the first pass. If a choice needs several tests, mark it and come back.
- Run one test value across all choices at once, as the code above does, instead of fully analyzing one choice and then the next. The first value often eliminates two or three choices.
- Reserve algebra for the survivors. They need a reason, not more numbers.
- If three or four distinct values have not separated the choices, switch to algebra on the whole set.
What testing does and does not settle
Testing disproves reliably. It proves only when the set of possible values is small enough to list entirely, or when you add an algebraic argument. In select-all questions, a surviving choice is a candidate, not a confirmed answer. In numeric entry questions, a plug-in result is valid only if the answer is independent of the value you chose. The next chapter treats this limit directly.
Exercise
For every integer k, which of the following must be odd? Select all that apply. (A) 2k + 1, (B) k² + k + 1, (C) k², (D) 3k + 1, (E) k³ + k.
Show answer
A and B. Test k = 0: A gives 1 (odd), B gives 1 (odd), C gives 0 (even, eliminated), D gives 1 (odd), E gives 0 (even, eliminated). Test k = 1: D gives 4 (even, eliminated). A and B survive. For A, 2k is even, so 2k + 1 is odd. For B, k² + k = k(k + 1) is always even, so adding 1 makes it odd.
Exercise
A price is reduced by 20 percent. By what percent must the sale price then be increased to return to the original price? Enter the answer as a percent.
Show answer
25. Start at 100. After the 20 percent reduction the price is 80. To return to 100, add 20. Measured against 80, that is 20/80 = 25 percent. Starting at any other value, such as 250, gives the same result, which confirms that plugging in is valid here.
Exercise
In a "must be true" select-all question, you test a choice with x = 3 and it holds. Why is that not enough to select it, and what should you do next?
Show answer
One passing value shows only that the choice is not ruled out. It could fail at 0, at a negative number, at a fraction between 0 and 1, or at a large value. Test values from those categories that the stem allows, and confirm the choice with algebra or a structural argument before selecting it.