SlideShare a Scribd company logo
Chapter 1 
Digital Systems and Binary Numbers
Key Concepts : 
โ— Why digital Over Analog Systems ? 
โ— Number - Base Conversions 
โ— Complements of Numbers 
โ— Signed Binary Number Systems 
โ— OverFlow Concept 
โ— Binary and Decimal Codes 
โ— BCD Addition 
โ— Gray Code 
โ— Parity Check
Why Digital Over Analog ? 
1. Reduced Cost 
2. More Reliable 
3. Programmable (so has major application) 
4. Selective ( Akin to a Research Scientist vs 
a Payroll Schedule) 
5. Implemented via Electronic Components
Number Conversions 
Convert From X ---- > Y Method 
Any System(r) To Decimal Multiply Coefficients before Decimal by r ^ 
index. And Coefficients after Decimal by r^(- 
index) where index starts from -1 after 
decimal and 0 before. 
Decimal to Any System (r) Divide Decimal by r Repeatedly and Collect 
remainders. The Final Answer is From Last 
Remainder Collected to First. 
Binary To Octal Group in 3s 
Binary To Hexadecimal Group in 4s
Convertion of 75.375 (decimal) to Binary 
Therefore the answer is : (001011.011)
Complements of Numbers 
Complements 
Radix Complement 
(r^n- N ) 
Diminished Radix 
Complement ((r^n-1)-N 
) 
2โ€™s , 10โ€™s 1โ€™s , 9โ€™s
* 
Signed Binary Numbers 
We need to represent these symbols using bits 
โ€“ Convention: 
โ€ข 0 positive 
1 negative 
โ€ข The leftmost bit position is used as a sign bit 
โ€“ In signed representation, bits to the right of sign bit is 
the number 
โ€“ In unsigned representation, the leftmost bit is a part of 
the number (the most significant bit (MSB))
* 
Example 
โ€“ 01011 โ†’ (unsigned binary) 
โ€“ โ†’ (signed binary) 
โ€“ 11011 โ†’ (unsigned binary) 
โ€“ โ†’ (signed binary) 
โ€“ This method is called โ€œsigned-magnitudeโ€ and is rarely used in digital 
systems (if at all) 
โ€ข In computers, a negative number is represented by the complement of its 
absolute value. 
โ€ข Signed-complement system 
โ€“ positive numbers have always โ€œ0โ€ in the MSB position 
โ€“ negative numbers have always โ€œ1โ€ in the MSB position
* 
Signed Number Representation 
Signed magnitude Oneโ€™s complement Twoโ€™s complement 
000 +0 000 +0 000 0 
001 +1 001 +1 001 +1 
010 +2 010 +2 010 +2 
011 +3 011 +3 011 +3 
100 -0 111 -0 111 -1 
101 -1 110 -1 110 -2 
110 -2 101 -2 101 -3 
111 -3 100 -3 100 -4
8,4,2,1 and Excess Three Coding 
โ— BCD : Involves each digit being 
assigned appropriate binary code. 
Eg : 123 = 0001-0010-0011 
โ— In BCD Addition if sum is greater 
than 10, then 0110 (6) added . 
โ— 8,4,2,1 Coding is a Weighted 
Code 
โ— Excess 3 Code: Is Binary Code 
+3 . Therefore it is NOT A 
weighted Code. 
โ— Excess 3 is a SELF 
COMPLIMENTING CODE.
GRAY CODE 
โ— Used when digital data to analog data 
is converted 
โ— Only one bit in group changes from 
one number to another 
โ— Used in cases where normal binary 
sequence may produce error 
โ— Non Weighted Code
Parity Check 
Used Often in Transmission Of 
Messages. 
If message is received : ACK 
returned. 
Else , 
NAK returned.
By : 
Debarati Das 
1PI13CS052 
PES University

More Related Content

What's hot

BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
student
ย 
Floating point representation
Floating point representationFloating point representation
Floating point representation
missstevenson01
ย 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
babuece
ย 
Number system
Number systemNumber system
Number system
Mantra VLSI
ย 
Number system
Number system Number system
Number system
GargiKhanna1
ย 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
Arti Parab Academics
ย 
Code conversions.pptx415.pptx
Code conversions.pptx415.pptxCode conversions.pptx415.pptx
Code conversions.pptx415.pptx
MariaJoseph591921
ย 
dld 01-introduction
dld 01-introductiondld 01-introduction
dld 01-introduction
United International University
ย 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
student
ย 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
Janki Shah
ย 
Adder substracter
Adder substracterAdder substracter
Adder substracter
WanNurdiana
ย 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
ย 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
ย 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
Imran Waris
ย 
Number system
Number systemNumber system
Number system
Suraj Bora
ย 
Digital Logic Design
Digital Logic DesignDigital Logic Design
Digital Logic Design
JalpaMaheshwari1
ย 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
ArunaDevi63
ย 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
VandanaPagar1
ย 
Bcd
BcdBcd
Bcd
Talha Fazal
ย 
11 octal number system
11   octal number system11   octal number system
11 octal number system
Lee Chadwick
ย 

What's hot (20)

BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
ย 
Floating point representation
Floating point representationFloating point representation
Floating point representation
ย 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
ย 
Number system
Number systemNumber system
Number system
ย 
Number system
Number system Number system
Number system
ย 
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic CircuitsFYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
ย 
Code conversions.pptx415.pptx
Code conversions.pptx415.pptxCode conversions.pptx415.pptx
Code conversions.pptx415.pptx
ย 
dld 01-introduction
dld 01-introductiondld 01-introduction
dld 01-introduction
ย 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
ย 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
ย 
Adder substracter
Adder substracterAdder substracter
Adder substracter
ย 
Binary codes
Binary codesBinary codes
Binary codes
ย 
Binary codes
Binary codesBinary codes
Binary codes
ย 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
ย 
Number system
Number systemNumber system
Number system
ย 
Digital Logic Design
Digital Logic DesignDigital Logic Design
Digital Logic Design
ย 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
ย 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
ย 
Bcd
BcdBcd
Bcd
ย 
11 octal number system
11   octal number system11   octal number system
11 octal number system
ย 

Viewers also liked

Binary code
Binary codeBinary code
Binary code
Juzen1600101
ย 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
Zaheer Abbasi
ย 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - Beginning
Debbie Eitner
ย 
Datos elรฉctricos e hรญbridos agosto 2013
Datos elรฉctricos e hรญbridos agosto 2013Datos elรฉctricos e hรญbridos agosto 2013
Datos elรฉctricos e hรญbridos agosto 2013
ANIACAM_PRENSA
ย 
Ece 465 project_1_report_vishesh_shravan
Ece 465 project_1_report_vishesh_shravanEce 465 project_1_report_vishesh_shravan
Ece 465 project_1_report_vishesh_shravan
Vishesh Chanana
ย 
DIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number SystemDIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number System
Trinity Dwarka
ย 
PI Controller based MPPT for a PV System
PI Controller based MPPT for a PV SystemPI Controller based MPPT for a PV System
PI Controller based MPPT for a PV System
IOSR Journals
ย 
Binary number
Binary numberBinary number
Binary number
ecooperms
ย 
Binary Slides
Binary Slides Binary Slides
Binary Slides
jnoles
ย 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
Anurag Tomar
ย 
Nick Vasiliu Resume Electrical Design Engineer 2017
Nick Vasiliu Resume Electrical Design Engineer 2017Nick Vasiliu Resume Electrical Design Engineer 2017
Nick Vasiliu Resume Electrical Design Engineer 2017
Nicolae Vasiliu
ย 
Resume 2017
Resume 2017Resume 2017
Resume 2017
Forrest Kimbrell
ย 
Cash flow direct method outline
Cash flow direct method outlineCash flow direct method outline
Cash flow direct method outline
Roberto Ponti
ย 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
Amit Chandra
ย 
Conversion of number system with base concept
Conversion of number system with base conceptConversion of number system with base concept
Conversion of number system with base concept
University of Potsdam
ย 
CV for Allan Gibson - Well Engineering Manager
CV for Allan Gibson - Well Engineering ManagerCV for Allan Gibson - Well Engineering Manager
CV for Allan Gibson - Well Engineering Manager
Allan Gibson
ย 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
Sayan Chakraborty
ย 
L 2 basic computer organization
L 2 basic computer organizationL 2 basic computer organization
L 2 basic computer organization
Stubborn sam
ย 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organization
Ainuddin Yousufzai
ย 
Cash flow direct method
Cash flow direct methodCash flow direct method
Cash flow direct method
Roberto Ponti
ย 

