Skip to content
Official PYQ · 2010

GATE CS 2010 Q59 — General Aptitude

Explain with AI

2525 persons are in a room. 1515 of them play hockey, 1717 of them play football and 1010 of them play both hockey and football. Then the number of persons playing neither hockey nor football is:

Choose one option
View worked solution

Answer: D

We can solve this problem using the principle of inclusion-exclusion for two sets.

Let:

  • UU be the universal set of all persons in the room, so n(U)=25n(U) = 25.
  • HH be the set of persons who play hockey, so n(H)=15n(H) = 15.
  • FF be the set of persons who play football, so n(F)=17n(F) = 17.
  • H∩FH \cap F be the set of persons who play both sports, so n(H∩F)=10n(H \cap F) = 10.

First, we find the number of persons who play at least one of the two sports, which is represented by n(H∪F)n(H \cup F):

n(H∪F)=n(H)+n(F)−n(H∩F)n(H \cup F) = n(H) + n(F) - n(H \cap F)n(H∪F)=15+17−10=22n(H \cup F) = 15 + 17 - 10 = 22

The number of persons who play neither hockey nor football is the complement of this union within the universal set:

n(neither)=n(U)−n(H∪F)n(\text{neither}) = n(U) - n(H \cup F)n(neither)=25−22=3n(\text{neither}) = 25 - 22 = 3

Therefore, the number of persons playing neither sport is 3.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions