Professional Documents
Culture Documents
Introduction
• Course code :20EC1101
• LTP 3-0-2-0
09/13/2022 4
Analog System Versus Digital System
Analog and Digital Signals
• Analog system
– The physical quantities or signals may vary continuously
over a specified range.
• Digital system
– The physical quantities or signals can assume only
discrete values.
– Greater accuracy
09/13/2022 8
Illustration of Analog to Digital conversion
09/13/2022 9
Illustration of Digital to Analog conversion
09/13/2022 10
Think & Answer
• Why Decimal Number system is not used
for internal processing in the electronic
systems?
• Which number system is used and
understandable to digital electronic
devices ?
Binary Number
Base (or) Radix 2;
Digits (0,1)
Number
Systems
Octal Number
Base (or) Radix 8;
Digits (0,1,2,3,4,5,6,7)
Hexadecimal Number
Base (or) Radix 16;
Digits (0,1,2,3,4,5,6,7,8,9,A,
B, C, D, E, F)
• Digit Position 5 1 2 7 4
– Integer & fraction
100 10 1 0.1 0.01
• Digit Weight
– Weight = (Base) Position
• Magnitude 500 10 2 0.7 0.04
• Weights 1 E 5 7 A
– Weight = (Base) Position 2 1 0 -1 -2
Evaluate
Magnitude
Decimal Binary
(Base 10) (Base 2)
Hexadecimal
(Base 16)
Evaluate
Magnitude
Decimal, Binary, Octal and Hexadecimal
Decimal Binary Octal Hex
00 0000 00 0
01 0001 01 1
02 0010 02 2
03 0011 03 3
04 0100 04 4
05 0101 05 5
06 0110 06 6
07 0111 07 7
08 1000 10 8
09 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
Conversion of decimal to binary
• Step 1: Divide the Decimal Number with the base of
the number system to be converted to. Here the
conversion is to binary, hence the divisor will be 2.
• Step 2: The remainder obtained from the division
will become the least significant digit of the new
number.
• Step 3: The quotient obtained from the division will
become the next dividend and will be divided by base
i.e. 2.
• Step 4: The remainder obtained will become the
second least significant digit i.e. it will be added in
the left of the previouslySource:
09/13/2022 obtained digit. Confidential 22
DECIMAL TO BINARY CONVERSION
For Integer part, the number is divided by 2 and the
remainders are read in the direction of arrow from down to top
corresponding to MSB and LSB as shown
Example: (98)10 = ( )2
98 2 LSB
2 49 0
2 24 1
2 12 0
2 6 (98)10 = (1100010)2
0
2 3 0
1 1
MSB
DECIMAL FRACTION TO BINARY
• Example2 : (0.8125)10 = ( )2
0.6250 X 2 = 1.250 1
0.250 X 2 = 0.50 0
=
HEXADECIMAL TO BINARY CONVERSION
Convert each hexadecimal digit to a 4-bit equivalent binary representation
(2A3.45F) 16 = ( _________ ) 2
Integer Part Fractional Part
2 A 3 4 5 F
(2A3.45F) 16 = (001010100011.010001011111) 2
Think & Answer
• Give your answers in the chat window