edited by
8,589 views
34 votes
34 votes

The binary operation $\Box$ is defined as follows

$$\begin{array}{|c|c|c|} \hline \textbf{P} & \textbf{Q} & \textbf{P} \Box \textbf{Q}\\\hline \text{T} & \text{T}& \text{T}\\\hline \text{T} & \text{F}& \text{T} \\\hline \text{F} & \text{T}& \text{F}\\\hline \text{F} & \text{F}& \text{T} \\\hline \end{array}$$

Which one of the following is equivalent to $P \vee Q$?

  1.    $\neg Q \Box \neg P$
  2.    $P\Box \neg Q$
  3.    $\neg P\Box Q$
  4.    $\neg P\Box \neg Q$
edited by

8 Answers

2 votes
2 votes
Clearly,

$P\ \square \ Q \equiv Q\rightarrow P \equiv Q' \vee P$

according to the given truth table.

A. $Q' \ \square \ P' \ \equiv \ P' \rightarrow Q' \equiv (P')' \vee Q' \equiv P \vee Q'$

B. $P \ \square \ Q' \ \equiv \ Q' \rightarrow P \equiv (Q')' \vee P \equiv {\color{Green} {Q \vee P}}$

C. $P' \ \square \ Q \ \equiv \ Q \rightarrow P' \equiv Q' \vee P'$

D. $P' \ \square \ Q' \ \equiv \ Q' \rightarrow P' \equiv (Q')' \vee P' \equiv Q \vee P'$

So, Option (B) is correct.
1 votes
1 votes

From the truth table we can get that $P\;\square\;Q\;is \;Q\rightarrow P$. So the options will be-

A.  $\neg P\rightarrow\neg Q\equiv\;\neg(\neg P)\vee\neg Q\;\equiv P\vee\neg Q$    $(\because P\rightarrow Q\equiv \neg P\vee Q)$

B.  $\neg Q\rightarrow P\;\equiv\;\neg(\neg Q)\vee P\;\equiv\;$ $P\vee Q$  (correct option)

 

1 votes
1 votes
$\begin{array}{|c|c|c|} \hline \textbf{P} & \textbf{Q} & \textbf{P} \Box \textbf{Q}\\\hline \text{T} & \text{T}& \text{T}\\\hline \text{T} & \text{F}& \text{T} \\\hline \text{F} & \text{T}& \text{F}\\\hline \text{F} & \text{F}& \text{T} \\\hline \end{array}$

From the truth table, $ P\Box Q$ can be written as$P\Box Q = \left ( P\wedge Q \right ) \vee \left ( P\wedge \sim Q \right ) \vee \left ( \sim P \vee \sim Q \right )\\ =P\wedge \left ( Q\vee \sim Q \right ) V (\sim P \wedge \sim Q )\\ =P \wedge True \vee (\sim P \wedge \sim Q )\\ =P \vee (\sim P \wedge \sim Q )\\ =\left ( P \vee \sim P \right ) \wedge \left ( P \vee \sim Q \right )\\ = True\wedge \left ( P \vee \sim Q \right ) \\= \left ( P \vee \sim Q \right )$

A.  $\neg Q \Box \neg P\equiv \sim Q \vee \sim\left ( \sim P \right ) \equiv \sim Q \vee P$

B.$\ P \Box \neg Q\equiv \ P\vee \sim\left ( \sim Q \right ) \equiv P \vee Q$

$\therefore$Answer is Option B

 

Answer:

Related questions

40 votes
40 votes
8 answers
1
28 votes
28 votes
7 answers
2
23 votes
23 votes
3 answers
3
Kathleen asked Sep 22, 2014
13,849 views
Consider a binary max-heap implemented using an array.Which one of the following array represents a binary max-heap?$\left\{25,12,16,13,10,8,14\right\}$ $\left\{25,14,...