SlideShare uma empresa Scribd logo
1 de 29
Number System
Created By: Palash
Sachan
CONTENTS
 Introduction
 Decimal Number System
 Binary Number System
 Why Binary?
 Octal Number System
 Hexadecimal Number System
 Relationship between Hexadecimal, Octal,
Decimal, and Binary
 Number Conversions
INTRODUCTION
In early days when there were no means of
counting, people use to count with the help of
fingers, stones, sticks, etc.
These methods were not adequate and had many
limitations.
Many number system were introduced with the
passage of time like:
 Decimal Number System
 Binary Number System
 Octal Number System
 Hexadecimal Number System
Decimal Number System
• It consist of ten digit i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8,
9 with the base 10.
• Each number can be used individually or they
can be grouped to form a numeric value as
85,48,35,456 etc.
BINARY NUMBER SYSTEM
• The Binary Number System consist of only two
digits– 0 and 1.
• Since this system use two digits, it has the
base 2.
• All digital computer use this number system
and convert the data input from the decimal
format into its binary equivalent.
Why Binary?
Since the computer is made up of electronic
components; it can have only two states, either
• On(1)
• Off(0)
The data which is given to the computer is
converted into binary form because a computer
understand only binary language.
It further converts the binary results into their
decimal equivalents for output.
Octal Number System
 In the Octal Number System it consist of 8
digits i.e. 0, 1, 2, 3, 4, 5, 6, 7 with a base 8.
 The sequence of octal number goes as 0, 1, 2,
3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 20,
21, 22, …..as go on.
 See each successive number after 7 is a
combination of two or more unique symbols of
octal system.
Hexadecimal Number System
 The Hexadecimal system use base 16.
 It has 16 possible digit symbol.
 It use the digit 0 through 9 plus the letters A, B,
C, D, E, and F as the 16 digit symbols.
Relationship between Hexadecimal, Octal,
Decimal, and Binary
 Notice that each
hexadecimal digit
represent a
group of four
binary digit. It Is
important to
remember that
Hex(Abbreviation
for Hexadecimal)
digit A through F
are equivalent to
the decimal value
10 through 15.
Hexadeci
mal
Octal Decimal Binary
0 0 0 0000
1 1 1 0001
2 2 2 0010
3 3 3 0011
4 4 4 0100
5 5 5 0101
6 6 6 0110
7 7 7 0111
8 10 8 1000
9 11 9 1001
A 12 10 1010
B 13 11 1011
C 14 12 1100
D 15 13 1101
E 16 14 1110
F 17 15 1111
NUMBER CONVERSIONS
Decimal-to-Binary Conversion
The method of converting Decimal to binary is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 2.
2. Write down the remainder and divide the
quotient by 2.
3. Repeat step 2 till the quotient is zero.
2 200 Remainders
2 100 0 LSB
2 50 0
2 25 0
Write
2 12 1 in
2 6 0 this
2 3 0
order
2 1 1
0 1 MSB
Binary-to-Decimal Conversion
To convert a binary number follow the steps:
1. Multiply each binary number with 2 having the
power 0 for last position, starting from the right
digit.
2. Increase the power one by one, with base as
2.
3. Sum up all the products to get decimal
number.
Decimal-to-Octal
The method of converting Decimal to Octal is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 8,
2. Write down the remainder and divide the
quotient by 8,
3. Repeat step 2 till the quotient is zero.
8 266 Remainders
8 33 2 LSB
8 4 1
0 4
MSB
Octal-to-Decimal Conversion
To convert a octal number follow the steps:
1. Multiply each binary number with 8 having the
power 0 for last position, starting from the right
digit.
2. Increase the power one by one, with base as
8.
3. Sum up all the products to get decimal
number.
Octal-to-Binary Conversion
The conversion from octal to binary is performed
by converting each octal digit to its 3-bit binary
equivalent.
The eight possible digits are converted as
indicated below:
Using these conversions, any octal number is
converted to binary by individually converting
each digit.
Octal Digit 0 1 2 3 4 5 6 7
Binary
Equivalent
000 001 010 011 100 101 110 111
Binary-to-Octal Conversion
Decimal-to-Hexadecimal Conversion
The method of converting Decimal to binary is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 16.
2. Write down the remainder and divide the
quotient by 16.
3. Repeat step 2 till the quotient is zero.
16 423 Remainders
16 26 7 LSB
16 1 A
0 1 MSB
Hexadecimal-to-Decimal Conversion
To convert a binary number follow the steps:
1. Multiply each binary number with 16 having
the power 0 for last position, starting from the
right digit.
2. Increase the power one by one, with base as
16.
3. Sum up all the products to get decimal
number.
Binary-to-Hexadecimal Conversion
Hexadecimal-to-Binary Conversion
Thank You For Attention
Any Query??? Ask Me..

