A program on a computer

2024 Handbook

2024 Test A Math · Question 15 of 57

Question

A program on a computer randomly generates a sequence of whole numbers from 1 to 9, inclusive. If the computer generates a sequence of 300 numbers, what is the best prediction of the number of odd numbers in the sequence?

  • A120
  • B133
  • C150
  • D167
Show the answer

Correct answer: D

There are five odd numbers in the range 1 through 9: 1, 3, 5, 7, and 9.

So the proportion of odd numbers in the range 1 through 9 is 59\frac{5}{9}.

The expected number of odd values in the sequence from the computer program is

300∙59=166.66.300 \bullet \frac{5}{9} = 166.\overline{66}.

So the best prediction for the number of odd numbers in the sequence is 167.

Question analysis

A probability question: a computer randomly generates 300 whole numbers from 1 to 9, and students predict how many will be odd. It asks students to find the probability of an odd number and use it to predict a count. Counting carefully which of the nine numbers are odd, and rounding the prediction sensibly, are the points to watch.

NYS standards
  • 6.SP.7 long-run relative frequency
  • 6.SP.8a uniform probability models
Grade level
Grade 6 content, by NYS standard
Compared with grade 7
At grade 7 Using a probability to predict how often an event happens is grade 6 and 7 work. This takes two short steps plus a rounding decision, about the demand of a typical grade 7 probability task.
Estimated difficulty
Straightforward: two steps or one careful reading.
Solution
3 steps
Reading level
Question and choices: about grade 11, 37 words.
Students, last 30 days
Not enough answers yet to show (it takes 10).
Why it is hard, traps and wrong answers (shows the answer)

Why it is hard

The method is short, a probability times 300, so the question is decided by the probability. Odd and even feel like an even split, and half of 300 is a listed choice, but the numbers 1 to 9 hold five odd and four even. Listing the nine numbers before computing removes the trap, and the result, about 167, then needs only rounding.

  1. Turning words into math minor Understanding the question

    The phrase "whole numbers from 1 to 9, inclusive" means nine equally likely values, five of them odd, so the chance of odd is 5/9, not the one half that odd and even suggest. (Hegarty, Mayer & Monk, 1995; Koedinger & Nathan, 2004)

  2. Something you must already know minor Working it out

    The stem never says that an expected count is the probability times the number of trials, here 5/9 of the 300 numbers generated. (Anderson & Krathwohl, 2001)

  3. Error-prone arithmetic minor Working it out

    The product 300 × 5/9 is 166.67, not a whole number, so the prediction has to be rounded to the nearest whole number. (Brown & Burton, 1978; Junker & Sijtsma, 2001)

Strategy: Count the odd numbers from 1 to 9, write the probability as that count over 9, and multiply by 300, rounding to the nearest whole number.

Traps

  • Misunderstands the concept: A wrong belief about a concept: that percents can be added, that area grows like length, that averages can be averaged, that a bigger denominator means a bigger fraction.
  • Answers a different question: A choice is right for another quantity: the other unknown, the rest instead of the part, the part instead of the whole.

The wrong answers, classified

How the questions are analyzed, and the research behind it

Worked solution, step by step

Formulas used

Probability
P=wanted resultspossible resultsP = \frac{\text{wanted results}}{\text{possible results}}
P is the probability, the chance that something happens. Possible results are all the results that are equally likely. Wanted results are the ones you are looking for. The chance is the fraction of the results that you want.
Expected count
E=P×nE = P \times n
E is the expected count, your best guess of how many times something will happen. P is its probability, and n is the number of tries. If something happens 5 times out of 9, it should happen about 5 ninths of the time in many tries.
  1. Sort out the question

    The computer picks whole numbers from 1 to 9. Inclusive means 1 and 9 count too. Randomly means each number has the same chance. It picks 300 numbers. You need the best guess of how many of them are odd.

  2. Count the odd numbers

    An odd number does not split evenly by 2. From 1 to 9, the odd numbers are 1, 3, 5, 7 and 9. That is 5 of the 9 numbers. The even ones, 2, 4, 6 and 8, are only 4. Watch out: odd and even are not equally likely here, since there is one more odd number. Taking half of 300 gives 150, choice C.

  3. Find the chance of odd

    P=wanted resultspossible resultsP = \frac{\text{wanted results}}{\text{possible results}}

    P=59P = \frac{5}{9}

    Each number the computer picks has a 5 in 9 chance of being odd. Watch out: do not use the 4 even numbers. That gives about 133, choice B.

  4. Multiply by the 300 numbers

    E=P×nE = P \times n

    E=59×300=15009≈166.7E = \frac{5}{9} \times 300 = \frac{1500}{9} \approx 166.7

    The sign ≈ means about. You can’t have part of a number, so round to the nearest whole number. 166.7 is closer to 167 than to 166. So the answer is D, 167.

Check your answer

The odd numbers are a bit more than half of the nine. So the answer should be a bit more than half of 300, which is 150. Only 167 is a bit more than 150. Also, 167 odd plus about 133 even makes 300.

The original DOE question

Question 72 as printed on page 79 of the DOE handbook.
As printed in the DOE’s NYC Guide to the Specialized High Schools Admissions Test (SHSAT) for 2025 Admissions, page 79, question 72. Open page 79 of the handbook (PDF) The handbook letters this question’s choices E–H; here they are A–D (E = A, F = B, G = C, H = D).