First Term DLD
First Term DLD
First Term DLD
Digital system:
Volts
5 volt 5 volt 1
0v 0 0
Time(t)
Digital system has two or more distinguishable waveforms.
In digital representation the quantities are represented not by
proportional quantities but by symbols called digit.
Example: Digital watch.
1. Easier to design.
2. Information storage is easy.
3. Accuracy and precision is greater than other.
4. Less affected by noise’
5. Fabricated by IC chips.
6. Operation can be programmed.
7. As long as the noise is not large.
8. Enough to prevent us form distinguishing a high from a
low.
Not Use
0.4v
0 Binary
0.0v time (t)
Perspective digital signal:
010 010
Time(t)
Classification of IC:
ICs are classified as follows depending on the
number of gates they contain:
Signal Type Digital System uses discrete signals as Analog System uses continuous
1 on/off representing binary format. Off is 0, signals with varying magnitude.
On is 1.
2 Wave Type Digital System uses square waves. Analog system uses sine waves.
Technology Digital system first transform the analog Analog systems records the
3 waves to limited set of numbers and then physical waveforms as they are
record them as digital square waves. originally generated.
Transmission Digital transmission is easy and can be Analog systems are affected
4 made noise proof with no loss at all. badly by noise during
transmission.
Sr. Key Digital System Analog System
No.
Flexibility Digital system hardware can be easily Analog system's hardware are
5
modulated as per the requirements. not flexible.
Memory Digital data is stored in form of bits. Analog data is stored in form of
7
waveform signals.
Power Digital system needs low power as compare Analog systems consume more
8
requirement to its analog counterpart. power than digital systems.
Best suited Digital system are good for computing and Analog systems are good for
9
for digital electronics. audio/video recordings.
Example Digital system are: Computer, CD, DVD. Analog systems are: Analog
11 electronics, voice radio using AM
frequency.
1. Less expensive.
2. More reliable.
3. Easy to manipulate.
4. Flexible.
5. Compatibility with other digital systems.
6. Integrated networks.
Complements:
Solution Rules:
Solution:
Given that,
A = 1010100
B = 1000011
1’s complement of B = 0111100
Now,
A = 1010100
1’s complement of B = 0111100
10010000
Carry
Carry is produce, so it will be neglect.
Then,
0010000
1
0010001
And put the (+) sign
so, (+) 0010001
Final result is (+) 0010001 (Answer).
Solution Rules:
1. Value of N will be 2’s complement.
2. 2’s complement addition with M.
3. If carry is produce, it will be delete and it is final result with (+).
4. If carry is not produce then do again 2’s complement of result and
it will be final result with (-) sign.
Solution:
Given that,
M = 1010100
N = 1000011
2’s complement of N = 0111101
Now,
M = 1010100
2’s complement of N = 0111101
10010001
Carry
Here, carry is produce so, it will be delete and put (+) sign
Final Result (+) 0010001 (Answer)
1101111
Here, no carry produce so do again 2’s complement
0010001
And put the (-) sign
so,(-) 0010001
Final result (-) 0010001 (Answer)
Subtraction between two binary number using r’s
complement :
Solution Rules:
Solution:
r’s complement of B = rn – N
= (10)5 – 03012.30
= 96987.70
Now,
A = 13020.50
r’s complement of B = 96987.70
110008.20
Carry
Here carry will be delete and put (+) sign
So, (+) 10008.20
Final result (+) ( 10008.20 )10 (Answer).
Example 02: If A = ( 13020.50)10 and B = ( 03012.30 )10
Then find out ( B – A ) using r’s complement.
Solution:
Given that,
A = 13020.50
B = 03012.30
r’s complement of A = rn– N
= (10)5 – 13020.50
= 86979.50
Now,
B = 03012.30
r’s complement of A = 86979.50
89991.80
Here, carry is not produce so do again r’s complement
rn - N
= (10)5 – 89991.80
= 10008.20
And put the (-) sign
So, (-) 10008.20
Final result (-) (10008.20)10 (Answer)
Solution:
Given that,
A = 13020.50
B = 03012.30
(r-1)’s complement of B = rn - r-m - N
= (10)5 - (10)-2 - 03012.30
= 100000 - 0.01 - 03012.30
= 96987.69
Now,
A = 13020.50
(r-1)’s complement of B = 96987.69
= 110008.19
Carry
Here Carry is produce, it will be delete and addition
with 1
SO, 10008.19
1
10008.20
And put the (+) sign
(+) 10008.20
Final result (+) (10008.20)10 (Answer).
Solution:
Given that,
A = 13020.50
B = 03012.30
(r-1)’s complement of A = rn - r-m - N
= (10)5 - (10)-2 – 13020.50
= 100000 – 0.01 – 13020.50
= 86979.49
Now,
B = 03012.30
(r-1)’s complement of A = 86979.49
89991.79
Here no carry produce then do again (r-1)’s
complement
= rn - r-m – N
= (10)5 - (10)-2 - 89991.79
= 100000 – 0.01 –89991.79
= 10008.20
And put the (-) sign
So, (-) 10008.20
Final result (-) (10008.20)10 (Answer).
Binary Number System
Solution:
47/2 = 23 remainder 1
23/2 = 11 remainder 1
11/2 = 5 remainder 1
5/2 = 2 remainder 1
2/2 = 1 remainder 0
1/2 = 0 remainder 1
So, 101111
( 495.68)10 = (octal)8
495/8 = 61 remainder 7
61/8 = 7 remainder 5
7/8 = 0 remainder 7
So, 757
( 31564.95)10 = (Hexadecimal)16
( 101101.01101)2 = ( Decimal)10
Solution:
(647.63)8 = (Decimal)10
Solution:
= 6*82+4*81+7*80+6*8-1+3*8-2
= 384+32+7+0.75+0.046875
= 423.796875
(6478.68)16 = ( Decimal)10
Solution:
= 6*163+4*162+7*161+8*160+6*16-1+8*16-2
= 24576+1024+112+8+0.375+0.03125
= 25720.40625
(173.62)8 = (Binary)2
Solution:
1 7 3 . 6 2
( 1111011.110010)2= (Octal)8
Solution:
001 111 011 . 110 010
1 7 3 . 6 2
Answer: ( 1111011.110010)2= (173.62)8
Solution:
F 0 A 3 . 2 A
15 10 10
1111 0000 1010 0011 0010 1010
Answer: (F0A3 . 2A)16 = (1111 0000 1010 0011.0010 1010)2
F 0 A 3 . 2 A
Answer: (1111 0000 1010 0011.0010 1010)2 = (F0A3 . 2A)16
Solution rules:
1.Any Number to Decimal
2. Decimal to equivalent of 4 bit binary.
(5D.6)16 = (8421)BCD ?
Solution:
Here D=13
So, = 5*161+13*160+6*16-1
= 80+ 13+ 0.375
= (93.375)10
So,
9 3 . 3 7 5
Solution Rules:
1. BCD to Decimal.
2. Decimal to Any Number.
(010110010010.10001001)BCD = (Octal)8
Solution:
0101 1001 0010 . 1000 1001
5 9 2 . 8 9
So, ( 592.89)10
Now,
592/8 = 74 remainder 0
74/8 = 9 remainder 2
9/8 = 1 remainder 1
1/8 = 0 remainder 1
So, 1120
Gray code:
1 + 1 + 0+ 1
1 0 1 1
1 1 0 1
Answer: (1011)Gray = (1101)2
Chapter 3
The postulates of a mathematical system form the basic assumptions from which it is
possible to deduce the rules, theorems and properties of the system. The postulates
formulated by EV Hunting ton in 1904. Boolean Algebra introduce by George bool in 1854.
b. ( x. y)′ = x′ + y′
9. Absorption law:
a. x + x y = x
b. x ( x+ y) = x
a. x (y+ z) = x y + xz
z) z
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 1 0 1 1
1 1 0 1 1 1 0 1
1 1 1 1 1 1 1 1
so it is proved .
x+x=x
Solution:
x +x = ( x + x) .1
= ( x +x ) ( x+ x′) [ x+ x′ = 1]
= x x + x x′ + x x + x x′
= x x + x x′
= x (x + x′)
=x.1
= x ( proved)
Solution:
= xx + x x′ + 0.x + 0. x′
= xx + x x′
= x ( x+ x′)
= x .1 [ x + x′ =1]
= x ( proved )
Solution:
x. x= ( x x+ 0)
= x x + x x′
= x ( x + x)′
= x .1
=x ( proved )
Solution:
x . 0 = ( x + x) ( x . x′) [ x+ x = x and x . x′ = 0 ]
= xxx′ + xxx′
= x ( x x′ + x x′ )
= x.0
= 0 ( proved )
Solution:
x ( x + y) = x . x + x y
=x+xy [x.x=x]
=x(1+y)
= x .1 [1+y=1]
= x ( proved )
1. F = x′ y′ z + x′ y z + x y′
= x′z y′ + x′ z y + x y′
= x′ z ( y + y′) + x y′
= x′z. 1 + x y′ [ y′ + y = 1]
= x′ z + xy′
= x ′ z + x y′ . ( Answer)
2. F = ABC + AB′ (A′ C′)′
= ABC + AB′ ( A″+ C″ )
= ABC + AB′ ( A +C )
= AC ( B+B′) + AB′
= AC .1 + AB′
= AC + AB′ ( Answer)
= AB (C+C′) + AC ( B + B′)
= AB + AC (Answer)
interchange of 0′s for 1′s and 1′s for 0′s in the value of F. The
F1 = x′ y z′ + x′ y′ z
F2 = x ( y′ z′ + y z)
Let, F1′ = ( x′ y z′ + x′ y′ z )′
= ( x″ + y′ + z″ ) . (x″ + y″ + z′ )
= ( x + y′ + z) ( x+ y +z′) (Answer)
then let,
F2′ = { x ( y′ z′ + y z) }′
= x′ + ( y′ z′ + y z )′
= x′ + ( y′ z′ )′ . ( y z)′
= x′ + ( y″ + z″ ) . ( y′ + z′ )
= x′ + ( y + z) (y′ + z′) (Answer)
Let,
Let,
F = ((AB)′ . A) ((AB)′ . B)
Let,
F = (AB′ + C′ D′)
Let,
F′ = (AB′ + C′ D′)′
Canonical forms:
F = A + B′ C in a sum of minterms
Solution:
The function has 3 variable A, B and C. The first term is missing two
variables therefore,
A = A ( B + B′) [ let B + B′ = 1]
=AB + AB′
B′C = B′ C ( A + A′)
= AB′C + A′B′C
F = A + B′C
finally obtain,
F = A′B′C + AB′C′ + AB′C + ABC′ +ABC
= m1 + m4 + m5 + m6 + m7
It is sometimes convenient to express the Boolean function when in its sum of minterms is
Solution:
F = x y + x′ z
= ( x y + x′) ( x y + z)
= ( x′ + y) ( x +z) ( y + z)
so, x′ + y = x′ + y + z . z′ [ z. z′ = 0]
= ( x′ + y + z) (x′ + y+ z′)
So,
x + z = x+ z+ y .y′ [ y .y=0]
= ( x+ y+ z) (x + y′ + z)
So,
y + z = y + z + x .x′ [x . x′ = 0]
= (x + y+ z) ( x′ + y + z)
Now combining all terms:
Solution:
1. F ( A, B, C, D ) = D ( A′ + B ) + B′ D
Solution:
F ( A, B, C, D ) = D ( A′ + B ) + B′ D
= A′ D + BD + B′ D
Now it has four variable A , B, C, D
A′ D = A′ D ( B + B′)
= ( A′BD + A′B′D) ( C+ C′)
= A′BCD + A′BC′D + A′B′CD + A′B′C′D
BD = BD (A + A′)
= ( ABD + A′BD) ( C+ C′ )
= ABCD + ABC′D + A′BCD + A′BC′D
B′D = B′D (A + A′)
= ( AB′D + A′B′D) ( C+ C′ )
= AB′CD + AB′C′D + A′B′CD + A′B′C′D
Now combining all terms:
F = A′BCD + A′BC′D + A′B′CD + A′B′C′D + ABCD + ABC′D + A
′BCD + A′BC′D + AB′CD + AB′C′D + A′B′CD + A′B′C′D
= A′BCD + A′BCD + A′BC′D + A′B′CD + ABCD + ABC′D + A′B′C
′D + AB′CD + AB′C′D
= m7 + m5 + m3 + m15 + m13+ m1+ m11+ m9
F = ∑ ( 1, 3, 5, 7, 9, 11, 13, 15)
F′ = ∏ ( 0, 2, 4, 6, 8, 10, 12, 14 ) (Answer)
2. F ( w, x, y, z ) = y′ z + w x y′ + w x z′ + w′ x′ z
Solution:
The function has four variables w, x, y, z
The first term y′ z is missing two variables;
Therefore:
y′ z = y′ z ( w+ w′ )
= w y′ z + w′ y′ z
This is still missing one variable:
y′ z = w y′ z + w′ y′ z
= w y′ z ( x + x′ ) + w′ y′ z ( x+ x′ )
= w x y′ z + w x′ y′ z + w′ x y′ z + w′ x′ y′ z
The second term w x y′ is missing one variable:
W x y′ = w x y′ ( z + z′ )
= w x y′ z + w x y′ z′
The third term w x z′ is missing one variable
W x z′ = w x z′ ( y + y′ )
= w x y z′ + w x y′ z′
The fourth term w′ x′ z is missing one variable
w′ x′ z = w′ x′ z ( y + y′ )
= w′ x′ y z + w′ x′ y′ z
Now combining all terms
F = w x y′ z + w x′ y′ z + w′ x y′ z + w′ x′ y′ z + w x y′ z + w x y′ z
′ + w x y z′ + w x y′ z′ + w′ x′ y z + w′ x′ y′ z
= w x y′ z + w x′ y′ z + w′ x y′ z + w′ x′ y′ z + w x y′ z′ + w x
y z′ + w′ x′ y z
= m13 + m9 + m5 + m1 + m12 + m14 + m3
F = ∑ ( 1, 3, 5, 9, 12, 13, 14 )
F′ = ∏ ( 0, 2, 4, 6, 7, 8, 10, 11 ) ( Answer)
3. F ( A, B, C, D) = ( A + B′ + C ) ( A + B′ ) ( A + C′ + D′ ) ( A′ + B +
C + D′ ) ( B+ C′ + D′ )
Solution:
A + B′ = A + B′ + C.C′
=( A + B′ + C ) ( A + B′ + C′ )
=( A + B′ + C + D.D′ ) ( A + B′ + C′+ D.D′ )
=( A + B′ + C + D ) ( A + B′ + C + D′ ) ( A + B′ + C′+ D )
(A + B′ + C′+ D′ )
A + C′ + D′ = A + C′ + D′ + B.B′
= (A + B + C′ + D′ ) (A + B′ + C′ + D′ )
4. F ( A, B, C ) = ( A′ + B ) ( B′ + C )
Solution:
6. F ( x, y, z ) = ( x y + z ) ( y + x z )
Solution:
1. F ( x, y, z ) = ∑ ( 1, 3, 7 )
Solution:
Given that,
F ( x, y, z ) = ∑ ( 1, 3, 7 )
= m1 + m3 + m7
= x′ y′ z + x′ y z + x y z
Missing terms : F′ ( x, y, z ) = ∑ ( 0, 2, 4, 5, 6 )
= m 0 + m2 + m4 + m5 + m6
= x′ y′ z′ + x′ y z′ + x y′ z′ + x y′ z + x y z′
Applied De- Morgan’s theorem:
F′ ( x, y, z )= F ( x, y, z )
=( m0 + m2 + m4 + m5 + m6 )′
= (x′ y′ z′ + x′ y z′ + x y′ z′ + x y′ z + x y z′ )′
=( x′ y′ z′ )′ ( x′ y z′ )′ ( x y′ z′ )′ ( x y′ z )′ ( x y z′ )′
=( x″ + y″ + z″ ) ( x″ + y′ + z″ ) ( x′ + y″ + z″ ) ( x′ + y″ + z′ ) ( x′ + y′ + z″ )
=( x + y + z ) ( x + y′ + z ) ( x′ + y + z ) ( x′ + y + z′ ) ( x′ + y′ + z)
= M0 M2 M4 M5 M6
= ∏ ( 0, 2, 4, 5, 6 ) ( Answer )
2. F ( A, B, C, D) = ∑ ( 0, 2, 6, 11, 13, 14 )
Solution:
Given that,
F ( A, B, C, D) = ∑ ( 0, 2, 6, 11, 13, 14 )
= m0 + m2 + m6 + m11 + m13+ m14
= A′ B′ C′ D′ + A′ B′ C D′ + A′ B C D′ + A B′ C D + A B C′ D + A B C D′
Missing term : F′( A, B, C, D ) = ∑ ( 1, 3, 4, 5, 7, 8, 9, 10, 12 )
= m1 + m3 + m4 + m5 + m7+ m8 + m9 + m10 + m12
= A′ B′ C′ D + A′ B′ C D + A′ B C′ D′ + A′ B C′ D + A′ B C D + A B′ C′ D′ + A B′ C′ D + A B′
C D′ + A B C′ D′
3. F ( x, y, z) = ∏ ( 0, 3, 6, 7 )
Solution:
Given that,
F ( x, y, z) = ∏ ( 0, 3, 6, 7 )
= M0 M3 M6 M7
= (x + y + z ) ( x + y′ + z′ ) ( x′ + y′ + z ) ( x′ + y′ + z′ )
Missing terms:
F′ ( x, y, z) = F ( 1, 2, 4, 5 )
= M1 M2 M4 M5
= (x + y + z′ ) ( x + y′ + z ) ( x′ + y + z ) ( x′ + y + z′ )
Appling De – Morgan’s
F′ ( x, y, z) = F ( x, y, z)
= ( M1 M2 M4 M5 )′
={ (x + y + z′ ) ( x + y′ + z ) ( x′ + y + z ) ( x′ + y + z′ )}′
= (x + y + z′ )′ + ( x + y′ + z )′ + ( x′ + y + z )′ + ( x′ + y + z′ )′
= (x′ y′ z″ ) + ( x′ y″ z′ ) + ( x″ y′ z′ ) ( x″ y′ z″ )
= (x′ y′ z ) + ( x′ y z′ ) + ( x y′ z′ ) ( x y′ z )
= m1 + m2 + m4 + m5
= ∑ ( 1, 2, 4, 5 ) ( Answer)
4. F ( A, B , C, D ) = ∏ ( 0, 1, 2, 3, 4, 6, 12 )
Solution:
Given that,
F ( A, B , C, D ) = ∏ ( 0, 1, 2, 3, 4, 6, 12 )
= M0 M1 M2 M3 M4 M6 M12
= ( A + B + C + D ) ( A + B + C + D′ ) ( A + B + C′ + D ) ( A + B + C′ + D′ ) ( A + B′ + C
+ D ) ( A + B′ + C′ + D ) ( A′ + B′ + C + D )
Missing terms:
F′ ( A, B , C, D ) = ∏ ( 5, 7, 8, 9, 10, 11 )
= M5 M7 M8 M9 M10 M11
= ( A + B′ + C + D′ ) ( A + B′ + C′ + D′ ) ( A′ + B + C + D ) ( A′ + B + C + D′ ) ( A′ + B +
C′ + D ) ( A′ + B + C′ + D′ )
Appling De- Morgan’s
F′ ( A, B , C, D ) =F ( A, B , C, D )
=( M5 M7 M8 M9 M10 M11 )
= {( A + B′ + C + D′ ) ( A + B′ + C′ + D′ ) ( A′ + B + C + D ) ( A′ + B + C + D′ ) ( A′ + B +
C′ + D ) ( A′ + B + C′ + D′ ) }′
= ( A + B′ + C + D′ )′ + ( A + B′ + C′ + D′ )′ + ( A′ + B + C + D )′ + ( A′ + B + C + D′ )′ +
( A′ + B + C′ + D )′ + ( A′ + B + C′ + D′ )′
= ( A′ B″ C′ D″ ) + ( A′ B″ C″ D″ ) + ( A″ B′ C′ D′ ) + ( A″ B′ C′ D″ ) + ( A″ B′ C″ D′ ) +
( A″ B′ C″ D″ )
= ( A′ B C′ D ) + ( A′ B C D ) + ( A B′ C′ D′ ) + ( A B′ C′ D ) + ( A B′ C D′ ) + ( A B′ C D)
= m5 + m7 +m8 + m9 + m10+ m11
= ∑ ( 5, 7, 8, 9, 10, 11 ) ( Answer )