Digital Logic and Design Mid Term Question Q1. 1'S & 2'S Compliment of
Digital Logic and Design Mid Term Question Q1. 1'S & 2'S Compliment of
2) 11011010
1's complement: 00100101
2's complement: 00100110
This seems to be one of the simplest forms. We can also try using
a Karnaugh map (K-map) for a more systematic simplification, but
with four variables, it might be a bit tedious here. The algebraic
simplification above gives us:
F=A′BC′+A′CD′+B′CD′
(i) (10110.0101)2
(1 * 2^4) + (0 * 2^3) + (1 * 2^2) + (1 * 2^1) + (0 * 2^0) + (0 * 2^-1) + (1 * 2^-2) + (0 * 2^-3) + (1 *
2^-4)
= 16 + 0 + 4 + 2 + 0 + 0 + 0.25 + 0 + 0.0625
= 22 + 0.3125
= 22.3125_{10}
(ii) (16.5)16
(1 * 16^1) + (6 * 16^0) + (5 * 16^-1)
= 16 + 6 + (5 / 16)
= 22 + 0.3125
= 22.3125_{10}
(iii) (26.24)8
(2 * 8^1) + (6 * 8^0) + (2 * 8^-1) + (4 * 8^-2)
= 16 + 6 + (2 / 8) + (4 / 64)
= 22 + 0.25 + 0.0625
= 22.3125_{10}
(iv) (4310)5
(4 * 5^3) + (3 * 5^2) + (1 * 5^1) + (0 * 5^0)
= (4 * 125) + (3 * 25) + (1 * 5) + 0
= 500 + 75 + 5
= 580_{10}
(v) (198)12
(1 * 12^2) + (9 * 12^1) + (8 * 12^0)
= (1 * 144) + (9 * 12) + (8 * 1)
= 144 + 108 + 8
= 260_{10}
(vi) (445)8
(4 * 8^2) + (4 * 8^1) + (5 * 8^0)
= (4 * 64) + (4 * 8) + 5
= 256 + 32 + 5
= 293_{10}
(vii) (345)6
(3 * 6^2) + (4 * 6^1) + (5 * 6^0)
= (3 * 36) + (4 * 6) + 5
= 108 + 24 + 5
= 137_{10}
Key to Symbols:
Group 1: The four 1s in the first column (m0, m4, m12, m8)
cover where y′z′ is constant. This group corresponds to the
term y′z′.
Group 2: The two 1s in the first row, first two columns (m0,
m1) cover where w′x′z′ is constant. This group corresponds
to the term w′x′z′.
Group 3: The two 1s in the second row, first two columns
(m4, m5) cover where w′xz′ is constant. This group
corresponds to the term w′xz′.
Group 4: The two 1s in the fourth row, first two columns
(m8, m9) cover where wx′z′ is constant. This group
corresponds to the term wx′z′.
Group 5: The two 1s in the third row, first and last columns
(m12, m13) cover where wxy′ is constant. This group
corresponds to the term wxy′.
Group 1: The four 1s in the first column (m0, m4, m12, m8):
This corresponds to y′z′.
Group 2: The two adjacent 1s in the first row (m0, m1): This
corresponds to