Module 5 Flashcards
Transistors as logic gates
Digital information
Position of the digit represent the power which b is raised to
How to convert to binary
Divide number by 2 until quotient = 0 then take remainder from bottom up
Binary to decimal
d0×20 + d1×21 + d2×2^2
NOT Gate
Also known as inverter. Takes input and outputs the opposite value
AND Gate
Has two input wires:
If both 1, output 1
If both 0, output = 0
If one input is 1 while the other 0, output = 0
OR Gate
Both wires have to have an input of 0 for the output to be 0
NAND Gate
If both inputs are the same, the output is inverted:
0&0 —> 1
1&1 —> 0
1&0/0&1 —> 1
NOR gate
Only outputs 1 when both inputs are 0
XOR
Only outputs 1 if and only if exactly on of the outputs is 1.