University of Engineering & Technology, Mardan Department of Computer Software Engineering SE-106 Computer Architecture & Logic Design SUBMITTED BY: SEMESTER: SECTION: BATCH: SUBMITTED TO: GROUP 1 2nd “A” 07 SIR ENGR. MUHAMMAD ISHAQ GROUP MEMBERS: MARYAM SYED:24MDSWE289 SARA JABEEN:24MDSWE290 UMRA SYED:24MDSWE296 ANOSHA SHAFI:24MDSWE304 SARA KALEEM:24MDSWE309 LAB 02: NAND, NOR, XOR & XNOR Gates Operation ACTIVITY 1: Observe and verify NAND and NOR gate operation according to the truth table of NAND and NOR gate respectively. NAND & NOR gate are known as universal gates as by their combination we can from other gates.They are formed formed combination of not with AND and OR gate to invert their output. NAND GATE: TRUTH TABLE: A B C 0 0 1 0 1 1 1 0 1 1 1 0 NOR GATE: TRUTH TABLE: A B C 0 0 1 0 1 0 1 0 0 1 1 0 ACTIVITY 2: Observe and verify XNOR gate operation according to the truth table of XNOR gate. XNOR GATE: XNOR is known as exclusive NOR gate. TRUTH TABLE: A B C 0 0 1 0 1 0 1 0 0 1 1 1 ACTIVITY 3: Construct XOR gate using only NAND gates. NAND gate being universal gate can form XOR by the combination of 4 NAND gates. XOR GATE: TRUTH TABLE: A B C 0 0 0 0 1 1 1 0 1 1 1 0 ACTIVITY 4: Construct XOR gate from not, and, or gates. XOR can be built by combining 2 NOT,2AND and 1 OR gate. A B = A.B’+A’.B XOR GATE: TRUTH TABLE: A B C 0 0 0 0 1 1 1 0 1 1 1 0