SlideShare a Scribd company logo
1 of 12
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

Similar to Number system | Representation and conversion | low level programming

A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1jntuworld
 
Unit 1 PDF.pptx
Unit 1 PDF.pptxUnit 1 PDF.pptx
Unit 1 PDF.pptxChandraV13
 
Video lectures
Video lecturesVideo lectures
Video lecturesEdhole.com
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxssuser6feece1
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERVijay Elavunkal
 
unit-i-number-systems.pdf
unit-i-number-systems.pdfunit-i-number-systems.pdf
unit-i-number-systems.pdfRameshK531901
 
TC7S08F PSpice Model (Free SPICE Model)
TC7S08F PSpice Model  (Free SPICE Model)TC7S08F PSpice Model  (Free SPICE Model)
TC7S08F PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
D25XB80 PSpice Model (Free SPICE Model)
D25XB80  PSpice Model (Free SPICE Model)D25XB80  PSpice Model (Free SPICE Model)
D25XB80 PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
D25XB80 LTspice Model (Free SPICE Model)
D25XB80  LTspice Model (Free SPICE Model)D25XB80  LTspice Model (Free SPICE Model)
D25XB80 LTspice Model (Free SPICE Model)Tsuyoshi Horigome
 
TLP172A PSpice Model (Free SPICE Model)
TLP172A PSpice Model  (Free SPICE Model)TLP172A PSpice Model  (Free SPICE Model)
TLP172A PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)
2SK4017 (Standard Model) PSpice Model  (Free SPICE Model)2SK4017 (Standard Model) PSpice Model  (Free SPICE Model)
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
Understand data representation on CPU 1
Understand data representation on CPU 1Understand data representation on CPU 1
Understand data representation on CPU 1Brenda Debra
 
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)ssuser1dac46
 
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARKSPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARKTsuyoshi Horigome
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdfFloraKara
 
TLP3120 PSpice Model (Free SPICE Model)
TLP3120 PSpice Model  (Free SPICE Model)TLP3120 PSpice Model  (Free SPICE Model)
TLP3120 PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 

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

A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1
 
Unit 1 PDF.pptx
Unit 1 PDF.pptxUnit 1 PDF.pptx
Unit 1 PDF.pptx
 
Video lectures
Video lecturesVideo lectures
Video lectures
 
Mba ebooks
Mba ebooksMba ebooks
Mba ebooks
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
197e
197e197e
197e
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
 
unit-i-number-systems.pdf
unit-i-number-systems.pdfunit-i-number-systems.pdf
unit-i-number-systems.pdf
 
TC7S08F PSpice Model (Free SPICE Model)
TC7S08F PSpice Model  (Free SPICE Model)TC7S08F PSpice Model  (Free SPICE Model)
TC7S08F PSpice Model (Free SPICE Model)
 
om
omom
om
 
D25XB80 PSpice Model (Free SPICE Model)
D25XB80  PSpice Model (Free SPICE Model)D25XB80  PSpice Model (Free SPICE Model)
D25XB80 PSpice Model (Free SPICE Model)
 
D25XB80 LTspice Model (Free SPICE Model)
D25XB80  LTspice Model (Free SPICE Model)D25XB80  LTspice Model (Free SPICE Model)
D25XB80 LTspice Model (Free SPICE Model)
 
TLP172A PSpice Model (Free SPICE Model)
TLP172A PSpice Model  (Free SPICE Model)TLP172A PSpice Model  (Free SPICE Model)
TLP172A PSpice Model (Free SPICE Model)
 
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)
2SK4017 (Standard Model) PSpice Model  (Free SPICE Model)2SK4017 (Standard Model) PSpice Model  (Free SPICE Model)
2SK4017 (Standard Model) PSpice Model (Free SPICE Model)
 
Understand data representation on CPU 1
Understand data representation on CPU 1Understand data representation on CPU 1
Understand data representation on CPU 1
 
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
LIFOTRONICS GH-900 Plus LIS HOST MENU(INTERFACE)
 
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARKSPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
SPICE MODEL of TPCA8062-H (Standard+BDS Model) in SPICE PARK
 
1.pdf
1.pdf1.pdf
1.pdf
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
 
TLP3120 PSpice Model (Free SPICE Model)
TLP3120 PSpice Model  (Free SPICE Model)TLP3120 PSpice Model  (Free SPICE Model)
TLP3120 PSpice Model (Free SPICE Model)
 

More from Gajendra Singh

Sensors (Potentiometer and Strain Gauge)
Sensors (Potentiometer and Strain Gauge)Sensors (Potentiometer and Strain Gauge)
Sensors (Potentiometer and Strain Gauge)Gajendra Singh
 
Flue gas desulphurization report
Flue gas desulphurization reportFlue gas desulphurization report
Flue gas desulphurization reportGajendra Singh
 
Flue gas desulphurization
Flue gas desulphurizationFlue gas desulphurization
Flue gas desulphurizationGajendra Singh
 
Green Engine Final Report
Green Engine Final ReportGreen Engine Final Report
Green Engine Final ReportGajendra Singh
 

More from Gajendra Singh (7)

3d Bioprinting
3d Bioprinting3d Bioprinting
3d Bioprinting
 
Sensors (Potentiometer and Strain Gauge)
Sensors (Potentiometer and Strain Gauge)Sensors (Potentiometer and Strain Gauge)
Sensors (Potentiometer and Strain Gauge)
 
Flue gas desulphurization report
Flue gas desulphurization reportFlue gas desulphurization report
Flue gas desulphurization report
 
Flue gas desulphurization
Flue gas desulphurizationFlue gas desulphurization
Flue gas desulphurization
 
Main report
Main reportMain report
Main report
 
Green Engine Final Report
Green Engine Final ReportGreen Engine Final Report
Green Engine Final Report
 
Green Engine PPT
Green Engine PPTGreen Engine PPT
Green Engine PPT
 

Recently uploaded

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 

Recently uploaded (20)

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 

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