Terms Flashcards
What are the 8 primary logic gates & their functions?
AND, OR, XOR, NOT, NAND, NOR, XNOR & BUFFER.
AND: returns 1 if both inputs are 1.
OR: returns 1 if either imput is 1.
XOR: returns 1 if only one of the inputs is 1.
NOT: negates the imput.
NAND: negates the AND gate.
NOR: Negates the or gate.
XNOR: negates the XOR gate.
BUFFER: simply passes input into output without change
What does Base 10 notation mean?
It represents the decimal number system
What is Hexadecimal?
A base 16 number system: 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Define code
In computer science we define codes as being a unique algorithm that represents symbols from some source alphabet through encoded strings
Essentially a mapping from one string of symbols to other symbols
How can you identify even numbers in binary? Multiples of 4?
Even always ends in 0, multiples of 4 always end in 00
How many bits are needed to represent 8? 16?
8 = 2^3 therefor you need 3 bits.
16=2^ therefor you need 4 bits
What is MSB? LSB?
Most significant bit, Least significant bit
What are the 9 main laws of Boolean algebra?
Identity Complement Annulment Idempotent Double negation De morgans theorem Commutative Distributive Absorption
What is the identity law?
A + 0 = A
A . 1 = A
What is the complement law?
A + NOT A = 1
A . NOT A = 0
What is the Annulment law?
A + 1 = 1
A . 0 = 0
What is the Idempotent law?
A . A = A
A + A = A
What is double negation?
NOT NOT A = A
What is deMorgans Theorem?
NOT A . NOT B = NOT (A +B)
NOT(A . B) = NOT A + NOT B
What is the commutative law?
A+B = B+A
A . B = B . A
What is the distributive law?
A(B+C) = AB + AC
allowing the factoring of an expression, are the same as in ordinary algebra.