Which one of the following propositional logic formulas is TRUE when exactly two of p,q and r are TRUE?
A
((p↔q)∧r)∨(p∧q∧∼r)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(∼(p↔q)∧r)∨(p∧q∧∼r)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
((p→q)∧r)∨(p∧q∧∼r)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
(∼(p↔q)∧r)∨(p∧q∧∼r)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B(∼(p↔q)∧r)∨(p∧q∧∼r) Option (b) is (∼(p↔q)∧r)∨(p∧q∧∼r) ≡((p⨁q)r)+pqr′≡(pq′+p′q)r+pqr′ ≡pq′r+p′qr+pqr′≡pqr′+pq′r+p′qr
This is exactly the min-term from of a logical formula which is true when exactly two variables are true ( only p,q true or only p, r true or only q, r true.)