edited by
5,370 views
22 votes
22 votes

In a class of $200$ students, $125$ students have taken Programming Language course, $85$ students have taken Data Structures course, $65$ students have taken Computer Organization course; $50$ students have taken both Programming Language and Data Structures, $35$ students have taken both Programming Language and Computer Organization; $30$ students have taken both Data Structures and Computer Organization, $15$ students have taken all the three courses.

How many students have not taken any of the three courses?

  1. $15$
  2. $20$
  3. $25$
  4. $30$
edited by

3 Answers

Best answer
42 votes
42 votes

The question has a slight misprint. It should be what Bhagirathi says in the comments.

Nevertheless,

 $\small \Bigl | A \cup B \cup C \Bigr | = |A| + |B| + |C| - \Bigl | A \cap B \Bigr | - \Bigl | A \cap C \Bigr | - \Bigl | B \cap C \Bigr | + \Bigl | A \cap B \cap C \Bigr |$

  • $A \equiv $ Students who have taken Programming.
  • $B \equiv $ Students who have taken Data Structures.
  • $C \equiv $ Students who have taken Computer Organisation.

So, the number of students who have taken any of the $3$ courses is given by:

$| A \cup B \cup C| = |A| + |B| + |C| -| A \cap B | - | A \cap C| - | B \cap C | + | A \cap B \cap C|$

$ \qquad\qquad\quad \;= 125 + 85 + 65 - 50 - 35 - 30 + 15= 175$

Therefore, the number of students who haven't taken any of the $3$ courses is: $200 - 175 = 25$

Hence, the answer is Option C.

edited by
0 votes
0 votes

 

  •  A=Students who have taken Programming.
  • B= Students who have taken Data Structures.
  • C= Students who have taken Computer Organisation.

P(AUBUC)=P(A)+P(B)+P(C)- P(A∩B)-P(A∩C)- P(B∩C)+P(A∩B∩C)

125+85+65-50−35−30+15 =175

No of students not taking any courses-> 200−175=25

So C is the Answer.

😊😊😊😊😊😊😊😊😊😊😊😊

–3 votes
–3 votes

If we consider "35 students have taken both Programming language and Computer Organization; 30 students have taken both Data Structures and Computer Organization" then, correct ans is 25.

Option (C)25, is the correct answer.

Answer:

Related questions

41 votes
41 votes
6 answers
2
Ishrat Jahan asked Nov 2, 2014
11,824 views
A process executes the following segment of code :for(i = 1; i <= n; i++) fork ();The number of new processes created is$n$$((n(n + 1))/2)$$2^n - 1$$3^n - 1$
23 votes
23 votes
4 answers
4
Ishrat Jahan asked Nov 2, 2014
4,857 views
Which one of the following binary trees has its inorder and preorder traversals as $BCAD$ and $ABCD$, respectively?