SlideShare a Scribd company logo
Department of Mechanical Engineering
NIT, ARUNACHAL PRADESH
Number System
(Representation and Conversion)
INTRODUCTION :
Number System ?
NUMBER SYSTEM IN DIGITAL ELECTRONICS
1. Decimal Number
2. Binary Number
3. Octal Number
4. Hexadecimal
Number
5. BCD Number
6. Excess 3 Code
Used by Humans
Used by Computer
Digital System
COMMON NUMBER SYSTEM
Number Base Allowable Digits / Characters Symbol
Decimal (D) 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 … 10
Binary (B) 2 0, 1 … 2
Octal (O) 8 0, 1, 2, 3, 4, 5, 6, 7 … 8
Hexadecimal (H) 16
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E,
F … 16
CONVERSION
1. B / O / H  D
2. D  B / O / H
3. O / H  B  H / O
Decimal Hexadecimal Octal Binary
0 0 0 0
1 1 1 1
2 2 2 10
3 3 3 11
4 4 4 100
5 5 5 101
6 6 6 110
7 7 7 111
8 8 10 1000
9 9 11 1001
10 A 12 1010
11 B 13 1011
12 C 14 1100
13 D 15 1101
14 E 16 1110
15 F 17 1111
1. B / O / H  D
(AnAn-1 - - - - A1A0)B (N)10
N = AnBn + An-1Bn-1 + ------ + A2B2 + A1B1 + A0B0
Example
(10101)2 ( )10
(1357)8 ( )10
(A2D)16 ( )10
21
751
2605
2. D  B / O /
H
(N)10 (AnAn-1 - - - - A1A0)B
B N
B N1 A0
- - A1
- - -
- - -
B Nn-1 -
An = Nn An-1
Example
(55)10 ( )2
(55)10 ( )8
(55)10 ( )16
110111
67
37
3. O / H  B  H / O
Example
(473)8 ( )2100111011
(An --- A1A0)8 (an3an2an1 --- a13a12a11 a03a02a01)2
(An --- A1A0)16 (an4an3an2an1 --- a14a13a12a11 a04a03a02a01)2
( )1613B
TRY YOURSELF
( )16
( )2
( )10
11111101
( )8
FB
253
375
( )10
( )8
( )2
140336
( )16
49374
1100000011011110
C0DE
PROGRAMMING LANGUAGE
MACHINE LANGUAGE VS ASSEMBLY LANGUAGE
Number system | Representation and conversion | low level programming

More Related Content

PDF
3. logic 101
PDF
Lab 4 Three-Bit Binary Adder
PDF
Lab 3 Multi-Function Gate
PDF
Lab 2-Simple Combinational Logic
PDF
Vlsi technology june 2013 (1)
PDF
Funções 2
PPT
Toc CFG cfl properties
PPT
unit 1 COMPUTER ORGANIZATION AND ARCHITECTUREPPT
3. logic 101
Lab 4 Three-Bit Binary Adder
Lab 3 Multi-Function Gate
Lab 2-Simple Combinational Logic
Vlsi technology june 2013 (1)
Funções 2
Toc CFG cfl properties
unit 1 COMPUTER ORGANIZATION AND ARCHITECTUREPPT

Similar to Number system | Representation and conversion | low level programming (20)

PDF
A109211002 switchingtheoryandlogicdesign1
PPT
45196656565656565656565656565656565656566.ppt
PPTX
Unit 1 PDF.pptx
PPT
Mba ebooks
PPT
Video lectures
PPTX
Digital-Logic40124sequential circuits logic gatepptx
PPT
IMPLEMENTING A DIGITAL MULTIMETER
PDF
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
PDF
unit-i-number-systems.pdf
PDF
TC7S08F PSpice Model (Free SPICE Model)
PPT
PDF
D25XB80 PSpice Model (Free SPICE Model)
PDF
D25XB80 LTspice Model (Free SPICE Model)
PDF
TLP172A PSpice Model (Free SPICE Model)
PDF
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)
PPTX
Understand data representation on CPU 1
PDF
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
PDF
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
A109211002 switchingtheoryandlogicdesign1
45196656565656565656565656565656565656566.ppt
Unit 1 PDF.pptx
Mba ebooks
Video lectures
Digital-Logic40124sequential circuits logic gatepptx
IMPLEMENTING A DIGITAL MULTIMETER
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
unit-i-number-systems.pdf
TC7S08F PSpice Model (Free SPICE Model)
D25XB80 PSpice Model (Free SPICE Model)
D25XB80 LTspice Model (Free SPICE Model)
TLP172A PSpice Model (Free SPICE Model)
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)
Understand data representation on CPU 1
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
Ad

