All mock tests are FREE till 31 December — register to save your progress
Unit 1 · Discrete Structures and Optimization Paper 2 CS · June 2024 Re-Exam

40 software professionals were interviewed for a job. 25 knew PYTHON, 20 knew JAVA and 7 knew neither language. How many knew both languages?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 12

Explanation

Those knowing at least one = 40 − 7 = 33 = 25 + 20 − both, so both = 12.

More Discrete Structures and Optimization questions