Placement AptitudeVery hardProduct company OA · CAT LRDI level
In a batch of 120 students, every student knows at least one of Java, Python and C. 80 know Java, 70 know Python and 60 know C. What is the greatest possible number of students who know all three languages?
- A. 60
- B. 40
- C. 45
- D. 30
Correct answer: C. 45
Count language-memberships: 80 + 70 + 60 = 210 among 120 students, so the 'extra' memberships are 90 = (number knowing exactly two) + 2 × (number knowing all three). To maximise those knowing all three, make nobody know exactly two: 2t = 90, t = 45. This is achievable: 35 know only Java, 25 only Python, 15 only C, 45 all three (35 + 25 + 15 + 45 = 120). 60 (the smallest set) ignores that everyone must know at least one language; 30 divides 90 by 3.
Practise more Logical Reasoning for Placements questionsLogical Reasoning for Placements: notes and key points
More Logical Reasoning for Placements questions
- Each of 200 readers reads at least one of three newspapers X, Y and Z. X has 170 of these readers, Y 160 and Z 150. If m and M are the…
- In a survey of 100 people about three apps X, Y and Z: 72 use X, 65 use Y, 57 use Z, 10 use none of them, and exactly 30 use exactly two…
- Two players take turns removing coins from a single pile. On each turn a player must remove exactly 1, 3 or 4 coins, and the player who…
- In a game, two players alternately remove 2, 3 or 5 coins from a pile. A player who cannot make a move (fewer than 2 coins left) loses…
- Of A, B and C, one is a truth-teller (both statements true), one is a liar (both statements false) and one is an alternator (exactly one…
- After a race among P, Q, R and S (no ties), each made two statements, exactly one of which is true. P: "I finished 3rd. Q finished 3rd."…