Mathorio
Answer key
Boolean Algebra
Show your work for each problem.
- 1.Which law says ?
- a)Complement law
- b)Idempotent law
- c)Absorption law
- d)Identity law
Answer: Complement law
The complement law: a variable AND its own negation is always 0, because and are never both true. Its OR form is .
- 2.What is , whatever the value of ? Enter 1 for true or 0 for false.
Answer: 1
Null (domination) law: . If , then ; if , then .
- 3.Simplify and check two rows.
Answer: 0
- By the null law, is a constant. Which one? Enter 0 or 1. 1
- So the expression is . Check: what is the original expression for , ? 1
- And for , ? 0
- 4.simplifies to:
- a)
- b)
- c)
- d)
Answer:
Idempotent law: , because and . and come from ordinary algebra and do not apply here.
- 5.Simplify . The result is a constant: enter 0 or 1.
Answer: 0
Double negation gives , and the null law gives . The value of does not matter.
- 6.Check De Morgan's law for and .
Answer: 1
- What is ? 0
- So what is ? 1
- What is ? 0
- What is ? 1
- 7.Which expression is equivalent to ?
- a)
- b)
- c)
- d)
Answer:
De Morgan's law: . NOT (A OR B) is true only when neither is true. is the negation of instead.
- 8.Which expression equals ?
- a)
- b)
- c)
- d)
Answer:
Distributive law (OR over AND): . Check : both sides are 1. Check : both sides are .
- 9.What is the value of for and ? Enter 0 or 1.
Answer: 0
, so and . With De Morgan: , the same value.
- 10.simplifies to . Counting one gate for each , and , how many gates does the simplification save?
Answer: 4
Original: two AND, one NOT and one OR, so 4 gates. needs 0 gates. Saved: .
- 11.Check the absorption law row by row.
Answer: 2
- For , what is , whatever is? 0
- For and , what is ? 1
- For and ? 1
- In how many of the 4 rows is true? 2
- 12.Simplify and check it.
Answer: 2
- The distributive law gives . What constant is ? Enter 0 or 1. 0
- So the expression is . Check the row , : what is the original expression? 0
- Check the row , : 1
- In how many of the 4 rows is the original expression true? 2
- 13.Simplify with De Morgan's law.
Answer: 1
- De Morgan's law gives . How many signs does this form have? 3
- After double negation the expression is . How many signs are left? 1
- is true in only one row. What is in that row? Enter 0 or 1. 0
- And what is in that row? 1
- 14.Which expression is NOT equivalent to ?
- a)
- b)
- c)
- d)
Answer:
The first two are the absorption laws, and . But , which is 1 for , .
- 15.In how many of the 4 rows is true?
Answer: 1
. Then , which is true only in the row , .
- 16.Simplify and count the gates saved.
Answer: 4
- De Morgan gives , and the distributive law gives . What constant is ? 0
- So the expression is . Check , : what is the original expression? 0
- Check , : 1
- Counting one gate for each , and , how many gates does the original expression use? 5
- How many gates are saved by using instead? 4
- 17.Simplify .
Answer: 3
- The distributive law gives . What constant is ? 1
- So the expression is . Check , : what is the original expression? 1
- In how many of the 4 rows is true? 3
- 18.Simplify and count its true rows.
Answer: 3
- Factoring out gives , and the distributive law turns the bracket into . What constant is ? 1
- So the expression is . Counting one gate for each , and , how many gates does it use? 2
- A table for , and has 8 rows. In how many of them is ? 4
- Among those rows, is false only when and . In how many rows is the expression true? 3