Question #268664

Construct a truth table for each of these compound propositions. [6 marks]

a) p p b) p ⊕¬p

c) p ⊕¬q d) p ⊕¬q

e) (p q) (p ⊕¬q) f ) (p q) (p ⊕¬q)




1
Expert's answer
2021-11-22T05:44:08-0500

Let us construct the trush table for the following compound propositions:

a) ppp ⊕ p


ppp0010\begin{array}{||c||c|c|c|c|c||} \hline\hline p & p ⊕p \\ \hline\hline 0 & 0 \\ \hline 1 & 0\\ \hline\hline \end{array}


b) p¬pp ⊕\neg p


p¬pp¬p011101\begin{array}{||c||c|c|c|c|c||} \hline\hline p & \neg p & p ⊕ \neg p \\ \hline\hline 0 & 1 & 1 \\ \hline 1 & 0 & 1\\ \hline\hline \end{array}


c) p¬qp ⊕\neg q


pq¬𝑞p¬q0011010010101101\begin{array}{||c|c||c|c|c|c||} \hline\hline p & q & \neg 𝑞 & p ⊕\neg q \\ \hline\hline 0 & 0 & 1 & 1 \\ \hline 0 & 1 & 0 & 0\\ \hline 1 & 0 & 1 & 0\\ \hline 1 & 1 & 0 & 1\\ \hline\hline \end{array}


d) ¬p¬q\neg p ⊕\neg q


pq¬𝑝¬q¬p¬q00110011011001111000\begin{array}{||c|c||c|c|c|c||} \hline\hline p & q & \neg 𝑝& \neg q & \neg p ⊕\neg q\\ \hline\hline 0 & 0 & 1 & 1 & 0\\ \hline 0 & 1 & 1 & 0 & 1\\ \hline 1 & 0 & 0 & 1 & 1\\ \hline 1 & 1 & 0 & 0 & 0\\ \hline\hline \end{array}


e) (pq)(p¬q)(p ⊕ q) ∨ (p ⊕\neg q)


pq¬qp¬qpq(pq)(p¬q)001101010011101011110101\begin{array}{||c|c||c|c|c|c||} \hline\hline p & q & \neg q & p ⊕\neg q & p ⊕ q & (p ⊕ q) ∨ (p ⊕\neg q) \\ \hline\hline 0 & 0 & 1 & 1 & 0 & 1\\ \hline 0 & 1 & 0 & 0 & 1 & 1\\ \hline 1 & 0 & 1 & 0 & 1 & 1\\ \hline 1 & 1 & 0 & 1 & 0 &1\\ \hline\hline \end{array}


f ) (pq)(p¬q)(p ⊕ q) \land (p ⊕\neg q)


pq¬qp¬qpq(pq)(p¬q)001100010010101010110100\begin{array}{||c|c||c|c|c|c||} \hline\hline p & q & \neg q & p ⊕\neg q & p ⊕ q & (p ⊕ q) \land (p ⊕\neg q) \\ \hline\hline 0 & 0 & 1 & 1 & 0 & 0\\ \hline 0 & 1 & 0 & 0 & 1 & 0\\ \hline 1 & 0 & 1 & 0 & 1 & 0\\ \hline 1 & 1 & 0 & 1 & 0 &0\\ \hline\hline \end{array}



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS