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

Contenu connexe

Tendances

FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...Arti Parab Academics
 
Binary number system
Binary number systemBinary number system
Binary number systemNadeem Uddin
 
Booth's algorithm part 1
Booth's algorithm part 1Booth's algorithm part 1
Booth's algorithm part 1babuece
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1babuece
 
Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.AOUN ABBAS
 
Binary octal
Binary octalBinary octal
Binary octaldrdipo4
 
UNSIGNED AND SIGNED BINARY DIVISION
UNSIGNED AND SIGNED BINARY DIVISIONUNSIGNED AND SIGNED BINARY DIVISION
UNSIGNED AND SIGNED BINARY DIVISIONciyamala kushbu
 
01.number systems
01.number systems01.number systems
01.number systemsrasha3
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Lovely Singh
 
11 octal number system
11   octal number system11   octal number system
11 octal number systemLee Chadwick
 

Tendances (20)

FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
 
Number System
Number SystemNumber System
Number System
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Representation of Negative Numbers
Representation of Negative NumbersRepresentation of Negative Numbers
Representation of Negative Numbers
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Booth's algorithm part 1
Booth's algorithm part 1Booth's algorithm part 1
Booth's algorithm part 1
 
Codes
CodesCodes
Codes
 
Complement
ComplementComplement
Complement
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
 
Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.
 
Binary octal
Binary octalBinary octal
Binary octal
 
UNSIGNED AND SIGNED BINARY DIVISION
UNSIGNED AND SIGNED BINARY DIVISIONUNSIGNED AND SIGNED BINARY DIVISION
UNSIGNED AND SIGNED BINARY DIVISION
 
Counting sort
Counting sortCounting sort
Counting sort
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
01.number systems
01.number systems01.number systems
01.number systems
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Number system
Number systemNumber system
Number system
 

En vedette

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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Plus 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
 

Plus 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
 

Dernier

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
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
 
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
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
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
 

Dernier (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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)
 
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.
 
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...
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 

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