Mais conteúdo relacionado

Mais procurados

Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Lovely Singh
 
Binary number system
Binary number systemBinary number system
Binary number systemNadeem Uddin
 
binary number system
 binary number system binary number system
binary number systemvishal gupta
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes VandanaPagar1
 
Decimal number system
Decimal number systemDecimal number system
Decimal number systemNisarg Amin
 
Number System
Number SystemNumber System
Number Systemitutor
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary tcc_joemarie
 
Number system
Number systemNumber system
Number systemSajib
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary numberguestd8696a
 
Number system and codes
Number system and codesNumber system and codes
Number system and codesAbhiraj Bohra
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMRishabh Kanth
 

Mais procurados (20)

Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Number System
Number SystemNumber System
Number System
 
Binary number system
Binary number systemBinary number system
Binary number system
 
binary number system
 binary number system binary number system
binary number system
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
Number System
Number SystemNumber System
Number System
 
Binary codes
Binary codesBinary codes
Binary codes
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
 
Number system
Number systemNumber system
Number system
 
Number system
Number systemNumber system
Number system
 
Representation of Negative Numbers
Representation of Negative NumbersRepresentation of Negative Numbers
Representation of Negative Numbers
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Bcd
BcdBcd
Bcd
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Number system
Number systemNumber system
Number system
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 

Destaque

number system
number systemnumber system
number systemvirly dwe
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gatesKumar
 
Transistor as an amplifier
Transistor as an amplifierTransistor as an amplifier
Transistor as an amplifierAnshu Kumar
 
Computer number systems
Computer number systemsComputer number systems
Computer number systemsRevi Shahini
 
number system school ppt ninth class
number system school ppt ninth classnumber system school ppt ninth class
number system school ppt ninth classManan Jain
 
3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)firozamin
 
Transistors ppt by behin
Transistors ppt by behinTransistors ppt by behin
Transistors ppt by behinBehin anben
 

Destaque (9)

Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
number system
number systemnumber system
number system
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Transistor as an amplifier
Transistor as an amplifierTransistor as an amplifier
Transistor as an amplifier
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
number system school ppt ninth class
number system school ppt ninth classnumber system school ppt ninth class
number system school ppt ninth class
 
3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)
 
Transistors ppt by behin
Transistors ppt by behinTransistors ppt by behin
Transistors ppt by behin
 

Semelhante a Number system

Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Jumaed
 
Number system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentNumber system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentAnupamBiswas67
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsshivas379526
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdfAsthaChaurasia4
 
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.pptxmust322322
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawabAmmar_n
 
Class 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMClass 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMrajdeepstudycs10
 
Numbersystemcont
NumbersystemcontNumbersystemcont
NumbersystemcontSajib
 
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_fa16John Todora
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 

Semelhante a Number system (20)

Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
 
Number system
Number systemNumber system
Number system
 
Number system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentNumber system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE department
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
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
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Class 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMClass 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEM
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Numbersystemcont
NumbersystemcontNumbersystemcont
Numbersystemcont
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 
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
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 