More from Gajendra Singh (7)

PDF
3d Bioprinting
PDF
Sensors (Potentiometer and Strain Gauge)
PDF
Flue gas desulphurization report
PPTX
Flue gas desulphurization
DOCX
Main report
DOCX
Green Engine Final Report
PPTX
Green Engine PPT
3d Bioprinting
Sensors (Potentiometer and Strain Gauge)
Flue gas desulphurization report
Flue gas desulphurization
Main report
Green Engine Final Report
Green Engine PPT
Ad

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
Mechanical Engineering MATERIALS Selection
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Digital Logic Computer Design lecture notes
PPTX
Geodesy 1.pptx...............................................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Current and future trends in Computer Vision.pptx
PDF
composite construction of structures.pdf
PPTX
Sustainable Sites - Green Building Construction
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Construction Project Organization Group 2.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mechanical Engineering MATERIALS Selection
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Digital Logic Computer Design lecture notes
Geodesy 1.pptx...............................................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Current and future trends in Computer Vision.pptx
composite construction of structures.pdf
Sustainable Sites - Green Building Construction
R24 SURVEYING LAB MANUAL for civil enggi
additive manufacturing of ss316l using mig welding
Construction Project Organization Group 2.pptx
UNIT 4 Total Quality Management .pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Safety Seminar civil to be ensured for safe working.
Mitigating Risks through Effective Management for Enhancing Organizational Pe...

Number system | Representation and conversion | low level programming

  • 1. Department of Mechanical Engineering NIT, ARUNACHAL PRADESH Number System (Representation and Conversion)
  • 3. NUMBER SYSTEM IN DIGITAL ELECTRONICS 1. Decimal Number 2. Binary Number 3. Octal Number 4. Hexadecimal Number 5. BCD Number 6. Excess 3 Code Used by Humans Used by Computer Digital System
  • 4. COMMON NUMBER SYSTEM Number Base Allowable Digits / Characters Symbol Decimal (D) 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 … 10 Binary (B) 2 0, 1 … 2 Octal (O) 8 0, 1, 2, 3, 4, 5, 6, 7 … 8 Hexadecimal (H) 16 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F … 16
  • 5. CONVERSION 1. B / O / H  D 2. D  B / O / H 3. O / H  B  H / O Decimal Hexadecimal Octal Binary 0 0 0 0 1 1 1 1 2 2 2 10 3 3 3 11 4 4 4 100 5 5 5 101 6 6 6 110 7 7 7 111 8 8 10 1000 9 9 11 1001 10 A 12 1010 11 B 13 1011 12 C 14 1100 13 D 15 1101 14 E 16 1110 15 F 17 1111
  • 6. 1. B / O / H  D (AnAn-1 - - - - A1A0)B (N)10 N = AnBn + An-1Bn-1 + ------ + A2B2 + A1B1 + A0B0 Example (10101)2 ( )10 (1357)8 ( )10 (A2D)16 ( )10 21 751 2605
  • 7. 2. D  B / O / H (N)10 (AnAn-1 - - - - A1A0)B B N B N1 A0 - - A1 - - - - - - B Nn-1 - An = Nn An-1 Example (55)10 ( )2 (55)10 ( )8 (55)10 ( )16 110111 67 37
  • 8. 3. O / H  B  H / O Example (473)8 ( )2100111011 (An --- A1A0)8 (an3an2an1 --- a13a12a11 a03a02a01)2 (An --- A1A0)16 (an4an3an2an1 --- a14a13a12a11 a04a03a02a01)2 ( )1613B
  • 9. TRY YOURSELF ( )16 ( )2 ( )10 11111101 ( )8 FB 253 375 ( )10 ( )8 ( )2 140336 ( )16 49374 1100000011011110 C0DE
  • 11. MACHINE LANGUAGE VS ASSEMBLY LANGUAGE