SlideShare uma empresa Scribd logo
1 de 5
PARITY BITS
Type of bit parity Successful transmission scenario
Even parity
A wants to transmit: 1001
A computes parity bit value: 1+0+0+1 = 0
A adds parity bit and sends: 10010
B receives: 10010
B computes parity: 1+0+0+1+0 = 0 (Even)
B reports correct transmission after observing
expected even result.
Odd parity
A wants to transmit: 1001
A computes parity bit value: 1+0+0+1 = 1
A adds parity bit and sends: 10011
B receives: 10011
B computes overall parity: 1+0+0+1+1 = 1
(Odd)
B reports correct transmission after observing
expected odd result.
This enables the detection of single bit errors, because if one
bit gets flipped due to line noise, there will be an incorrect
number of ones in the received data. In the two examples
above, B's calculated parity value matches the parity bit in its
received value, indicating there are no single bit errors.
Consider the following example with a transmission error in
the second bit:
Type of bit parity error Failed transmission scenario
Even parity Error in the second bit
A wants to transmit: 1001
A computes parity bit value: 1+0+0+1 = 0
A adds parity bit and sends: 10010
...TRANSMISSION ERROR...
B receives: 11010
B computes overall parity: 1+1+0+1+0 = 1
B reports incorrect transmission after observing
unexpected odd result.
Even parity Error in the parity bit
A wants to transmit: 1001
A computes even parity value: 1+0+0+1 = 0
A sends: 10010
...TRANSMISSION ERROR...
B receives: 10011
B computes overall parity: 1+0+0+1+1 = 1
B reports incorrect transmission after observing
unexpected odd result.
There is a limitation to parity bit checking. A parity bit is only guaranteed to
detect an odd number of bit errors. If an even number of bits have errors,
the parity bit records the correct number of ones, even though the data is
corrupt. Consider the same example as before with an even number of
corrupted bits:
Type of bit parity error Failed transmission scenario
Even parity
Two corrupted bits
A wants to transmit: 1001
A computes even parity value: 1+0+0+1 = 0
A sends: 10010
...TRANSMISSION ERROR...
B receives: 11011
B computes overall parity: 1+1+0+1+1 = 0
B reports correct transmission though actually
incorrect.
B observes even parity, as expected, thereby failing to catch the two bit errors
1. Explain the difference between a protocol and handshaking.
2. What is involved in the handshaking of two devices?
3. What is the bandwidth?
4. Explain the difference between baud rate and bps.
5. Describe parity checking as a method of detecting errors in data
transmission.
6. What is a cyclic redundancy check?
7. The 7-bit ASCII character 1011011 is to be sent with a parity bit. What is the
value of the parity bit if the parity is even? The character was received with
the ASCII character of 1010001. Do you think the parity method of error
detection would have found the error in transmission? Why?
8. Describe the five basic components of all communication systems.

Mais conteúdo relacionado

Mais procurados

Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
IIT, KANPUR INDIA
 
Subtracter
SubtracterSubtracter
Subtracter
Kumar
 
8086 labmanual
8086 labmanual8086 labmanual
8086 labmanual
iravi9
 
Mealy state machine
Mealy state machineMealy state machine
Mealy state machine
Arif Siyal
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
gavhays
 

Mais procurados (20)

DATA TRANSFER SCHEMES OF 8085
DATA TRANSFER SCHEMES OF 8085DATA TRANSFER SCHEMES OF 8085
DATA TRANSFER SCHEMES OF 8085
 
Multiplexers
MultiplexersMultiplexers
Multiplexers
 
DIGITAL ELECTRONICS TRAINER KIT
DIGITAL ELECTRONICS TRAINER KITDIGITAL ELECTRONICS TRAINER KIT
DIGITAL ELECTRONICS TRAINER KIT
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Group 7 combinational logic
Group 7 combinational logicGroup 7 combinational logic
Group 7 combinational logic
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
 
Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
 
Subtracter
SubtracterSubtracter
Subtracter
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
8086 labmanual
8086 labmanual8086 labmanual
8086 labmanual
 
Mealy state machine
Mealy state machineMealy state machine
Mealy state machine
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Digital systems
Digital systemsDigital systems
Digital systems
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
Computer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organizationComputer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organization
 
Decimal adder
Decimal adderDecimal adder
Decimal adder
 
DELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counterDELD Unit IV ring and twisted ring counter
DELD Unit IV ring and twisted ring counter
 

Destaque

Transmission
TransmissionTransmission
Transmission
mrhaken
 
Comp codes (ascii...).24to25
Comp codes (ascii...).24to25Comp codes (ascii...).24to25
Comp codes (ascii...).24to25
myrajendra
 
Parity bits
Parity bitsParity bits
Parity bits
mrhaken
 

Destaque (14)

Transmission
TransmissionTransmission
Transmission
 
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit ModelSingle-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
 
Comp codes (ascii...).24to25
Comp codes (ascii...).24to25Comp codes (ascii...).24to25
Comp codes (ascii...).24to25
 
system on chip for telecommand system design
system on chip for telecommand system designsystem on chip for telecommand system design
system on chip for telecommand system design
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
 
Parity bits
Parity bitsParity bits
Parity bits
 
Ascii 03
Ascii 03Ascii 03
Ascii 03
 
Ascii codes
Ascii codesAscii codes
Ascii codes
 
Ascii
AsciiAscii
Ascii
 
