SlideShare a Scribd company logo
1 of 6
Download to read offline
What is BCD?
What is BCD
Binary coded decimal (BCD) is a system of writing
numerals that assigns a four-digit binary code to
each digit 0 through 9 in a decimal (base-10)
numeral.
The four-bit BCD code for any particular single base-
10 digit is its representation in binary notation, as
follows:
0 = 0000.
1 = 0001.
2 = 0010.
Numbers larger than 9, having two or more digits in
the decimal system, are expressed digit by digit in
binary coded decimal. For example, the BCD
rendition of the base-10 number 1895 is 0001 1000
1001 0101. The binary equivalents of 1, 8, 9, and 5,
always in a four- digit format, go from left to
right. The BCD representation of a number is not
the same, in general, as its simple binary
representation. In binary form, for example, the
decimal quantity 1895 appears as 11101100111.
Binary to Decimal to BCD Conversion
Example
Binary Coded Decimal which is also called as BCD is another
process for converting decimal numbers into their binary
equivalents.
BCD Conversion Steps:
• Step 1 : Convert the binary number to decimal.
• Step 2 : Convert decimal number to BCD.
• Example: Convert (11101)2 to BCD
Step 1 : Convert to Decimal from Binary Number
• (11101)2 = (1×24)+ (1×23)+(1×22)+(0×21)+(1×20)=(1×16)+
(1×8) +(1×4)+ (0×2)+(1×1)= 16 + 8 + 4 + 0 + 1 = (29)10
Step 2 : Convert to BCD from Decimal Number =
(29)10 Calculating BCD Equivalent. Convert each
digit into groups of four binary digits equivalent.
Decimal Number Conversion
(29)10 = (0010)2 (1001)2
(29)10 = (00101001) BCD
Therefore 0010 1001 is the BCD code for
decimal 29.
BCD numbering system
BCD numbering system is very easy to understand, while
creating BCD each decimal number is separated into
equivalent four bits for each decimal digit within the
number. In the final result each decimal digit is replaced
by its weighted binary value performing a direct
translation of the number. Every 4-bit group represents
each displayed decimal digit from 0000 for a zero
to 1001 for a nine.
For example:
35710 (Three Hundred and Fifty Seven) in decimal would
be presented in Binary Coded Decimal as:
35710 = 0011 0101 0111 (resulted BCD)

More Related Content

What's hot

What's hot (20)

Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Number systems ppt
Number systems pptNumber systems ppt
Number systems ppt
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
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 Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Binary codes
Binary codesBinary codes
Binary codes
 
binary number system
 binary number system binary number system
binary number system
 
Codes
CodesCodes
Codes
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 

Similar to What is bcd number system

W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfW3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfMOHDZAMRIBINIBRAHIM1
 
BCD to binary code converter
BCD to binary code converterBCD to binary code converter
BCD to binary code converterkiruthikamaniG1
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsMilap Bhanderi
 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptxkhalidkk6
 
PPT_Module_1.pptx
PPT_Module_1.pptxPPT_Module_1.pptx
PPT_Module_1.pptxTechie5879
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number systemAswiniT3
 
Digital logic design lecture 02
Digital logic design   lecture 02 Digital logic design   lecture 02
Digital logic design lecture 02 FarhatUllah27
 
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMMENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMMworkaccess21
 
Binary coded decimal r004
Binary coded decimal   r004Binary coded decimal   r004
Binary coded decimal r004arunachalamr16
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfTamiratDejene1
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptxAminaZahid16
 
Bin to hexa.22to23
Bin to hexa.22to23Bin to hexa.22to23
Bin to hexa.22to23myrajendra
 

Similar to What is bcd number system (20)

W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfW3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
 
BCD to binary code converter
BCD to binary code converterBCD to binary code converter
BCD to binary code converter
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
 
ch2.pdf
ch2.pdfch2.pdf
ch2.pdf
 
Chapter02.pdf
Chapter02.pdfChapter02.pdf
Chapter02.pdf
 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptx
 
Codes r005
Codes  r005Codes  r005
Codes r005
 
PPT_Module_1.pptx
PPT_Module_1.pptxPPT_Module_1.pptx
PPT_Module_1.pptx
 
Digital Electronics Codes.pdf
Digital Electronics Codes.pdfDigital Electronics Codes.pdf
Digital Electronics Codes.pdf
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
Digital logic design lecture 02
Digital logic design   lecture 02 Digital logic design   lecture 02
Digital logic design lecture 02
 
Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
Number system
Number systemNumber system
Number system
 
Floyd_CH2.ppt
Floyd_CH2.pptFloyd_CH2.ppt
Floyd_CH2.ppt
 
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMMENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
 
Binary coded decimal r004
Binary coded decimal   r004Binary coded decimal   r004
Binary coded decimal r004
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdf
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 
Bin to hexa.22to23
Bin to hexa.22to23Bin to hexa.22to23
Bin to hexa.22to23
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

What is bcd number system

  • 2. What is BCD Binary coded decimal (BCD) is a system of writing numerals that assigns a four-digit binary code to each digit 0 through 9 in a decimal (base-10) numeral. The four-bit BCD code for any particular single base- 10 digit is its representation in binary notation, as follows: 0 = 0000. 1 = 0001. 2 = 0010.
  • 3. Numbers larger than 9, having two or more digits in the decimal system, are expressed digit by digit in binary coded decimal. For example, the BCD rendition of the base-10 number 1895 is 0001 1000 1001 0101. The binary equivalents of 1, 8, 9, and 5, always in a four- digit format, go from left to right. The BCD representation of a number is not the same, in general, as its simple binary representation. In binary form, for example, the decimal quantity 1895 appears as 11101100111.
  • 4. Binary to Decimal to BCD Conversion Example Binary Coded Decimal which is also called as BCD is another process for converting decimal numbers into their binary equivalents. BCD Conversion Steps: • Step 1 : Convert the binary number to decimal. • Step 2 : Convert decimal number to BCD. • Example: Convert (11101)2 to BCD Step 1 : Convert to Decimal from Binary Number • (11101)2 = (1×24)+ (1×23)+(1×22)+(0×21)+(1×20)=(1×16)+ (1×8) +(1×4)+ (0×2)+(1×1)= 16 + 8 + 4 + 0 + 1 = (29)10
  • 5. Step 2 : Convert to BCD from Decimal Number = (29)10 Calculating BCD Equivalent. Convert each digit into groups of four binary digits equivalent. Decimal Number Conversion (29)10 = (0010)2 (1001)2 (29)10 = (00101001) BCD Therefore 0010 1001 is the BCD code for decimal 29.
  • 6. BCD numbering system BCD numbering system is very easy to understand, while creating BCD each decimal number is separated into equivalent four bits for each decimal digit within the number. In the final result each decimal digit is replaced by its weighted binary value performing a direct translation of the number. Every 4-bit group represents each displayed decimal digit from 0000 for a zero to 1001 for a nine. For example: 35710 (Three Hundred and Fifty Seven) in decimal would be presented in Binary Coded Decimal as: 35710 = 0011 0101 0111 (resulted BCD)