SlideShare una empresa de Scribd logo
1 de 13
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

Más contenido relacionado

La actualidad más candente

review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codessrinu247
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )MdFazleRabbi18
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationRitu Ranjan Shrivastwa
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes VandanaPagar1
 
Floating point representation
Floating point representationFloating point representation
Floating point representationmissstevenson01
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSelf-employed
 
Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notesKurenai Ryu
 
IEEE floating point representation
 IEEE floating point representation IEEE floating point representation
IEEE floating point representationMaskurAlShalSabil
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersMohammad Bashartullah
 
binary number system
 binary number system binary number system
binary number systemvishal gupta
 
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxChapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxSovannDoeur
 

La actualidad más candente (20)

review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
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
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notes
 
IEEE floating point representation
 IEEE floating point representation IEEE floating point representation
IEEE floating point representation
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbers
 
K - Map
  K - Map    K - Map
K - Map
 
binary number system
 binary number system binary number system
binary number system
 
Number system conversion
Number system conversionNumber system conversion
Number system conversion
 
Number system
Number systemNumber system
Number system
 
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxChapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
 
Binary codes
Binary codesBinary codes
Binary codes
 
BCD.
BCD.BCD.
BCD.
 

Destacado

BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMZaheer Abbasi
 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - BeginningDebbie 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 2013ANIACAM_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_shravanVishesh Chanana
 
DIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number SystemDIGITAL ELECTRONICS- Number System
DIGITAL ELECTRONICS- Number SystemTrinity 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 SystemIOSR Journals
 
Binary number
Binary numberBinary number
Binary numberecooperms
 
Binary Slides
Binary Slides Binary Slides
Binary Slides jnoles
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral InterfaceAnurag 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 2017Nicolae Vasiliu
 
Cash flow direct method outline
Cash flow direct method outlineCash flow direct method outline
Cash flow direct method outlineRoberto Ponti
 
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 conceptUniversity 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 ManagerAllan Gibson
 
L 2 basic computer organization
L 2 basic computer organizationL 2 basic computer organization
L 2 basic computer organizationStubborn sam
 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organizationAinuddin Yousufzai
 
Cash flow direct method
Cash flow direct methodCash flow direct method
Cash flow direct methodRoberto Ponti
 

Destacado (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 a 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.pptxBunnyYadav7
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001aarunachalamr16
 
data representation
 data representation data representation
data representationHaroon_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 pointRai University
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital componentRai University
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effectsPeriyanayagiS
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 
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 .pdfAsst.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 componentRai 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 arithmeticAmrutaMehata
 
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 componentRai 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 systemRai University
 

Similar a 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
 

Más de Debarati Das

Semantic Analysis of a C Program
Semantic Analysis of a C ProgramSemantic Analysis of a C Program
Semantic Analysis of a C ProgramDebarati 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 CircuitsDebarati Das
 
Lattices AND Hasse Diagrams
Lattices AND Hasse DiagramsLattices AND Hasse Diagrams
Lattices AND Hasse DiagramsDebarati Das
 

Más de 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
 

Último

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Último (20)

Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

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