Viewers also liked (20)

Binary code
Binary codeBinary code
Binary code
ย 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
ย 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - Beginning
ย 
Datos elรฉctricos e hรญbridos agosto 2013
Datos elรฉctricos e hรญbridos agosto 2013Datos elรฉctricos e hรญbridos agosto 2013
Datos elรฉctricos e hรญbridos agosto 2013
ย 
Ece 465 project_1_report_vishesh_shravan
Ece 465 project_1_report_vishesh_shravanEce 465 project_1_report_vishesh_shravan
Ece 465 project_1_report_vishesh_shravan
ย 
DIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number SystemDIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number System
ย 
PI Controller based MPPT for a PV System
PI Controller based MPPT for a PV SystemPI Controller based MPPT for a PV System
PI Controller based MPPT for a PV System
ย 
Binary number
Binary numberBinary number
Binary number
ย 
Binary Slides
Binary Slides Binary Slides
Binary Slides
ย 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
ย 
Nick Vasiliu Resume Electrical Design Engineer 2017
Nick Vasiliu Resume Electrical Design Engineer 2017Nick Vasiliu Resume Electrical Design Engineer 2017
Nick Vasiliu Resume Electrical Design Engineer 2017
ย 
Resume 2017
Resume 2017Resume 2017
Resume 2017
ย 
Cash flow direct method outline
Cash flow direct method outlineCash flow direct method outline
Cash flow direct method outline
ย 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
ย 
Conversion of number system with base concept
Conversion of number system with base conceptConversion of number system with base concept
Conversion of number system with base concept
ย 
CV for Allan Gibson - Well Engineering Manager
CV for Allan Gibson - Well Engineering ManagerCV for Allan Gibson - Well Engineering Manager
CV for Allan Gibson - Well Engineering Manager
ย 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
ย 
L 2 basic computer organization
L 2 basic computer organizationL 2 basic computer organization
L 2 basic computer organization
ย 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organization
ย 
Cash flow direct method
Cash flow direct methodCash flow direct method
Cash flow direct method
ย 

Similar to Binary Codes and Number System

Unit-1 (DLD) Lecture 2.pptx
Unit-1 (DLD) Lecture 2.pptxUnit-1 (DLD) Lecture 2.pptx
Unit-1 (DLD) Lecture 2.pptx
BunnyYadav7
ย 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
arunachalamr16
ย 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
Sukriti Dhang
ย 
Number system
Number systemNumber system
Number system
Prof. Dr. K. Adisesha
ย 
Module 2_Data representations.pdf
Module 2_Data representations.pdfModule 2_Data representations.pdf
Module 2_Data representations.pdf
Aditya kishore saxena
ย 
Digital Logic
Digital LogicDigital Logic
Digital Logic
NabeelaNousheen
ย 
Alu1
Alu1Alu1
Digital Logic Rcs
Digital Logic RcsDigital Logic Rcs
Digital Logic Rcs
Ramzi Alqrainy
ย 
data representation
 data representation data representation
data representation
Haroon_007
ย 
digital logic circuits, digital component floting and fixed point
 digital logic circuits, digital component floting and fixed point digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
