Let us assume that you construct ordered tree to represent the compound proposition (~(p ∧ q)) ↔ (~p ∧ ~ q). Then, the prefix expression and post-fix…
Let us assume that you construct ordered tree to represent the compound proposition (~(p ∧ q)) ↔ (~p ∧ ~ q). Then, the prefix expression and post-fix expression determined using this ordered tree are given as ............ and ............. respectively.
Show answerHide answer
Correct answer: (B) ↔~∧pq∧~p~q, pq∧~p~q~∧↔
Explanation
The root is ↔, its left subtree is ~(p ∧ q) and its right subtree is (~p ∧ ~q). Prefix: ↔~∧pq∧~p~q Postfix: pq∧~p~q~∧↔ Option (b) is the answer.