# GATE Papers >> CSE >> 2015 >> Question No 40

Question No. 40

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

 p q p$\ne$q 0 0 0 0 1 1 1 0 1 1 1 0

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

##### Answer : (A) Both commutative and associative

Solution of Question No 40 of GATE 2015 CSE Paper

The given truth table corresponds to p'q + pq' = p $\oplus$ q.

$\oplus$ is known to be both commutative and associative.