Download Solutions for Exam 1 - Introduction to Computing | BME 303 and more Exams Biology in PDF only on Docsity!
Sol ubions 1. Two-to-one Multiplexer If selector S is set to S=0, then Z=A OR B If selector S is set to S=1, then Z=A AND B a. Fill-in the truth table for this two-to-one multiplexer below: Input Output S A B Z 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 l 1 1 1 J b. Write a logic expression for each row in the truth table that has an output of | by combining the inputs with AND. Hint: The logic expression for the 2"! row is S’A’B=NOT(S) AND NOT{A} AND B i, SA’B iii, S’AB’”— iv. S'AB__ viii. SAB v c. Then use OR to combine all of the row-specific expressions. Z= S’A’B+S’AB’ + S’AB+ SAB v d. Fill in the Karnaugh map below for the output Z AB | 00 | 01 11 =| 10 S r | 9 O | | | 1 - | D