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? $15$ $20$ $25$ $30$ Set Theory & Algebra gateit-2004 set-theory&algebra easy set-theory + – Ishrat Jahan 8.5k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Bhagirathi commented Nov 20, 2014 reply Follow flag I think the question is wrong "35 students have taken both Data Structures and Computer Organization; 30 students have taken both Data Structures and Computer Organization" 16 16 replyShare legend_of_cse commented May 28 reply Follow flag This is the standard Inclusion-exclusion PrincipleImage source : (chatgpt) Let the three courses be:$P$: Programming Language$D$: Data Structures$C$: Computer OrganizationGiven data in Question Individual Course Counts:$$|P| = 125, \quad |D| = 85, \quad |C| = 65$$Pairwise Overlaps:$$|P \cap D| = 50, \quad |P \cap C| = 35, \quad |D \cap C| = 30$$Triple Overlap (All Three Courses):$$|P \cap D \cap C| = 15$$Total Universe (Total Students):$$\text{Total} = 200$$Apply the Principle of Inclusion–ExclusionThe number of students who took at least one course is given by the formula:$$|P \cup D \cup C| = |P| + |D| + |C| - |P \cap D| - |P \cap C| - |D \cap C| + |P \cap D \cap C|$$Substitute the given values into the formula:$$|P \cup D \cup C| = 125 + 85 + 65 - 50 - 35 - 30 + 15$$$$|P \cup D \cup C| = 275 - 115 + 15$$$$|P \cup D \cup C| = 175$$ Students Who Took None$$\text{Students who took none} = 200 - 175 = 25$$Therefore, the correct option is C. 25.$$\boxed{25}$$ 0 0 replyShare Please log in or register to add a comment.
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. Pragy Agarwal answered Dec 26, 2014 • edited Mar 26, 2021 by soujanyareddy13 Pragy Agarwal comment Share Follow See all 2 Comments 2 2 Comments reply Sachin Mittal 1 commented Jan 24, 2017 reply Follow flag venn diagram will also do. (may be proof of inclusion-exclusion follows from venn diagram, Not sure.) 5 5 replyShare Kiyoshi commented Dec 29, 2021 reply Follow flag yes sir, it can be proved from Venn diagram. Inclusion- exclusion if and only if Venn diagram. anyone can be proved from one another. 0 0 replyShare Please log in or register to add a comment.
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. 😊😊😊😊😊😊😊😊😊😊😊😊 akshay_123 answered Sep 14, 2023 akshay_123 comment Share Follow 0 reply Please log in or register to add a comment.
–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. Warrior answered Jul 29, 2017 Warrior comment Share Follow See all 3 Comments 3 3 Comments reply Thadymademe commented Aug 13, 2022 reply Follow flag This is beyond science!!!! 1 1 replyShare Pranavpurkar commented Oct 25, 2022 reply Follow flag haha! 0 0 replyShare pavansan commented Jan 11, 2025 reply Follow flag i am not getting what he is trying to say can u pls explain? @Thadymademe 0 0 replyShare Please log in or register to add a comment.