Reasoning · JKSSB Social Forestry Worker Question Paper 2026 · Last updated:

View the full solved paper: JKSSB Social Forestry Worker Question Paper 2026

In a software firm of 200 developers, everyone knows at least one language: Python (P), Java (J), and C++. The number of developers who know only Python is equal to the number of developers who know only Java. 30 developers know only C++. Exactly 10 developers know all three languages. 35 developers know both Python and Java, 25 know both Java and C++, and 30 know both Python and C++. What is the total number of developers who know Python?

  1. A. 50
  2. B. 85
  3. C. 105 (Correct answer)
  4. D. 115

Correct Answer

Option C — 105

Detailed Solution & Explanation

Let Only Python = Only Java = k. Exclusive pairwise intersections are Only(P∩J) = 35 − 10 = 25, Only(J∩C++) = 25 − 10 = 15, and Only(P∩C++) = 30 − 10 = 20. Summing all 7 disjoint regions to 200 gives k + k + 30 + 25 + 15 + 20 + 10 = 200, so 2k = 100 and k = 50. Total Python developers = 50 + 25 + 20 + 10 = 105.

Topics covered: Venn Diagrams Set Theory