GATE / CS ARCHIVE

GATE CSE 2015 SET 3 / QUESTION 16

GATE CSE 2015 Set 3 Q16

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2015 Set 3 paper

GATE 2015 Set 3, Q16 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 16, GATE 2015: For Boolean variables define X#Y=X′+Y′, where prime means NOT and + means OR. Consider S1: (P#Q)#R=P#(Q#R); S2: Q#R=R#Q. Which holds for all Boolean P,Q,R? (A) only S1; (B) only S2; (C) both; (D) neither.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. By De Morgan, X′+Y′=NOT(XY). For the counterexample, 0#1=1 and 1#1=0, so the left grouping is 1#1=0 while the right grouping is 0#0=1.

2. X#Y=¬X+¬Y is NAND and is commutative. It is not associative: P=0, Q=1, R=1 gives(P#Q)#R=0 while P#(Q#R)=1. Thus only S2, B.

Original paper, page 58 · Answer key