Final answer:
In a class of 20 boys, 8 students play both soccer and hockey.
Step-by-step explanation:
- 16 boys play soccer
- 12 boys play hockey
- 2 boys are not allowed to play games
- To find the number of students who play both soccer and hockey, we can subtract the number of students who only play soccer and the number of students who only play hockey from the total number of students:
- Total number of boys = 20
- Number of boys who play soccer = 16
- Number of boys who play hockey = 12
- Number of boys who only play soccer = 16 - 12 = 4
- Number of boys who only play hockey = 12 - 4 = 8
- Number of boys who play both soccer and hockey = Total number of boys - Number of boys who only play soccer - Number of boys who only play hockey = 20 - 4 - 8 = 8
Therefore, 8 students play both soccer and hockey. So, the answer is a) 8 students.