ELL201 L2 12aug21 1628683376190
ELL201 L2 12aug21 1628683376190
ELL201 L2 12aug21 1628683376190
It
is your responsibility to ensure no unauthorized circulation of the course contents/materials
takes place.
Lecture 2
As we move further we will add more TAs to help you all apart from the above 3
discontinuous states
storage of information is easy since quantities are limited, its easier to manipulate, store and count
and access information
Easier transportation of information Only finite levels in digital so communication of information is easy
With a limited amount of states we can store large everything is encrypted in discrete values
information like 1
analysis of information is easy Digital circuits are easier to design than analog
Efficiency
it is easier to depict stuff in the form of a set of discrete known values
less chances of noise during transportation than it is in the form of a continuous range
• Mass Reproduction
USer
Application/
Software
OS Input
V – voltages
I - currents
Firmware Architectures
Circuits
Hardware
Output
Devices
Materials
Apple A 12 Bionic
10 Billion Transistors
Silicon Wafer with 100s
7nm Technology Node
of dies
[ref-wiki]
[ref- blog.semi.org]
– Basically encoding/representing/manipulation of
Information
M. Suri, ELL-201, IITD, (copyright-2021) 12
Significance (Most & Least)
• For any number system (integer)
• Right most: Least significant digit/bit (LSB)
• Left most: Most significant digit/bit (MSB)
Decimal: 4153231
Binary: 1010001
Hex: AE143
Decimal: 4153231
Hex: AE143
Decimal: 4153231
Hex: AE143
Example: 2164
Example: 1011
Example: 1011 = 1 * 23 + 0 * 22 + 1 * 21 + 1 * 20
Example: 1011 = 1 * 23 + 0 * 22 + 1 * 21 + 1 * 20
Example: 1011 = 1 * 23 + 0 * 22 + 1 * 21 + 1 * 20
Example: 1011 = 1 * 23 + 0 * 22 + 1 * 21 + 1 * 20
Example: 1011 = 1 * 23 + 0 * 22 + 1 * 21 + 1 * 20
= 8 + 2 + 1 = 11 (in base 10)
Example: 1638 = 1 * 82 + 9 * 81 + 3 * 80
Example: 1638 = 1 * 82 + 9 * 81 + 3 * 80
Example: 1638 = 1 * 82 + 6 * 81 + 3 * 80
Example: 1638 = 1 * 82 + 6 * 81 + 3 * 80
Example: 1638 = 1 * 82 + 6 * 81 + 3 * 80
= 64 + 48 + 3 =
Example: 1638 = 1 * 82 + 6 * 81 + 3 * 80
= 64 + 48 + 3 = 115
(in base 10)
Example: 1638 = 1 * 82 + 6 * 81 + 3 * 80
= 64 + 48 + 3 = 115
(in base 10)
9 01001 11 9
10 01010 12 A
11 01011 13 B
12 01100 14 C
13 01101 15 D
14 01110 16 E
15 01111 17 F
M. Suri, ELL-201, IITD, (copyright-2021) 43
Counting Chart Dec Bin Oct Hex Dec Bin Oct Hex
0 00000 0 0 16 10000 20 10
1 00001 1 1 17 10001 21 11
2 00010 2 2 18 10010 22 12
3 00011 3 3 19 10011 23 13
4 00100 4 4 20 10100 24 14
5 00101 5 5
6 00110 6 6
7 00111 7 7
8 01000 10 8
9 01001 11 9
10 01010 12 A
11 01011 13 B
12 01100 14 C
13 01101 15 D
14 01110 16 E
15 01111 17 F
M. Suri, ELL-201, IITD, (copyright-2021) 44
Fractional Numbers
After the point: Left to Right negative powers of N increase from:
-1 → - n
Examples:
5510 = 678
5510 = 678
5510 = 678
5510 = 678
5510 = 3716
5510 = 3716
5510 = 3716
5510 = 3716
Shortcuts Methods:
Binary → Octal :
1. Make Groups of 3 starting from LSB
2. For each group write it’s Octal equivalent
Binary → Hex : Groups of 4 instead of 3
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2
Step 2: Disregard the whole number part of previous result and multiply once again by
2. The whole number part of the new result is the 2nd binary digit of the fraction, right
to the point.
Continue steps 1 and 2 till the decimal part becomes 0 or you see an infinite recurring
pattern.
Ex- 0.625 → 0.625 * 2 = 1.25 → 1 becomes first binary digit after the point
→ 0.25 * 2 = 0.50 → 0 becomes the 2nd binary digit representing the fraction
→ 0.50 * 2 = 1.00 → 1 becomes the 3rd and last binary digit for this fraction
(.625)10 = (.101)2