DE - Lecture 4 (Number System 4)
DE - Lecture 4 (Number System 4)
DIGITAL ELECTRONICS
NUMBER SYSTEM - 4
Sachin Chawla
Assistant Professor
University Institute of Computing DISCOVER . LEARN . EMPOWER
2
HEAD OF DEPARTMENT
“ Discover, Learn
& Empower ”
VISION
“To be a Centre of Excellence for nurturing
computer professionals with strong application
expertise through experiential learning and research
for matching the requirements of industry and
society instilling in them the spirit of innovation
and entrepreneurship.”
3
UNIVERSITY INSTITUTE OF COMPUTING
• A center of Innovation for converting dreams into reality.
• Top companies such as Microsoft, HPE, IBM, Oracle, Red Hat, etc. give our students an exclusive edge over others.
Binary to Decimal Number System
1 * 20 = 1
1 * 21 = 2
0 * 22 = 0
1 * 23 = 8
(1011)2 = (11)10 11
Binary to Decimal Number system
Example 2: Convert (1011110)2 into Decimal Number system
27 26 25 24 23 22 21 20
Solution : 1 0 1 1 1 1 1 0 (1011110)2 = (190)10
0 * 20 = 0
1 * 21 = 2
1 * 22 = 4
1 * 23 = 8
1 * 24 = 16
1 * 25 = 32
0 * 26 = 0
1 * 27 = 128
Octal to Decimal Number System
6 * 80 = 6
4 * 81 = 32
7 * 82 = 448
5 * 83 = 1536
(5746)8 = (2022)10 2022
Octal to Decimal Number system
Example 2: Convert (1567102)8 into Decimal Number system
86 85 84 83 82 81 80
Solution : 1 5 6 7 1 0 2
2 * 80 = 2
0* 81 = 0
1 * 82 = 64
7 * 83 = 3584
6 * 84 = 24576
5 * 85 = 163840
1 * 86 = 262144
(1567102)8 = (454390)10 454390
Hexadecimal to Decimal Number
7 * 160 = 7
13 * 161 = 208
10 * 162 = 2560
9 * 163 = 36864
(9AD7)16 = (39639)10 39639
Octal to Decimal Number system
Example 2 : Convert (103BF)16 into Decimal Number system
1 160
16416 3
16 2 16
Solution : 1 0 3 B F
15 * 160 = 15
11 * 162 = 176
3 * 162 = 768
0 * 163 = 0
1 * 164 = 65536
(103BF)16 = (66495)10 66495
Applications
• The encoding of any type of image can be possible with the help of Digital
Binary Format
• Digital encoding is the process of taking data and representing it with discrete bits of
information.
• Binary number system are also used in the ASCII table to represent different codes for
different characters which then can be used into computing as well.
• When we type some letters or words, the computer translates them in numbers as
computers can understand only numbers.
Frequently Asked Questions
Number Remarks
systems (Write Answer)
(38)8 ales
(?) 10
(375)16 (?)10
(101101)2 (?)10
(ABCD)16 (?)10
THANKS