edited by
6,305 views
25 votes
25 votes

The binary operator $\neq$ is defined by the following truth table.

$$\begin{array}{|l|l|l|} \hline \textbf{p} & \textbf{q}& \textbf{p} \neq \textbf{q}\\\hline \text{0} & \text{0}& \text{0}\\\hline \text{0} & \text{1}& \text{1}\\\hline \text{1} & \text{0}& \text{1}\\\hline \text{1} & \text{1}& \text{0}\\\hline   \end{array}$$

Which one of the following is true about the binary operator $\neq$ ?

  1. Both commutative and associative
  2. Commutative but not associative
  3. Not commutative but associative
  4. Neither commutative nor associative
edited by

2 Answers

Best answer
28 votes
28 votes
option A :  as it is XOR operation
selected by
6 votes
6 votes

The binary operator ≠ is EXOR (⊕) operator.And  EXOR (⊕) operator is Commutative as well as Associative.

The correct answer is (A)Both commutative and associative

Answer:

Related questions

33 votes
33 votes
3 answers
1