in Quantitative Aptitude edited by
600 views
3 votes
3 votes

In the passing out batch, $54$ students know Java, $39$ know Python and $43$ know C++. Of these, $15$ know both Java and Python, $17$ know both Python and C++ and $23$ know both Java and C++ and $11$ know all three languages. If there are $100$ students in the class, how many know none of these three languages?

  1. $3$
  2. $8$
  3. $17$
  4. $19$
in Quantitative Aptitude edited by
600 views

2 Answers

3 votes
3 votes
Best answer
Let $J$ denote the set of of students knowing Java and similarly $P$ and $C$. Now,

$JPC = J + P + C - JP - PC - JC + JPC \\= 54 + 39 + 43 - 15 - 17 - 23 + 11 \\= 92.$

$JPC$ gives the no. of students knowing at least one of Java, Python or C++. So, no. of students not knowing any of these languages
$=100 - 92 = 8.$

Correct Answer: $B$
edited by
by
0 votes
0 votes

Answer:

 

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true