Assignment 1
Assignment 1
EEE 4307
Course Teacher: Dr. Rakibul Hasan Sagor, Assistant Professor, EEE, IUT
Problems:
11. (a) Find the 10’s complement of the following 6-digit decimal numbers: 123900;
090657; 100000; and 000000.
(b) Find the 1’s and 2’s complements of the following 8-digit binary numbers: 10101110;
10000001; 10000000; 00000001; and 00000000.
Page | 1
15. Perform subtraction with the following unsigned decimal numbers by taking the 10’s
complement of the subtrahend.
16. The (r-1)’s complement of base-7 numbers is called the 6’s complement.
18. Express the switching circuit shown in the figure in binary logic notation. (L is the
output)
B
A L
C
Voltage Source
Page | 2
19. Draw the timing diagram of f and g for the following circuits
20. Demonstrate by means of truth tables the validity of the following identities:
(b) (x+y)(x+y’)
22. Reduce the following Boolean expressions to the indicated number of literals:
(b) x’yz + xz
24. Find the complement of F= x + yz; then show that F.F’=0 and F + F’=1
Page | 3
25. Given the following Boolean function:
26. Obtain the truth table of the following functions and express each function in sum of
minterms and product of maxterms:
27. Convert the following expressions into sum of products and product of sums:
28. Show that the dual of the exclusive-OR is equal to its complement.
29. Simplify the following expressions and implement them with two-level NAND gate
circuits:
30. Simplify the following functions and implement them with two-level NOR gate circuits:
31. Simplify the following Boolean functions / expressions using Karnaugh Maps:
(a) F(x, y, z) = ∑(0, 2, 3, 4, 5)
(b) F(x, y, z) = ∑(3, 5, 6, 7)
(c) AB + A’B’C’ + A’BC’
Page | 4
(d) F(w, x, y, z) = ∑(0,1, 2, 4, 5, 7, 11, 15)
32. Simplify the following Boolean functions in (i) POS (ii) SOP form
(a) F(w, x, y, z) = ∑(0,2, 5,6, 7, 8, 10)
(b) F(w, x, y, z) = П(0,1, 2, 4, 5, 7, 11, 15)
(c) AC’ + B’D + A’CD + ABCD
(d) (A’ + B’ + D’)(A + B’ + C’)(A’ + B + D’)(B + C’ + D’)
33. Simplify the following expressions / functions and implement them with two-level (i)
NAND gate circuits (ii) NOR gate circuits:
(a) AB’ + ABD + ABD’ + A’C’D’ + A’BC’
(e) F(w, x, y, z) = ∑(5,6, 9, 10)
34. Simplify the Boolean function F together with the don’t care conditions d in (i) SOP and
(ii) POS form.
F(w, x, y, z) = ∑(3,4, 13, 15)
d(w, x, y, z) = ∑(5, 6, 11, 15)
37. Design a full-adder. Show the truth table and construct Boolean expression for all
possible inputs. Draw the logic diagram.
39. Construct an eight-bit parallel adder using eight “full-adder” circuits. What is the draw-
back of using this parallel adder? Design the 8-bit parallel adder using look-ahead carry
generator. Show all the necessary Boolean expressions and logic diagrams.
40. NAND and NOR gates can be defined as Universal gate. How?
Page | 5
41. Design a combinational circuit with three inputs and one output. The output is equal to
logic-1 when the binary value of the input is less than 3. The output is logic-0 otherwise.
42. Design a combinational circuit with four inputs and four outputs. The output generates
the 2’s complement of the input binary number.
43. A majority function is generated in a combinational circuit when the output is equal to 1
the input variables have more 1’s than 0’s. The output is 0 otherwise. Design a 3-input
majority function.
44. Design a combinational circuit with three inputs, x, y and z, and three outputs, A, B, and
C. When the binary value of the input is 0, 1, 2, or 3, the binary output is one greater than
the input. When the binary value of the input is 4, 5, 6 or 7, the binary output is one less
than the input.
45. Design a combinational circuit with three inputs and six outputs. The output binary
number should be the square of the input binary number.
46. Design a combinational circuit with four inputs that represent a decimal digit in BCD and
four outputs that produce the 9’s complement of the input digit. The six unused
combinations can be treated as ‘don’t care’ conditions.
48. Design a combinational circuit that compares two 3-bit numbers A and B. The circuit has
three outputs x1, x2 and x3 so that
x1 = 1, x2 = 0 and x3 = 0 if A = B,
x1 = 0, x2 = 1 and x3 = 0 if A > B,
x1 = 0, x2 = 0 and x3 = 1 if A < B .
50. A combinational circuit is defined by the following three Boolean functions. Design the
circuit with a decoder and external gates.
F1 = x’y’z’ + xz
F2 = xy’z’ + x’y
F3 = x’y’z + xy
51. Construct a 5 × 32 decoder with four 3 × 8 decoders with enable and one 2 × 4 decoder.
Page | 6
52. Draw the logic diagram of a 2-to-4-line decoder with only NOR gates. Include an enable
input.
53. Design a 4-input priority encoder with inputs D0, D1, D2 and D3 where D0 having the
highest priority and input D3 the lowest priority.
54. An 8 × 1 multiplexer has inputs A, B and C connected to the selection inputs S2, S1 and S0
respectively. The data inputs, I0 through I7 are as follows:
I1 = I2 = I7 = 0;
I3 = I5 = 1,
I0 = I4 = D; and I6 = D’.
Determine the Boolean function that the multiplexer implements.
55. Construct a 16 × 1 multiplexer with two 8 × 1 and one 2 × 1 multiplexers. Use block
diagrams for the three multiplexers.
Page | 7