90 likes | 310 Views
Quiz 1.2.1. What are the results of the following logical operations? NOT 1011 2 1001 2 OR 1011 2 1001 2 NOR 1011 2 1001 2 AND 1011 2 1001 2 NAND 1011 2 1001 2 XOR 1011 2 What are the results of the following 4-bit arithmetic operations (2’s complement)? NEG 1011 2
E N D
Quiz 1.2.1 • What are the results of the following logical operations? NOT 10112 10012 OR 10112 10012 NOR 10112 10012 AND 10112 10012 NAND 10112 10012 XOR 10112 • What are the results of the following 4-bit arithmetic operations (2’s complement)? NEG 10112 10012 ADD 10112 10012 SUB 10112
Quiz 1.2.2 • Draw a logic circuit (using N and P type transistors) for a 3 input NAND gate. Name____________________________ Section_________
Quiz 1.2.3 • Translate the following equation to gates: AB + AC • Translate the following gates to an equation:
A B Cf 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 Quiz 1.2.4 • Translate the following truth table to an equation: • Translate the following equation to a truth table: f = ABC + ABC + ABC + ABC
Quiz 1.2.5 • Translate the following truth table to gates: • Translate the following gates to a truth table: A B f
Quiz 1.2.6 What is the logical equation and truth table for the following circuit? 6
Quiz 1.2.7 • Implement a half adder using a PLA sum = abc+abc+abc+abc = a b c sum ? ? ? ? a ? ? ? ? ? ? ? ? b ? ? ? ? ? ? ? ? c ? ? ? ? ? ? ? ?
Quiz 1.2.8 1. What is a bi-stable circuit? 2. With a RS NAND latch, why can’t R and S be low at the same time? 3. How is Q set with the following latch? 0 0 8
Quiz 1.2.9 • Design a State Diagram for a blinking traffic sign as follows: • Switch OFF • No lights • Switch ON, repeat • No lights on • 1 & 2 on • 1, 2, 3, & 4 on • 1, 2, 3, 4, & 5 on • Hint: How many states? 3 4 1 5 2