Even odd parity
Even odd parityEven odd parity
Even odd parity
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
 
Encoding and Decoding
Encoding and DecodingEncoding and Decoding
Encoding and Decoding
 
HSC Communication systems
HSC Communication systems HSC Communication systems
HSC Communication systems
 
Multimedia systems
Multimedia systemsMultimedia systems
Multimedia systems
 

Semelhante a Parity bits

Error control, parity check, check sum, vrc
Error control, parity check, check sum, vrcError control, parity check, check sum, vrc
Error control, parity check, check sum, vrc
Huawei Technologies
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
Sisir Ghosh
 
ERROR_DETECTION.pptx
ERROR_DETECTION.pptxERROR_DETECTION.pptx
ERROR_DETECTION.pptx
BeniamTekeste
 
Error Detect and Correct.ppt
Error Detect and Correct.pptError Detect and Correct.ppt
Error Detect and Correct.ppt
ssuser0c2093
 

Semelhante a Parity bits (20)

Computer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfComputer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdf
 
Error control, parity check, check sum, vrc
Error control, parity check, check sum, vrcError control, parity check, check sum, vrc
Error control, parity check, check sum, vrc
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 
07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf07 Data Link LayerError Control.pdf
07 Data Link LayerError Control.pdf
 
Lecture set 3
Lecture set 3Lecture set 3
Lecture set 3
 
crc_checksum.pdf
crc_checksum.pdfcrc_checksum.pdf
crc_checksum.pdf
 
Data Link Layer Numericals
Data Link Layer NumericalsData Link Layer Numericals
Data Link Layer Numericals
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Information Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications UnitInformation Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications Unit
 
ERROR_DETECTION.pptx
ERROR_DETECTION.pptxERROR_DETECTION.pptx
ERROR_DETECTION.pptx
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection th
 
Error Detect and Correct.ppt
Error Detect and Correct.pptError Detect and Correct.ppt
Error Detect and Correct.ppt
 
ERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptxERROR DETECTION data communication and computer network.pptx
ERROR DETECTION data communication and computer network.pptx
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
chapter-3-data-link-layer.ppt
chapter-3-data-link-layer.pptchapter-3-data-link-layer.ppt
chapter-3-data-link-layer.ppt
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
 
Error.pdf
Error.pdfError.pdf
Error.pdf
 
1.5.1 Lect_parity.pptx
1.5.1 Lect_parity.pptx1.5.1 Lect_parity.pptx
1.5.1 Lect_parity.pptx
 
Sak
SakSak
Sak
 

Último

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
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Ă...
 
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
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
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)
 
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
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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)
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Parity bits

  • 1. PARITY BITS Type of bit parity Successful transmission scenario Even parity A wants to transmit: 1001 A computes parity bit value: 1+0+0+1 = 0 A adds parity bit and sends: 10010 B receives: 10010 B computes parity: 1+0+0+1+0 = 0 (Even) B reports correct transmission after observing expected even result. Odd parity A wants to transmit: 1001 A computes parity bit value: 1+0+0+1 = 1 A adds parity bit and sends: 10011 B receives: 10011 B computes overall parity: 1+0+0+1+1 = 1 (Odd) B reports correct transmission after observing expected odd result.
  • 2. This enables the detection of single bit errors, because if one bit gets flipped due to line noise, there will be an incorrect number of ones in the received data. In the two examples above, B's calculated parity value matches the parity bit in its received value, indicating there are no single bit errors. Consider the following example with a transmission error in the second bit:
  • 3. Type of bit parity error Failed transmission scenario Even parity Error in the second bit A wants to transmit: 1001 A computes parity bit value: 1+0+0+1 = 0 A adds parity bit and sends: 10010 ...TRANSMISSION ERROR... B receives: 11010 B computes overall parity: 1+1+0+1+0 = 1 B reports incorrect transmission after observing unexpected odd result. Even parity Error in the parity bit A wants to transmit: 1001 A computes even parity value: 1+0+0+1 = 0 A sends: 10010 ...TRANSMISSION ERROR... B receives: 10011 B computes overall parity: 1+0+0+1+1 = 1 B reports incorrect transmission after observing unexpected odd result.
  • 4. There is a limitation to parity bit checking. A parity bit is only guaranteed to detect an odd number of bit errors. If an even number of bits have errors, the parity bit records the correct number of ones, even though the data is corrupt. Consider the same example as before with an even number of corrupted bits: Type of bit parity error Failed transmission scenario Even parity Two corrupted bits A wants to transmit: 1001 A computes even parity value: 1+0+0+1 = 0 A sends: 10010 ...TRANSMISSION ERROR... B receives: 11011 B computes overall parity: 1+1+0+1+1 = 0 B reports correct transmission though actually incorrect. B observes even parity, as expected, thereby failing to catch the two bit errors
  • 5. 1. Explain the difference between a protocol and handshaking. 2. What is involved in the handshaking of two devices? 3. What is the bandwidth? 4. Explain the difference between baud rate and bps. 5. Describe parity checking as a method of detecting errors in data transmission. 6. What is a cyclic redundancy check? 7. The 7-bit ASCII character 1011011 is to be sent with a parity bit. What is the value of the parity bit if the parity is even? The character was received with the ASCII character of 1010001. Do you think the parity method of error detection would have found the error in transmission? Why? 8. Describe the five basic components of all communication systems.