logic gate Flashcards
A basic building block of a computer circuit?
Logic Gate
Input and Output are in one of two states?
high or low
uses boolean algebra, a mathematical notion for expressing two-valued logic
boolean expression
a graphical representation of a circuit: each gate has its own symbol
logic diagram
a table showing all possible input values and the associated output values (used to generate a certain output)
truth table
AB
AND GATE
A + B
OR GATE
A (+) B
XOR GATE
____
A
NOT GATE
00 | 0
01 | 0
10 | 0
11 | 1
AND GATE
00 | 0
01 | 1
10 | 1
11 | 1
OR GATE
00 | 0
01 | 1
10 | 1
11 | 0
XOR GATE
0 | 1
1 | 0
NOT GATE
Carry is?
x AND y
sum is?
x XOR y
the circuit to compute carry and sum is?
half-adder