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
- Translate ∀x ∃y (x < y) into English, considering the domain as real numbers for both variables.
- What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by eith…
- If the universe of discourse is all real numbers, which of the following are true? (A) ∃x ∀y (x + y = y) (B) ∀x ∀y (((x ≥ 0) ∧ (y < 0)) → (…
- If the universe of discourse is the set of integers, which of the following are TRUE? (A) ∀n ∃m (n² < m) (B) ∃n ∀m (n < m²) (C) ∃n ∀m (nm =…
- If N² = N × N, where N is the set of natural numbers, and R is a relation on N² such that ⟨x, y⟩ R ⟨u, v⟩ ⇔ xv = yu, which of the following…
- Which of the following are tautologies? (A) (P → (P → Q)) → (P → Q) (B) ((P → Q) → Q) → (P ∨ Q) (C) ((P ∨ ¬P) → Q) → ((P ∨ ¬P) → R) (D) (Q…