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

In a survey of 100 college students regarding three programming languages: 45 know Python, 55 know Java, and 40 know C++. It is found that 15 students know all three languages. Furthermore, 25 know both Python and Java, 20 know both Java and C++, and 20 know both Python and C++. How many students in this group do NOT know any of these three programming languages?

The correct answer is

10

Use the formula for the union of three sets:

\(n(P \cup J \cup C) = n(P) + n(J) + n(C) - n(P \cap J) - n(J \cap C) - n(P \cap C) + n(P \cap J \cap C)\)

= 45 + 55 + 40 − 25 − 20 − 20 + 15

= 140 − 65 + 15 = 90

So 90 students know at least one language, and those who know none = 100 − 90 = 10.

Hence, the answer is 10.

Was this answer helpful?

Similar Questions

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

  2. Identify the diagram that best represents the relationship among classes given below: Universe, Stars, Sun

  3. Which of the following diagram represents the relationship among Tall men, Black haired, Indians?

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

  5. In a village some of the goldsmiths are literates. Which diagram shows literate goldsmiths?

  6. Identify the diagram that best represents the relationship among classes given below

    Minutes, Days, Months.

  7. Consider the given statement/s to be true and decide which of the given conclusions/assumptions can definitely be drawn from the given statement.

     Statement:

     I. Nutritious food is delicious and good for health 

    II. Honey is nutritious.

    Conclusions: 

    I. Honey is good for health. 

    II. Delicious foods are nutritious.

  8. Identify the diagram that best represents the relationship among classes given below: North America, United States of America, New York.

  9. In the given figure, triangle represents the healthy, square represents the old, and circle represents the men. Find out the area of the figure which represents the “men who are healthy but not old”.

  10. Which of the answer figures best represents the relation between: Shirt, Garments, Clothes


Important Questions from Venn Diagram

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

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

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

  4. In the following diagram, A contains all the people who like chocolate, B contains all the people who like ice-cream and C contains all the people who like candy. What does the shaded area represent?

  5. Select the Venn diagram that best represents the relationship between the following classes.
    Ant, Insect, Fox, Mammal
Need Expert Advice?
Upcoming Exams
SSC CPO
November 23, 2026
SSC CHSL
November 30, 2026
SSC JE
November 30, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2509 Tests 6 Tests Free
9141 Attempts
4.2(952)
English, Hindi
More Questions from SSC CGL

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