Truth table for system of four NAND gates as shown in figure is
A
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is D
As shown in logic diagram, P=¯¯¯¯¯¯¯¯AB Q=¯¯¯¯¯¯¯¯¯¯¯¯¯¯A.¯¯¯¯¯¯¯¯AB =¯¯¯¯A+AB R=¯¯¯¯¯¯¯¯¯¯¯¯¯¯B.¯¯¯¯¯¯¯¯AB R=¯B+AB ⇒y=¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯(¯A+AB).(¯B+AB) y=(=A.¯¯¯¯¯¯¯¯AB)+(B.¯¯¯¯¯¯¯¯AB)y=(A.¯¯¯¯¯¯¯¯AB)+(B.¯¯¯¯¯¯¯¯AB) y=[A(¯A+¯B)]+[B(¯A+¯B)] But A.¯A=0&+B.¯B=0 y=A¯B+B¯A ∴XOR gate And the truth table for XOR is