Rai University
ย 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
Rai University
ย 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
PeriyanayagiS
ย 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
AshishChandrakar12
ย 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
GnanaDeepikaMeduri
ย 
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdfCS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
Asst.prof M.Gokilavani
ย 
B.sc cs-ii-u-1.3 digital logic circuits, digital component
B.sc cs-ii-u-1.3 digital logic circuits, digital componentB.sc cs-ii-u-1.3 digital logic circuits, digital component
B.sc cs-ii-u-1.3 digital logic circuits, digital component
Rai University
ย 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmetic
AmrutaMehata
ย 
Bca 2nd sem-u-1.3 digital logic circuits, digital component
Bca 2nd sem-u-1.3 digital logic circuits, digital componentBca 2nd sem-u-1.3 digital logic circuits, digital component
Bca 2nd sem-u-1.3 digital logic circuits, digital component
Rai University
ย 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number system
Rai University
ย 
Chapter1b
Chapter1bChapter1b

Similar to Binary Codes and Number System (20)

Unit-1 (DLD) Lecture 2.pptx
Unit-1 (DLD) Lecture 2.pptxUnit-1 (DLD) Lecture 2.pptx
Unit-1 (DLD) Lecture 2.pptx
ย 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
ย 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
ย 
Number system
Number systemNumber system
Number system
ย 
Module 2_Data representations.pdf
Module 2_Data representations.pdfModule 2_Data representations.pdf
Module 2_Data representations.pdf
ย 
Digital Logic
Digital LogicDigital Logic
Digital Logic
ย 
Alu1
Alu1Alu1
Alu1
ย 
Digital Logic Rcs
Digital Logic RcsDigital Logic Rcs
Digital Logic Rcs
ย 
data representation
 data representation data representation
data representation
ย 
digital logic circuits, digital component floting and fixed point
 digital logic circuits, digital component floting and fixed point digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
ย 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
ย 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
ย 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
ย 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
ย 
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdfCS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
CS304PC:Computer Organization and Architecture Unit- III PDF notes .pdf
ย 
B.sc cs-ii-u-1.3 digital logic circuits, digital component
B.sc cs-ii-u-1.3 digital logic circuits, digital componentB.sc cs-ii-u-1.3 digital logic circuits, digital component
B.sc cs-ii-u-1.3 digital logic circuits, digital component
ย 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmetic
ย 
Bca 2nd sem-u-1.3 digital logic circuits, digital component
Bca 2nd sem-u-1.3 digital logic circuits, digital componentBca 2nd sem-u-1.3 digital logic circuits, digital component
Bca 2nd sem-u-1.3 digital logic circuits, digital component
ย 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number system
ย 
Chapter1b
Chapter1bChapter1b
Chapter1b
ย 

More from Debarati Das

Semantic Analysis of a C Program
Semantic Analysis of a C ProgramSemantic Analysis of a C Program
Semantic Analysis of a C Program
Debarati Das
ย 
Carnegie ppt
Carnegie pptCarnegie ppt
Carnegie ppt
Debarati Das
ย 
Class warshal2
Class warshal2Class warshal2
Class warshal2
Debarati Das
ย 
Quiz on Digital Logic and Combinatorial Circuits
Quiz on Digital Logic and Combinatorial CircuitsQuiz on Digital Logic and Combinatorial Circuits
Quiz on Digital Logic and Combinatorial Circuits
Debarati Das
ย 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Debarati Das
ย 
Lattices AND Hasse Diagrams
Lattices AND Hasse DiagramsLattices AND Hasse Diagrams
Lattices AND Hasse Diagrams
Debarati Das
ย 

More from Debarati Das (6)

Semantic Analysis of a C Program
Semantic Analysis of a C ProgramSemantic Analysis of a C Program
Semantic Analysis of a C Program
ย 
Carnegie ppt
Carnegie pptCarnegie ppt
Carnegie ppt
ย 
Class warshal2
Class warshal2Class warshal2
Class warshal2
ย 
Quiz on Digital Logic and Combinatorial Circuits
Quiz on Digital Logic and Combinatorial CircuitsQuiz on Digital Logic and Combinatorial Circuits
Quiz on Digital Logic and Combinatorial Circuits
ย 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
ย 
Lattices AND Hasse Diagrams
Lattices AND Hasse DiagramsLattices AND Hasse Diagrams
Lattices AND Hasse Diagrams
ย 

Recently uploaded

Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
ย 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
ย 
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
ย 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixรฃo
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
ย 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Nguyen Thanh Tu Collection
ย 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
ย 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
ย 

