All Exams Test series for 1 year @ ₹349 only
Question

In a class of 65 students, 20 students like only maths, 25 students like only English and 15 students like both English and maths. 8 students like computer and 3 students like all three subjects. There are no students who like Computers and English. Also, there are no students who like Maths and Computers. How many students like only computer?

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper (8-Mar-2021) (Shift 2)
The correct answer is
5

Finding Students Who Like Only Computer

The problem asks us to determine the number of students who like only Computer given information about student preferences for Maths, English, and Computer.

Given Information Summary

We are provided with the following details about a class of 65 students:

  • Total students: 65
  • Students liking only Maths: 20
  • Students liking only English: 25
  • Students liking Maths and English: 15
  • Total students liking Computer: 8
  • Students liking all three subjects (Maths, English, Computer): 3
  • Students liking Computers and English: 0
  • Students liking Maths and Computers: 0

Analysis of Computer Subject Preferences

Let M represent Maths, E represent English, and C represent Computer.

We are given key constraints:

  • The number of students liking Maths and Computers is zero: $ |M \cap C| = 0 $.
  • The number of students liking Computers and English is zero: $ |C \cap E| = 0 $.

These constraints imply that there are no students who like Maths and Computer together (regardless of English preference), and no students who like English and Computer together (regardless of Maths preference).

Specifically, the number of students liking exactly two subjects involving Computer is zero:

  • Students liking Maths and Computer only: $ |M \cap C \setminus E| = 0 $.
  • Students liking English and Computer only: $ |E \cap C \setminus M| = 0 $.

Calculating Only Computer Students

The total number of students who like Computer ($ |C| $) is composed of four distinct groups:

  1. Students liking only Computer ($ |C \setminus (M \cup E)| $).
  2. Students liking Maths and Computer only ($ |M \cap C \setminus E| $).
  3. Students liking English and Computer only ($ |E \cap C \setminus M| $).
  4. Students liking all three subjects ($ |M \cap E \cap C| $).

We can write this as an equation:

$ |C| = |C \setminus (M \cup E)| + |M \cap C \setminus E| + |E \cap C \setminus M| + |M \cap E \cap C| $

Substituting the known values:

  • $ |C| = 8 $
  • $ |M \cap C \setminus E| = 0 $
  • $ |E \cap C \setminus M| = 0 $
  • $ |M \cap E \cap C| = 3 $

Plugging these into the equation:

$ 8 = |C \setminus (M \cup E)| + 0 + 0 + 3 $

Now, we solve for the number of students who like only Computer ($ |C \setminus (M \cup E)| $):

$ 8 = |C \setminus (M \cup E)| + 3 $ $ |C \setminus (M \cup E)| = 8 - 3 $ $ |C \setminus (M \cup E)| = 5 $

Therefore, 5 students like only Computer.

Verification (Optional)

We can verify this by calculating the total number of students accounted for:

  • Only Maths: 20
  • Only English: 25
  • Only Computer: 5
  • Maths and English only ($ |M \cap E| - |M \cap E \cap C| = 15 - 3 $): 12
  • Maths and Computer only: 0
  • English and Computer only: 0
  • All three subjects: 3

Total accounted for = $ 20 + 25 + 5 + 12 + 0 + 0 + 3 = 65 $. This matches the total number of students in the class.

Was this answer helpful?

Similar Questions

  1. Select the Venn diagram that best represents the relationship between man, smokers and cricketers.

    A)

     

    B)

     

    C)

     

    D)

  2. In a group of people, 8 persons like only Goa and 9 persons like only Dubai. There is only one person who likes only Agra. 10 persons like both Goa and Agra while 2 persons like both Dubai and Goa. There is no such person who likes both Agra and Dubai and there is no one in the group who likes all three. How many total persons are there in the group?
  3. Select the Venn diagram that best represents the relationship between the given set of classes.

    Citizens, Moon, Grains


     

  4. Select the Venn diagram that best represents the relationship between mother, father and women.

    A)

     

    B)

     

    C)

     

    D)

  5. Select the Venn diagram that best represents the relationship between words, letters and sentence.

    A)

     

    B)

     

    C)

     

    D)

  6. In a group of 35 persons, 20 are young and 18 are girls. How many young girls are there in the group?
  7. Study the diagram and identify the region representing teachers who are Chinese but not Indian.

  8. Study the diagram and identify the region representing teachers who are Indian and Chinese.

  9. Study the diagram and identify the region representing teachers who are Indian but not Chinese.

  10. Select the Venn diagram that best represents the relationship of the classes:
    papaya, fruit, potato


Important Questions from Venn Diagram

  1. The following Venn diagram shows people’s liking for Tea, Coffee, and Soup. How many people like tea and coffee both?

  2. How many squares are there in the square figure ABCD?

  3. Identify the diagram that best represents the relationship among classes given below: Men, Rodents and living beings

  4. In an examination, 45 percent of students passed in history and 60 percent of students passed in Hindi. If 8 percent of students failed in both subjects, then what percentage of students passed in both subjects?

  5. In a company of 1000 employees, 760 can speak Hindi and 430 can speak English. How many people can speak only Hindi, only English and both Hindi and English, respectively?

Need Expert Advice?
Upcoming Exams
RRB ALP
July 28, 2026
RRB Group D
August 03, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1459 Tests 2 Tests Free
215 Attempts
4.3(512)
English, Hindi, Telugu +7 More

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App