Section 8 - Boolean Algebra Flashcards
Define what an ‘NOT gate’ / Negation represents
Inverts the input - 0 to 1 and 1 to 0
Define what an ‘AND gate’/Conjunction represents
The output of A AND B is 1 only if the input A and input B are both 1
Define what an ‘OR gate’/Disjunction represents
The output of A OR B is 1 if either the input for A or B is 1
Define what an ‘XOR gate’ /Exclusive disjunction represents
The output of A XOR B is 1 if only one of A or B is 1
Define ‘de Morgan’s Laws’
Any Boolean function can be converted to one which uses only NAND functions or only NOR functions.
What is de Morgan’s first Law?
¬(A v B) = ¬A ∧ ¬B
X = ¬(A v B)
X = ¬A ∧ ¬B
What is de Morgan’s second Law?
¬(A ∧ B) = ¬A v ¬B
X = ¬(A ∧ B) = ¬A v ¬B
X = ¬A v ¬B
What are the general rules of Boolean Algebra
X ∧ 0 = 0
X ∧ X = X
X ∧ 1 = X
X ∧ ¬X = 0
X v 0 = X
X v 1 = 1
X v X = X
X v ¬X = 1
What are the two commutative rules of Boolean Algebra?
X ∧ Y = Y ∧ X
X v Y = Y v X
What are the two associative rules of Boolean Algebra?
X ∧ (Y ∧ Z) = (X ∧ Y) ∧ Z
What are the two associative rules of Boolean Algebra?
X ∧ (Y ∧ Z) = (X ∧ Y) ∧ Z
X v (Y v Z) = (X v Y) v Z
What are the two distributive rules of Boolean Algebra?
X ∧ (Y v Z) = (X ∧ Y) v (X ∧ Z)
(X v Y) ∧ (W v Z) = (X ∧ W) v (X ∧ Z) v (Y ∧ W) v (Y ∧ Z)
What are the two rule of absorption in Boolean Algebra?
X v (X ∧ Y) = X
X ∧ (X v Y) = X
What is the rule for double negation in Boolean Algebra?
X = ¬ ¬X
Define what is meant by the term ‘half-adders’
Takes two input of two bits and gives a two-bit output as the correct result of an addition of the two inputs.