Recently uploaded (20)

Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
ย 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
ย 
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Prรฉsentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
ย 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
ย 
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdfA Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
A Independรชncia da Amรฉrica Espanhola LAPBOOK.pdf
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
ย 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
ย 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
ย 
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
Bร€I TแบฌP Bแป” TRแปข TIแบพNG ANH 8 Cแบข Nฤ‚M - GLOBAL SUCCESS - Nฤ‚M HแปŒC 2023-2024 (Cร“ FI...
ย 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
ย 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
ย 

Binary Codes and Number System

  • 1. Chapter 1 Digital Systems and Binary Numbers
  • 2. Key Concepts : โ— Why digital Over Analog Systems ? โ— Number - Base Conversions โ— Complements of Numbers โ— Signed Binary Number Systems โ— OverFlow Concept โ— Binary and Decimal Codes โ— BCD Addition โ— Gray Code โ— Parity Check
  • 3. Why Digital Over Analog ? 1. Reduced Cost 2. More Reliable 3. Programmable (so has major application) 4. Selective ( Akin to a Research Scientist vs a Payroll Schedule) 5. Implemented via Electronic Components
  • 4. Number Conversions Convert From X ---- > Y Method Any System(r) To Decimal Multiply Coefficients before Decimal by r ^ index. And Coefficients after Decimal by r^(- index) where index starts from -1 after decimal and 0 before. Decimal to Any System (r) Divide Decimal by r Repeatedly and Collect remainders. The Final Answer is From Last Remainder Collected to First. Binary To Octal Group in 3s Binary To Hexadecimal Group in 4s
  • 5. Convertion of 75.375 (decimal) to Binary Therefore the answer is : (001011.011)
  • 6. Complements of Numbers Complements Radix Complement (r^n- N ) Diminished Radix Complement ((r^n-1)-N ) 2โ€™s , 10โ€™s 1โ€™s , 9โ€™s
  • 7. * Signed Binary Numbers We need to represent these symbols using bits โ€“ Convention: โ€ข 0 positive 1 negative โ€ข The leftmost bit position is used as a sign bit โ€“ In signed representation, bits to the right of sign bit is the number โ€“ In unsigned representation, the leftmost bit is a part of the number (the most significant bit (MSB))
  • 8. * Example โ€“ 01011 โ†’ (unsigned binary) โ€“ โ†’ (signed binary) โ€“ 11011 โ†’ (unsigned binary) โ€“ โ†’ (signed binary) โ€“ This method is called โ€œsigned-magnitudeโ€ and is rarely used in digital systems (if at all) โ€ข In computers, a negative number is represented by the complement of its absolute value. โ€ข Signed-complement system โ€“ positive numbers have always โ€œ0โ€ in the MSB position โ€“ negative numbers have always โ€œ1โ€ in the MSB position
  • 9. * Signed Number Representation Signed magnitude Oneโ€™s complement Twoโ€™s complement 000 +0 000 +0 000 0 001 +1 001 +1 001 +1 010 +2 010 +2 010 +2 011 +3 011 +3 011 +3 100 -0 111 -0 111 -1 101 -1 110 -1 110 -2 110 -2 101 -2 101 -3 111 -3 100 -3 100 -4
  • 10. 8,4,2,1 and Excess Three Coding โ— BCD : Involves each digit being assigned appropriate binary code. Eg : 123 = 0001-0010-0011 โ— In BCD Addition if sum is greater than 10, then 0110 (6) added . โ— 8,4,2,1 Coding is a Weighted Code โ— Excess 3 Code: Is Binary Code +3 . Therefore it is NOT A weighted Code. โ— Excess 3 is a SELF COMPLIMENTING CODE.
  • 11. GRAY CODE โ— Used when digital data to analog data is converted โ— Only one bit in group changes from one number to another โ— Used in cases where normal binary sequence may produce error โ— Non Weighted Code
  • 12. Parity Check Used Often in Transmission Of Messages. If message is received : ACK returned. Else , NAK returned.
  • 13. By : Debarati Das 1PI13CS052 PES University