Assignment 2: Boolean Logic Due Date: Feb. 11, 2016 1. Draw the logic diagrams with gates for the following Boolean functions (30 pts) 1) π = π΄ + π΅ β πΆ Μ Μ Μ Μ Μ Μ Μ Μ 2) π = (π΄Μ + π΅Μ ) β πΆ + π΄ β (π΅ + πΆ) Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ 3) π = Μ Μ Μ Μ Μ Μ Μ Μ π΄Μ + π΅Μ + πΆ β (π΄ + π·) 2. (15 pts) Prove or disprove π΄ + π΄Μ β π΅Μ = π΄ + π΅Μ . (Hint: Use a truth table) 3. (15 pts) Use De Morgan’s law and the other Boolean logic laws to prove that (π΅ β πΆ ) ((π΄ β π΅) + (π΄ β πΆ)) β Μ Μ Μ Μ Μ Μ Μ Μ Μ Μ is equivalent to: (π΄ β π΅ β πΆΜ ) + (π΄ β πΆ β π΅Μ ). 4. (20 pts) Show that using only two-input NOR gates can build the AND, OR, NOT, and XOR functions. 5. (20 pts) Assume that X consists of 4 bits, X3, X2, X1, X0. Write three logic functions that are true if and only if a. X contains only one 1 b. X contains an even number of 1’s c. X when interpreted as an unsigned binary number is less than 10