1. Number Representation:
a. (2750)8
= (010 111 101 000)2
= (0101 1110 1000)2
= (5E8)16
w = 5E8
b. (3E5F)16
= (0011 1110 0101 1111)2
= (0 011 111 001 011 111)2
= (37137)8
x = 37137
(0.10011)2 = (z)10
= 1/2 + 1/16 + 1/32
= (0.59375)10 or (19/32) 10
z = 0.59375 or 19/32
2. Boolean Algebra:
a. x’y’z + yz + y’z = z
LHS = z(x’y’ + y + y’) [distributivity]
= z(x’y’ + 1) [complement]
= z(1) [a + 1 = 1]
=z [identity]
b. (x+y)(x+z) = x + yz
LHS = (x+y)x + (x+y)z [distributivity]
= xx + yx + xz + yz [distributivity]
= x + yx + xz + yz [idempotency]
= x + xz + yz [absorption]
= x + yz [absorption]
3. Boolean Simplification: Simplify the following functions using the postulates and
theorems of Boolean Algebra. Write the particular law or theorem you are using
in each step.
a. F(x,y) = xy + xy’
= x(y + y’) [Using distributive law]
= x.1 [Using complement]
= x [Using identity]
b F
c
b. F = (a + ac)[b’(c + b)]
= a(b’(c + b)) [absorption]
= a(b’c + b’b) [ditributivity]
= a(b’c + 0) [complement]
= a(b’c) [identity]
F
b
5. Combinational Logic Design: Write the (i) high-level description, (ii) truth table,
and (iii) one-set and zero-set for each of the three functions described by the
following specifications.
a. A 2-bit-wide shifter takes two input signals, i0 and i1, and shifts them to
two outputs, o0 and o1, under the control of a SHIFT signal. If this signal
SHIFT is false, then the outputs are equal to their corresponding inputs. If
SHIFT is true, then o1 is equal to i0, and o0 is set to 0.