SlideShare a Scribd company logo
1 of 15
Binary Number System
 Base-two system
• Contains two digits, 0 and 1
 Place value
• Position of the 0 or 1 indicates its value within the
number
 Highest number that can be represented
• 2 - 1ⁿ
Figure 32-1. Decimal number and equivalent binary table.
 To convert decimal numbers to binary
• Divide the decimal number by 2
• Write down the remainder after each division
• The remainders, taken in reverse order, form the
binary number
 Octal numbers
• Allow reading of large binary numbers
• Breaks binary number into groups of three
• Base 8
Figure 32-2. Decimal and binary equivalent of octal numbers.
 To convert binary to an octal number
• Divide the binary number into groups of three
starting from the right
 To convert an octal number to binary
• Reverse process
• Convert the octal number to binary groups of
three
Figure 32-3. Place values of octal numbers.
 Hexadecimal number system
• Used with microprocessor-based systems
• Breaks binary number into groups of four
• Reduces error when entering data
• Base 16
 To convert binary to hexadecimal
number
• Divide the binary number into groups of four
starting from the right
 To convert hexadecimal number to
binary
• Reverse the process
• Convert the hexadecimal number to binary
groups of four
Figure 32-5. Place values of hexadecimal numbers.
 Binary-coded-decimal (BCD)
• 8421 code
• Consists of four binary digits
• Represents the digits 0 through 9
• Permits easy conversion between decimal and
binary form
 To express a decimal number in the 8421
code:
• Replace each decimal digit by the 4-bit code
 To determine a decimal number from an
8421 code:
• Break the code into groups of 4 bits
• Write the decimal digit represented by each 4-
bit group
 The binary number system contains two
digits, 0 and 1
• Place value increases by a power of 2
 To convert from decimal to binary:
• Divide the decimal number by 2
• Write down the remainder after each division
• The remainders, taken in reverse order, form the
binary number
 Similar steps are used to convert octal
and hexadecimal numbers to and from
decimal numbers as with the binary
number system
 The 8421 code (BCD) is used to represent
digits 0 through 9

More Related Content

What's hot (20)

Binary true ppt
Binary true pptBinary true ppt
Binary true ppt
 
Number system
Number systemNumber system
Number system
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
BCD.
BCD.BCD.
BCD.
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Bcd
BcdBcd
Bcd
 
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)
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Number system
Number systemNumber system
Number system
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 

Similar to binary number system

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
numbering system binary and decimal hex octal
numbering system binary and decimal hex octalnumbering system binary and decimal hex octal
numbering system binary and decimal hex octalnoor300491
 
1663694151.pdf
1663694151.pdf1663694151.pdf
1663694151.pdfnostavimle
 
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
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02muhammadsarab
 
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-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsshivas379526
 
02 number systems
02 number systems02 number systems
02 number systemsjohn01383
 

Similar to binary number system (20)

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
numbering system binary and decimal hex octal
numbering system binary and decimal hex octalnumbering system binary and decimal hex octal
numbering system binary and decimal hex octal
 
Conversion of Number Systems
Conversion of Number SystemsConversion of Number Systems
Conversion of Number Systems
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
1663694151.pdf
1663694151.pdf1663694151.pdf
1663694151.pdf
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
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.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 
Number system
Number systemNumber system
Number system
 
Number system
Number systemNumber system
Number system
 
Number system
Number systemNumber system
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]
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
02 number systems
02 number systems02 number systems
02 number systems
 
digital-180612132737.pdf
digital-180612132737.pdfdigital-180612132737.pdf
digital-180612132737.pdf
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 

More from vishal gupta

basic logic gates
 basic logic gates basic logic gates
basic logic gatesvishal gupta
 
amplifier applications
amplifier applicationsamplifier applications
amplifier applicationsvishal gupta
 
optoelectric devices
optoelectric devicesoptoelectric devices
optoelectric devicesvishal gupta
 
integrated circuits
 integrated circuits integrated circuits
integrated circuitsvishal gupta
 
field effect transistors
 field effect transistors field effect transistors
field effect transistorsvishal gupta
 
bipolar transistors
 bipolar transistors bipolar transistors
bipolar transistorsvishal gupta
 