Último

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Último (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Number system

  • 2. CONTENTS  Introduction  Decimal Number System  Binary Number System  Why Binary?  Octal Number System  Hexadecimal Number System  Relationship between Hexadecimal, Octal, Decimal, and Binary  Number Conversions
  • 3. INTRODUCTION In early days when there were no means of counting, people use to count with the help of fingers, stones, sticks, etc. These methods were not adequate and had many limitations. Many number system were introduced with the passage of time like:  Decimal Number System  Binary Number System  Octal Number System  Hexadecimal Number System
  • 4. Decimal Number System • It consist of ten digit i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 with the base 10. • Each number can be used individually or they can be grouped to form a numeric value as 85,48,35,456 etc.
  • 5. BINARY NUMBER SYSTEM • The Binary Number System consist of only two digits– 0 and 1. • Since this system use two digits, it has the base 2. • All digital computer use this number system and convert the data input from the decimal format into its binary equivalent.
  • 6. Why Binary? Since the computer is made up of electronic components; it can have only two states, either • On(1) • Off(0) The data which is given to the computer is converted into binary form because a computer understand only binary language. It further converts the binary results into their decimal equivalents for output.
  • 7. Octal Number System  In the Octal Number System it consist of 8 digits i.e. 0, 1, 2, 3, 4, 5, 6, 7 with a base 8.  The sequence of octal number goes as 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22, …..as go on.  See each successive number after 7 is a combination of two or more unique symbols of octal system.
  • 8. Hexadecimal Number System  The Hexadecimal system use base 16.  It has 16 possible digit symbol.  It use the digit 0 through 9 plus the letters A, B, C, D, E, and F as the 16 digit symbols.
  • 9. Relationship between Hexadecimal, Octal, Decimal, and Binary  Notice that each hexadecimal digit represent a group of four binary digit. It Is important to remember that Hex(Abbreviation for Hexadecimal) digit A through F are equivalent to the decimal value 10 through 15. Hexadeci mal Octal Decimal Binary 0 0 0 0000 1 1 1 0001 2 2 2 0010 3 3 3 0011 4 4 4 0100 5 5 5 0101 6 6 6 0110 7 7 7 0111 8 10 8 1000 9 11 9 1001 A 12 10 1010 B 13 11 1011 C 14 12 1100 D 15 13 1101 E 16 14 1110 F 17 15 1111
  • 11. Decimal-to-Binary Conversion The method of converting Decimal to binary is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 2. 2. Write down the remainder and divide the quotient by 2. 3. Repeat step 2 till the quotient is zero.
  • 12. 2 200 Remainders 2 100 0 LSB 2 50 0 2 25 0 Write 2 12 1 in 2 6 0 this 2 3 0 order 2 1 1 0 1 MSB
  • 13. Binary-to-Decimal Conversion To convert a binary number follow the steps: 1. Multiply each binary number with 2 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 2. 3. Sum up all the products to get decimal number.
  • 14.
  • 15. Decimal-to-Octal The method of converting Decimal to Octal is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 8, 2. Write down the remainder and divide the quotient by 8, 3. Repeat step 2 till the quotient is zero.
  • 16. 8 266 Remainders 8 33 2 LSB 8 4 1 0 4 MSB
  • 17. Octal-to-Decimal Conversion To convert a octal number follow the steps: 1. Multiply each binary number with 8 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 8. 3. Sum up all the products to get decimal number.
  • 18.
  • 19. Octal-to-Binary Conversion The conversion from octal to binary is performed by converting each octal digit to its 3-bit binary equivalent. The eight possible digits are converted as indicated below: Using these conversions, any octal number is converted to binary by individually converting each digit. Octal Digit 0 1 2 3 4 5 6 7 Binary Equivalent 000 001 010 011 100 101 110 111
  • 20.
  • 22. Decimal-to-Hexadecimal Conversion The method of converting Decimal to binary is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 16. 2. Write down the remainder and divide the quotient by 16. 3. Repeat step 2 till the quotient is zero.
  • 23. 16 423 Remainders 16 26 7 LSB 16 1 A 0 1 MSB
  • 24. Hexadecimal-to-Decimal Conversion To convert a binary number follow the steps: 1. Multiply each binary number with 16 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 16. 3. Sum up all the products to get decimal number.
  • 25.
  • 28. Thank You For Attention