SlideShare a Scribd company logo
NUMBER SYSTEM
BY:DHARMENDRA CHAUHAN
CHAPTER-1
DIGITAL ELECTRONICS
Created By: Dharmendra A. Chauhan
Number System
 Contents
: Introduction of Number System
 Different Types Of RadixBase
 Base Conversion
 Addition, Subtraction
Created By: Dharmendra A. Chauhan
Number System
 Introductio
n:• The base of all system is a number system.
• There are four main number system in world.
1.Decimal
2.Binary
3.Octal
4.Hexadecimal
• The binary system are widely used in digital system.
• Everyday used in our life
• When binary system in no of digit is more then hexadecimal & octal system in digital
system.
Created By: Dharmendra A. Chauhan
Number System
 Different Types Of
RadixBase:
o Decimal Number System:
Radix: radix means base value.
• The decimal number system has 10 digits(0,1,2,3,4,5,6,7,8,9).
• The decimal number system has a base or radix of 10.
Decimal
Point
… … … · 10 𝑛 · 102 · 101· 100 · 10−1· 10−2 · 10−3 · 10−𝑛………..
Created By: Dharmendra A. Chauhan
Number System
o Binary Number System:
• The binary system used in digital system.
• i.e. computer, programming etc.
• The binary number system has 2 digits(0,1).
• The binary number system has a base or radix of 2.
• Weight:
MSB(Most Significant Bit)
LSB(Least Significant Bit)
… … … · 2 𝑛 · 22 · 21· 20 · 2−1· 2−2 · 2−3 · 2−𝑛………..
Binary
Point
MSB
LSB
0010100
(Least Significant Bit)(Most Significant Bit)
Created By: Dharmendra A. Chauhan
Number System
Page 5
o Octal Number System:
• The octal number system has 8 digits(0,1,2,3,4,5,6,7).
• The binary number system has a base or radix of 8.
… … … · 8 𝑛
· 82
· 81
· 80
· 8−1
· 8−2
· 8−3
· 8−𝑛
………..
Octal Point
Created By: Dharmendra A. Chauhan
Number System
o Hexadecimal Number
System:
• The hexadecimal number system has 16 digits(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
• The hexadecimal number system has a base or radix of 16.
Hexadecimal
Point
… … … · 16 𝑛
· 162
· 161
· 160
· 16−1
· 16−2
· 16−3
· 16−𝑛
………..
Created By: Dharmendra A. Chauhan
Number System
 Base Conversion:
 Conversion from any Radix to
Decimal:
• Binary to Decimal
• Octal to Decimal
• Hexadecimal to Decimal
Created By: Dharmendra A. Chauhan
Number System
o Binary to Decimal:
 Integer Number Example:
Example 1: 0110 2 ? 10
Solution:
0 x 23 + 1 x 22 +1 x 21 +0 x 20
0 4 2 0
=
=
= 0+4+2+0
6=
Created By: Dharmendra A. Chauhan
Number System
o Binary to Decimal:
 Fraction Number Example:
Example 2: 010.101 2 ? 10
Solution:
0 x 22 + 1 x 21 + 1 x 20 · 1 x 2−1 +0 x 2−2 +1 x 2−3
0 2 0 0.5
=
=
= 0+2+0+0.5+0+0.1.25
2.625=
0 0.125
Created By: Dharmendra A. Chauhan
Number System
o Octal to Decimal:
 Example:
Example 3: 113 8 ? 10
Solution: 1 x 82 + 1 x 81 + 3x 80
64 8 3
=
=
= 64+8+3
75=
Created By: Dharmendra A. Chauhan
Number System
o Hexadecimal to Decimal:
 Example:
Example 4: 16F2 16 ? 10
Solution: 1 x 163 + 4 x 162 + 15x161 + 2x160
4096 1536
=
=
= 4096+1536+240+2
5874=
240
F=15
Created By: Dharmendra A. Chauhan
Number System
 Conversion from Decimal, Binary, Octal to
any Radix:
• Decimal to Binary
• Decimal to Octal
• Decimal to Hexadecimal
• Binary to Octal
• Binary to Hexadecimal
• Octal to Hexadecimal
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Binary
2 105 1
2 52 0
2 26 0
2 13 1
2 6 0
2 3 1
2 1 1
0
Remainder
 Integer Number Example:
Example 5: 105 10 ? 2
Solution:
LSB
MSB
So, The Answer is
105 10 1101001 2
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Binary
Remainder
Example 6: 0.17 10 ? 2
Solution:
MSB
LSB
So, The Answer is
0.17 10 0.0010101 2
0.17x2=0.34
0
0.34x2=0.68
0
0.68x2=1.36
1
0.36x2=0.72
0
 Fraction Numbers
Example
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Octal
8 135 7
8 16 0
8 2 2
0
Remainder
Example:
Example 7: 105 10 ? 8
Solution:
LSB
MSB
So, The Answer is
105 10 207 2
Created By: Dharmendra A. Chauhan
Number System
o Decimal to Hexadecimal
16 3509 5
16 219 11=B
16 13 13=D
0
Remainder
Example 8: 3509 10 ? 16
Solution:
LSB
MSB
So, The Answer is
105 10 DB5 2
Created By: Dharmendra A. Chauhan
Number System
o Binary to Hexadecimal
Example 9: 001100 2 ? 8
Solution:
1 4 So, The Answer is
001100 2 14 8
001 100
Created By: Dharmendra A. Chauhan
Number System
o Binary to Octal
Example 10: 000111100000 2 ? 16
Solution:
1 14=E 0 So, The Answer is
000111100000 2 1E0 8
0001 1110 0000
Created By: Dharmendra A. Chauhan
Number System
o Octal to Hexadecimal
Example 11: 000111100000 2 ? 16
Solution:
1 14=E 0 So, The Answer is
000111100000 2 1E0 8
0001 1110 0000
Created By: Dharmendra A. Chauhan
Number System
o Addition
11
1101
1100
Example 12:Perform addition of
1101 2 𝑎𝑛𝑑 1100 2
+
11001
Carry
Answer
Answer:
Example 13:Perform addition of
101.111 2 𝑎𝑛𝑑 110.011 2
Addition Rule
Carry
0+0=0 -
0+1=1 -
1+0=1 -
1+1=10 10
1111.11
101.111
110.011
1100.01
0
Answer
Answer:
+
Carry
Created By: Dharmendra A. Chauhan
Number System
o Subtraction
1101
1100
Example 12:Perform addition of
1101 2 𝑎𝑛𝑑 1100 2
-
10001
Carry
Answer
Answer:
Example 13:Perform addition of
101.111 2 𝑎𝑛𝑑 110.011 2
Subtraction
Rule
1-1=0 0
1-0=0 -
0-1=1 1
0-0=0 0
1111.11
101.111
110.011
1100.01
0
Answer
Answer:
+
Carry
Thank You for Watching My Presentation

More Related Content

What's hot

Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
Aman anand kumar
 
Number System
Number SystemNumber System
Number System
Zahid Rajeel
 
Conversion of Number Systems
Conversion of Number SystemsConversion of Number Systems
Conversion of Number Systems
Sanjeev Kumar Prajapati
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number system
ISMT College
 
Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
Pooja Dixit
 
01.number systems
01.number systems01.number systems
01.number systems
Sripati Mahapatra
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 
Number system
Number systemNumber system
Number system
Palash Sachan
 
Computer number systems
Computer number systemsComputer number systems
Computer number systemsRevi Shahini
 
Number system
Number systemNumber system
Number system
Suraj Bora
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
AmberSinghal1
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
student
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
 
Data Representation
Data RepresentationData Representation
Data Representation
Dilum Bandara
 
Number system....
Number system....Number system....
Number system....mshoaib15
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
Adeel Rasheed
 
Number system logic gates
Number system logic gatesNumber system logic gates
Number system logic gates
Jaipal Dhobale
 
Number system
Number systemNumber system
Number system
Darpan Chelani
 

What's hot (20)

Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
Number System
Number SystemNumber System
Number System
 
Number System
Number SystemNumber System
Number System
 
Conversion of Number Systems
Conversion of Number SystemsConversion of Number Systems
Conversion of Number Systems
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number system
 
Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
01.number systems
01.number systems01.number systems
01.number systems
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 
Number system
Number systemNumber system
Number system
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
Number system
Number systemNumber system
Number system
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Number system....
Number system....Number system....
Number system....
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Number system logic gates
Number system logic gatesNumber system logic gates
Number system logic gates
 
control unit
control unitcontrol unit
control unit
 
Number system
Number systemNumber system
Number system
 

Similar to Number system

Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
AshishChandrakar12
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
Ram Pratap Singh
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
Rabiul Sarker
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
4NM21IS132SAISHARATH
 
Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptx
ssuserf8309e1
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
must322322
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
shivas379526
 
Digital basics
Digital basicsDigital basics
Digital basics
imran khan
 
number system
number systemnumber system
number system
Pawan Mishra
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
Susantha Herath
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary Aritmetics
Delowar Hossain
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
Number systems
Number systemsNumber systems
Number systemsKumar
 
data representation
 data representation data representation
data representation
Haroon_007
 
Data representation
Data representationData representation
Data representation
Prof. Dr. K. Adisesha
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
arunachalamr16
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
John Todora
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
muhammadsarab
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
Wollo UNiversity
 
Number Systems.pptx
Number Systems.pptxNumber Systems.pptx
Number Systems.pptx
ujjwal350034
 

Similar to Number system (20)

Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
Digital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptxDigital logic -Number System Representation.pptx
Digital logic -Number System Representation.pptx
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Digital basics
Digital basicsDigital basics
Digital basics
 
number system
number systemnumber system
number system
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
Number Systems and Binary Aritmetics
Number Systems and Binary AritmeticsNumber Systems and Binary Aritmetics
Number Systems and Binary Aritmetics
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number systems
Number systemsNumber systems
Number systems
 
data representation
 data representation data representation
data representation
 
Data representation
Data representationData representation
Data representation
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Number Systems.pptx
Number Systems.pptxNumber Systems.pptx
Number Systems.pptx
 

Recently uploaded

Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 

Recently uploaded (20)

Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 

Number system

  • 2. Created By: Dharmendra A. Chauhan Number System  Contents : Introduction of Number System  Different Types Of RadixBase  Base Conversion  Addition, Subtraction
  • 3. Created By: Dharmendra A. Chauhan Number System  Introductio n:• The base of all system is a number system. • There are four main number system in world. 1.Decimal 2.Binary 3.Octal 4.Hexadecimal • The binary system are widely used in digital system. • Everyday used in our life • When binary system in no of digit is more then hexadecimal & octal system in digital system.
  • 4. Created By: Dharmendra A. Chauhan Number System  Different Types Of RadixBase: o Decimal Number System: Radix: radix means base value. • The decimal number system has 10 digits(0,1,2,3,4,5,6,7,8,9). • The decimal number system has a base or radix of 10. Decimal Point … … … · 10 𝑛 · 102 · 101· 100 · 10−1· 10−2 · 10−3 · 10−𝑛………..
  • 5. Created By: Dharmendra A. Chauhan Number System o Binary Number System: • The binary system used in digital system. • i.e. computer, programming etc. • The binary number system has 2 digits(0,1). • The binary number system has a base or radix of 2. • Weight: MSB(Most Significant Bit) LSB(Least Significant Bit) … … … · 2 𝑛 · 22 · 21· 20 · 2−1· 2−2 · 2−3 · 2−𝑛……….. Binary Point MSB LSB 0010100 (Least Significant Bit)(Most Significant Bit)
  • 6. Created By: Dharmendra A. Chauhan Number System Page 5 o Octal Number System: • The octal number system has 8 digits(0,1,2,3,4,5,6,7). • The binary number system has a base or radix of 8. … … … · 8 𝑛 · 82 · 81 · 80 · 8−1 · 8−2 · 8−3 · 8−𝑛 ……….. Octal Point
  • 7. Created By: Dharmendra A. Chauhan Number System o Hexadecimal Number System: • The hexadecimal number system has 16 digits(0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F). • The hexadecimal number system has a base or radix of 16. Hexadecimal Point … … … · 16 𝑛 · 162 · 161 · 160 · 16−1 · 16−2 · 16−3 · 16−𝑛 ………..
  • 8. Created By: Dharmendra A. Chauhan Number System  Base Conversion:  Conversion from any Radix to Decimal: • Binary to Decimal • Octal to Decimal • Hexadecimal to Decimal
  • 9. Created By: Dharmendra A. Chauhan Number System o Binary to Decimal:  Integer Number Example: Example 1: 0110 2 ? 10 Solution: 0 x 23 + 1 x 22 +1 x 21 +0 x 20 0 4 2 0 = = = 0+4+2+0 6=
  • 10. Created By: Dharmendra A. Chauhan Number System o Binary to Decimal:  Fraction Number Example: Example 2: 010.101 2 ? 10 Solution: 0 x 22 + 1 x 21 + 1 x 20 · 1 x 2−1 +0 x 2−2 +1 x 2−3 0 2 0 0.5 = = = 0+2+0+0.5+0+0.1.25 2.625= 0 0.125
  • 11. Created By: Dharmendra A. Chauhan Number System o Octal to Decimal:  Example: Example 3: 113 8 ? 10 Solution: 1 x 82 + 1 x 81 + 3x 80 64 8 3 = = = 64+8+3 75=
  • 12. Created By: Dharmendra A. Chauhan Number System o Hexadecimal to Decimal:  Example: Example 4: 16F2 16 ? 10 Solution: 1 x 163 + 4 x 162 + 15x161 + 2x160 4096 1536 = = = 4096+1536+240+2 5874= 240 F=15
  • 13. Created By: Dharmendra A. Chauhan Number System  Conversion from Decimal, Binary, Octal to any Radix: • Decimal to Binary • Decimal to Octal • Decimal to Hexadecimal • Binary to Octal • Binary to Hexadecimal • Octal to Hexadecimal
  • 14. Created By: Dharmendra A. Chauhan Number System o Decimal to Binary 2 105 1 2 52 0 2 26 0 2 13 1 2 6 0 2 3 1 2 1 1 0 Remainder  Integer Number Example: Example 5: 105 10 ? 2 Solution: LSB MSB So, The Answer is 105 10 1101001 2
  • 15. Created By: Dharmendra A. Chauhan Number System o Decimal to Binary Remainder Example 6: 0.17 10 ? 2 Solution: MSB LSB So, The Answer is 0.17 10 0.0010101 2 0.17x2=0.34 0 0.34x2=0.68 0 0.68x2=1.36 1 0.36x2=0.72 0  Fraction Numbers Example
  • 16. Created By: Dharmendra A. Chauhan Number System o Decimal to Octal 8 135 7 8 16 0 8 2 2 0 Remainder Example: Example 7: 105 10 ? 8 Solution: LSB MSB So, The Answer is 105 10 207 2
  • 17. Created By: Dharmendra A. Chauhan Number System o Decimal to Hexadecimal 16 3509 5 16 219 11=B 16 13 13=D 0 Remainder Example 8: 3509 10 ? 16 Solution: LSB MSB So, The Answer is 105 10 DB5 2
  • 18. Created By: Dharmendra A. Chauhan Number System o Binary to Hexadecimal Example 9: 001100 2 ? 8 Solution: 1 4 So, The Answer is 001100 2 14 8 001 100
  • 19. Created By: Dharmendra A. Chauhan Number System o Binary to Octal Example 10: 000111100000 2 ? 16 Solution: 1 14=E 0 So, The Answer is 000111100000 2 1E0 8 0001 1110 0000
  • 20. Created By: Dharmendra A. Chauhan Number System o Octal to Hexadecimal Example 11: 000111100000 2 ? 16 Solution: 1 14=E 0 So, The Answer is 000111100000 2 1E0 8 0001 1110 0000
  • 21. Created By: Dharmendra A. Chauhan Number System o Addition 11 1101 1100 Example 12:Perform addition of 1101 2 𝑎𝑛𝑑 1100 2 + 11001 Carry Answer Answer: Example 13:Perform addition of 101.111 2 𝑎𝑛𝑑 110.011 2 Addition Rule Carry 0+0=0 - 0+1=1 - 1+0=1 - 1+1=10 10 1111.11 101.111 110.011 1100.01 0 Answer Answer: + Carry
  • 22. Created By: Dharmendra A. Chauhan Number System o Subtraction 1101 1100 Example 12:Perform addition of 1101 2 𝑎𝑛𝑑 1100 2 - 10001 Carry Answer Answer: Example 13:Perform addition of 101.111 2 𝑎𝑛𝑑 110.011 2 Subtraction Rule 1-1=0 0 1-0=0 - 0-1=1 1 0-0=0 0 1111.11 101.111 110.011 1100.01 0 Answer Answer: + Carry
  • 23. Thank You for Watching My Presentation