pn junction diodes
pn junction diodespn junction diodes
pn junction diodesvishal gupta
 
semiconductor fundamentals
 semiconductor fundamentals semiconductor fundamentals
semiconductor fundamentalsvishal gupta
 
resonance circuits
 resonance circuits resonance circuits
resonance circuitsvishal gupta
 
inductive ac circuits
 inductive ac circuits inductive ac circuits
inductive ac circuitsvishal gupta
 
capacitive ac circuits
capacitive ac circuitscapacitive ac circuits
capacitive ac circuitsvishal gupta
 
resistive ac circuits
 resistive ac circuits resistive ac circuits
resistive ac circuitsvishal gupta
 

More from vishal gupta (20)

basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
waveshaping ckts
 waveshaping ckts waveshaping ckts
waveshaping ckts
 
oscillators
 oscillators oscillators
oscillators
 
amplifier applications
amplifier applicationsamplifier applications
amplifier applications
 
amplifier basics
 amplifier basics amplifier basics
amplifier basics
 
power supplies
 power supplies power supplies
power supplies
 
optoelectric devices
optoelectric devicesoptoelectric devices
optoelectric devices
 
integrated circuits
 integrated circuits integrated circuits
integrated circuits
 
thyristors
 thyristors thyristors
thyristors
 
field effect transistors
 field effect transistors field effect transistors
field effect transistors
 
bipolar transistors
 bipolar transistors bipolar transistors
bipolar transistors
 
zener diodes
 zener diodes zener diodes
zener diodes
 
pn junction diodes
pn junction diodespn junction diodes
pn junction diodes
 
semiconductor fundamentals
 semiconductor fundamentals semiconductor fundamentals
semiconductor fundamentals
 
transformers
 transformers transformers
transformers
 
resonance circuits
 resonance circuits resonance circuits
resonance circuits
 
inductive ac circuits
 inductive ac circuits inductive ac circuits
inductive ac circuits
 
capacitive ac circuits
capacitive ac circuitscapacitive ac circuits
capacitive ac circuits
 
resistive ac circuits
 resistive ac circuits resistive ac circuits
resistive ac circuits
 
ac measurements
 ac measurements ac measurements
ac measurements
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

binary number system

  • 2.  Base-two system • Contains two digits, 0 and 1  Place value • Position of the 0 or 1 indicates its value within the number  Highest number that can be represented • 2 - 1ⁿ
  • 3. Figure 32-1. Decimal number and equivalent binary table.
  • 4.  To convert decimal numbers to binary • Divide the decimal number by 2 • Write down the remainder after each division • The remainders, taken in reverse order, form the binary number
  • 5.  Octal numbers • Allow reading of large binary numbers • Breaks binary number into groups of three • Base 8
  • 6. Figure 32-2. Decimal and binary equivalent of octal numbers.
  • 7.  To convert binary to an octal number • Divide the binary number into groups of three starting from the right  To convert an octal number to binary • Reverse process • Convert the octal number to binary groups of three
  • 8. Figure 32-3. Place values of octal numbers.
  • 9.  Hexadecimal number system • Used with microprocessor-based systems • Breaks binary number into groups of four • Reduces error when entering data • Base 16
  • 10.  To convert binary to hexadecimal number • Divide the binary number into groups of four starting from the right  To convert hexadecimal number to binary • Reverse the process • Convert the hexadecimal number to binary groups of four
  • 11. Figure 32-5. Place values of hexadecimal numbers.
  • 12.  Binary-coded-decimal (BCD) • 8421 code • Consists of four binary digits • Represents the digits 0 through 9 • Permits easy conversion between decimal and binary form
  • 13.  To express a decimal number in the 8421 code: • Replace each decimal digit by the 4-bit code  To determine a decimal number from an 8421 code: • Break the code into groups of 4 bits • Write the decimal digit represented by each 4- bit group
  • 14.  The binary number system contains two digits, 0 and 1 • Place value increases by a power of 2  To convert from decimal to binary: • Divide the decimal number by 2 • Write down the remainder after each division • The remainders, taken in reverse order, form the binary number
  • 15.  Similar steps are used to convert octal and hexadecimal numbers to and from decimal numbers as with the binary number system  The 8421 code (BCD) is used to represent digits 0 through 9