SlideShare une entreprise Scribd logo
1  sur  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..

Contenu connexe

Tendances (20)

Number+system (1)
Number+system (1)Number+system (1)
Number+system (1)
 
Number System
Number SystemNumber System
Number System
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
 
Number system
Number systemNumber system
Number system
 
Number system
Number systemNumber system
Number system
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Data representation
Data representationData representation
Data representation
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
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
Number SystemNumber System
Number System
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 

En vedette

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
 

En vedette (8)

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
 

Similaire à 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
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
Anup Barman number system electronicdevice ECE.pptx
Anup Barman number system electronicdevice ECE.pptxAnup Barman number system electronicdevice ECE.pptx
Anup Barman number system electronicdevice ECE.pptxanupbarmancoochbehar
 

Similaire à 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
 
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
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Anup Barman number system electronicdevice ECE.pptx
Anup Barman number system electronicdevice ECE.pptxAnup Barman number system electronicdevice ECE.pptx
Anup Barman number system electronicdevice ECE.pptx
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
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
 

Dernier (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.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
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 

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