• edited by
8,488 views
26 26 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$

3 Answers

Best answer
49 49 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
1 1 vote

 

  •  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 –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:
Position:
Show:

Related questions

50 50 votes
4 answers 4 answers
16.0k
16.0k views
Ishrat Jahan asked Nov 1, 2014
15,995 views
Let $R_{1}$ be a relation from $A = \left \{ 1,3,5,7 \right \}$ to $B = \left \{ 2,4,6,8 \right \}$ and $R_{2}$ be another relation from $B$ to $C = \{1, 2, 3, 4\}$ as de...
32 32 votes
8 answers 8 answers
10.4k
10.4k views
Ishrat Jahan asked Nov 2, 2014
10,375 views
In the TCP/IP protocol suite, which one of the following is NOT part of the IP header?Fragment OffsetSource IP addressDestination IP addressDestination port number
49 49 votes
7 answers 7 answers
18.5k
18.5k views
Ishrat Jahan asked Nov 2, 2014
18,477 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$
57 57 votes
6 answers 6 answers
19.5k
19.5k views
Ishrat Jahan asked Nov 2, 2014
19,461 views
Consider the following C program which is supposed to compute the transpose of a given $4 \times 4$ matrix $M$. Note that, there is an $X$ in the program which indicates ...