GATE CS 2015, set 1 · Question 40 · Engineering Mathematics · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
The binary operator ≠ is defined by the following truth table.
Which one of the following is true about the binary operator ≠?
| p | q | p ≠ q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
- (A) Both commutative and associative
- (B) Commutative but not associative
- (C) Not commutative but associative
- (D) Neither commutative nor associative
Answer
Answer (A)
Answer from the official GATE CS 2015 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes