A survey asked students what

2018 Handbook

2018 Test A Math · Question 4 of 57

Also in 2026 Practice Test A Math, question 4; 2025 Practice Test A Math, question 4.

Question

A survey asked students what pets they have. Based on the results, the following statements are all true.

  • 20 students have cats.
  • 23 students have dogs.
  • 3 students have both dogs and cats.
  • 5 students have no dogs or cats.

How many students were surveyed?

Grid-in question: work out the answer and enter it as a number.

Show the answer

Correct answer: 45

Let x = number of students with only cats as pets.

Let y = number of students with only dogs as pets.

Calculate x and y using the given information:

There are 20 students who have cats, and of those 20 students, 3 have both cats and dogs.

Thus,

x=20−3=17x=20-3=17

There are 23 students who have dogs, and of those 23 students, 3 have both cats and dogs.

Thus,

y=23−3=20y=23-3=20

To find the total number of students surveyed, add the number of students who only have cats (x), the number of students who only have dogs (y), the number of students who have both (3), and the number of students who have neither (5):

3+5+x+y=8+17+20=453+5+x+y=8+17+20=45

Question analysis

A grid-in counting question about a survey of students' pets: some have cats, some dogs, some both, and some neither. Students find how many were surveyed by sorting everyone into groups without counting anyone twice. The students who own both pets are the trap in this classic Venn diagram problem.

NYS standards
  • 7.SP.8b sample spaces for compound events
Grade level
Grade 7 content, by NYS standard
Compared with grade 7
At grade 7 Grade 7 classes organize outcomes in lists and tables, but overlapping groups like these are rarely taught directly. The arithmetic is simple whole-number addition and subtraction; the demand lies in spotting the double count.
Estimated difficulty
Moderate: several steps, or a close reading with one strong distractor.
Solution
3 steps
Reading level
Question and choices: about grade 3, 41 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 arithmetic is small; the trap is in the wording. Because each bullet reads like a separate group, students tend to add the numbers as listed and count the students with both pets twice. A Venn diagram with the overlap filled in first solves the problem, and the remaining risk is forgetting that students with no pets were surveyed too.

  1. Turning words into math moderate Understanding the question

    The statement "20 students have cats" already includes the 3 who have both pets, and so does "23 students have dogs", which the separate bulleted list hides. (Hegarty, Mayer & Monk, 1995; Koedinger & Nathan, 2004)

  2. Much to keep track of minor Working it out

    Four facts, two overlapping groups, their overlap and an outside group of 5 with neither pet, all have to be placed before anything is added. (Sweller, 1988; Carpenter, Just & Shell, 1990)

  3. An answer in an unexpected form minor Choosing the answer

    As a grid-in it gives no choices, so a total that counts the 3 twice or leaves out the 5 looks just as finished as the right one. (Enright, Morley & Sheehan, 2002)

Strategy: Draw two overlapping circles: put the both-pets group in the middle, subtract it from each pet total to fill the outer parts, then add every region and the students with neither.

Traps

The wrong answers, classified

How the questions are analyzed, and the research behind it

Worked solution, step by step

Formulas used

Counting two groups that overlap
T=C+D−B+NT = C + D - B + N
T is the total number of students. C is the number with cats, and D is the number with dogs. B is the number with both pets, and N is the number with neither. Students with both are counted in C and again in D, so you subtract B once. Then add N.
  1. Sort out the four facts

    You need the number of students who were surveyed. Here is what you know:

    • 20 students have cats.
    • 23 students have dogs.
    • 3 students have both dogs and cats.
    • 5 students have no dogs or cats.

    The tricky part: the 3 students with both pets are already inside the 20 and inside the 23.

  2. Split the pet owners into groups

    Picture two circles that overlap, one for cats and one for dogs. The overlap holds the 3 students with both pets. Take them out of each pet total to find who has only one kind of pet.

    20−3=1720 - 3 = 17

    So 17 students have only cats.

    23−3=2023 - 3 = 20

    So 20 students have only dogs.

  3. Add every group once

    Now every student is in exactly one group.

    GroupStudents
    Only cats17
    Only dogs20
    Both pets3
    Neither pet5

    17+20+3+5=4517 + 20 + 3 + 5 = 45

    The formula gives the same total.

    T=20+23−3+5=45T = 20 + 23 - 3 + 5 = 45

  4. Avoid the traps and answer

    Watch out: adding 20+23+520 + 23 + 5 counts the 3 students with both pets twice. That gives 48. Watch out: the 5 students with no pets were surveyed too. Leaving them out gives 40. Adding all four numbers in the list gives 51, which is also wrong. So you would grid 45.

Check your answer

Check each fact against your groups. Cat owners: 17+3=2017 + 3 = 20. Dog owners: 20+3=2320 + 3 = 23. Both: 3. Neither: 5. Every fact matches, so 45 students were surveyed.

The original DOE question

Question 61 as printed on page 81 of the DOE handbook.
As printed in the DOE’s Specialized High Schools Student Handbook 2018–2019, page 81, question 61. Open page 81 of the handbook (PDF)