...
UGC NET CS 2016 Aug- paper-2
October 29, 2023
Question 3550 – UGC NET CS 2016 Aug- paper-2
October 29, 2023
UGC NET CS 2016 Aug- paper-2
October 29, 2023
Question 3550 – UGC NET CS 2016 Aug- paper-2
October 29, 2023

Question 3549 – UGC NET CS 2016 Aug- paper-2

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.

Correct Answer: B

Question 2 Explanation: 
Step-1: Given compound proposition is
(~(p ∧ q))↔(~ p ∨ ~ q)
It is clearly specifying that
↔ is a root
(~(p ∧ q)) is left subtree
(~p ∨ ~q) is right subtree.
Step-2: Finally the tree is looks like

Step-3: Prefix operation traverse through Root,left and Right
↔~∧pq∨ ~ p~q
Step-4: Postfix operation traverse through Left,Right and Root.
pq∧~p~q~∨↔
A
↔~∧pq∨ ~ ~ pq, pq∧~p~q~∨↔
B
↔~∧pq∨ ~ p~q, pq∧~p~q~∨↔
C
↔~∧pq∨ ~ ~ pq, pq∧~p~~q∨↔
D
↔~∧pq∨ ~ p~ q, pq∧~p~ ~q∨↔
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!