SlideShare a Scribd company logo
1 of 15
IGCSE 1
Topic : Communication & Internet Technologies
Error Checking Methods 1
Error Checking Methods
• Following data transmission, there is always the risk that the
data has been corrupted or changed in some way.
• This can occur whether data is being transmitted over short
distances or over long distances.
• Checking for errors is important since computers aren’t able to
check that text is correct; they can only recognize whether a
word is in their built-in dictionary or not.
• Look at the following text:
Try Reading This.
Can you raed tihs?
‘I cnduo’t bvleiee taht I culod aulaclty uesdtannrd waht I was rdnaieg. Unisg the
icndeblire pweor of the hmuan mnid, aocdcrnig to rseecrah at Cmabridge
Uinervtisy, it dseno’t mttaer in waht oderr the lterets in a wrod are, the olny
irpoamtnt tihng is taht the frsit and lsat ltteer be in the rhgit pclae. The rset can be
a
taotl mses and you can sitll raed it whoutit a pboerlm.
Tihs is bucseae the huamn mnid deos not raed ervey ltteer by istlef, but the wrod
as a wlohe. Aaznmig, huh? Yeah and I awlyas tghhuot slelinpg was ipmorantt! See if
yuor
fdreins can raed tihs too’
(From an unknown source at Cambridge University)
• Whilst you probably had little problem understanding this text, a computer
would be unable to make any sense of it.
• This is why error checking is such an important part of computer
technology.
• This section considers a number of ways that can be used to check for
errors so that you don’t end up with text as shown in the example above!
• A number of methods exist which can detect errors and, in some cases,
actually correct the error.
• The methods covered in this section are:
Error Checking Methods
• parity checking
• automatic repeat request (ARQ)
• checksum
• echo checking.
Parity checking
• PARITY CHECKING is one method used to check whether data has been
changed or corrupted following transmission from one device or
medium to another device or medium.
• A byte of data, for example, is allocated a PARITY BIT. This is allocated
before transmission takes place.
• Systems that use EVEN PARITY have an even number of 1- bits; systems
that use ODD PARITY have an odd number of 1-bits.
• Consider the following byte:
• If this byte is using even parity, then the parity bit needs to be 0 since
there is already an even number of 1-bits (in this case, 4).
• If odd parity is being used, then the parity bit needs to be 1 to make
the number of 1-bits odd.
• Therefore, the byte just before transmission would be: either (even
parity) or (Odd) Parity
Example 1
Parity Check
• If a byte has been transmitted from ‘A’ to ‘B’, and even parity is used,
an error
• would be noticed if the byte now had an odd number of 1-bits at the
receiver’s end.
Error detection
• In this case, the receiver’s byte has three 1-bits, which means it now
has odd parity
• whilst the byte from the sender had even parity (four 1-bits). This
clearly means an
• error has occurred during the transmission of the data.
• The error is detected by the computer recalculating the parity of the
byte sent. If
• even parity has been agreed between sender and receiver, then a
change of parity in
• the received byte indicates that a transmission error has occurred.
Parity Blocks
• Naturally, any of the bits in Example 1 could have been changed
leading to a
• transmission error. Therefore, even though an error has been flagged,
it is impossible
• to know exactly which bit is in error.
Parity Blocks
One of the ways around this problem is to use PARITY BLOCKS.
In this method, a block of data is sent and the number of 1-bits are
totalled horizontally and vertically (in other words,
a parity check is done in both horizontal and vertical directions).
This method not only identifies that an error has
occurred but also indicates where the error is.
Parity Blocks
In this example, nine bytes of data have been transmitted. Agreement
has been made
that even parity will be used. Another byte, known as the PARITY
BYTE, has also been sent.
This byte consists entirely of the parity bits produced by the vertical
parity check.
The parity byte also indicates the end of the block of data.
The following table shows how the data arrived at the receiving end:
Example 2
A careful study of above shows the following:
• byte 8 (row 8) has incorrect parity (there are three 1-bits)
• bit 5 (column 5) also has incorrect parity (there are five 1-bits).
First of all, the table shows that an error has occurred following data transmission.
Secondly, at the intersection of row 8 and column 5, the position of the incorrect
bit value (which caused the error) can be found.
This means that byte 8 should have the value:
which would also correct column 5 giving an even vertical parity
(now has four 1-bits).
This byte could therefore be corrected automatically as shown above, or an error
message could be relayed back to the sender asking them to retransmit the block
of data.
The End

More Related Content

Similar to Communication & Internet Technologies PPT 2.pptx

Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentationAhmedMuhumed2
 
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 Unitpezhappy99
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correctionfg657
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- finalTaymoor Nazmy
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
 
Osi model
Osi model Osi model
Osi model maha tce
 
data link layer - Chapter 3
data link layer - Chapter 3data link layer - Chapter 3
data link layer - Chapter 3SakthiVinoth78
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxShantanuDharekar
 
Communcation systems
Communcation systemsCommuncation systems
Communcation systemsMR Z
 
12 ipt 0301 Characteristics of a communication system
12 ipt 0301   Characteristics of a communication system12 ipt 0301   Characteristics of a communication system
12 ipt 0301 Characteristics of a communication systemctedds
 
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer NetworksIRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer NetworksIRJET Journal
 
data link layer to print
data link layer to printdata link layer to print
data link layer to printBishalWosti1
 
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.pdfSushantRaj25
 
12 ipt 0301: Characteristics of a Communication System
12 ipt 0301: Characteristics of a Communication System12 ipt 0301: Characteristics of a Communication System
12 ipt 0301: Characteristics of a Communication Systemctedds
 
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.pptxgadisaAdamu
 

Similar to Communication & Internet Technologies PPT 2.pptx (20)

COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
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
 
1.5.1 Lect_parity.pptx
1.5.1 Lect_parity.pptx1.5.1 Lect_parity.pptx
1.5.1 Lect_parity.pptx
 
Error dectation and correction
Error dectation and correctionError dectation and correction
Error dectation and correction
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- final
 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
 
Osi model
Osi model Osi model
Osi model
 
data link layer - Chapter 3
data link layer - Chapter 3data link layer - Chapter 3
data link layer - Chapter 3
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptx
 
22BA013 IM.pptx
22BA013 IM.pptx22BA013 IM.pptx
22BA013 IM.pptx
 
Class 10
Class 10Class 10
Class 10
 
Communcation systems
Communcation systemsCommuncation systems
Communcation systems
 
12 ipt 0301 Characteristics of a communication system
12 ipt 0301   Characteristics of a communication system12 ipt 0301   Characteristics of a communication system
12 ipt 0301 Characteristics of a communication system
 
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer NetworksIRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
data link layer to print
data link layer to printdata link layer to print
data link layer to print
 
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
 
12 ipt 0301: Characteristics of a Communication System
12 ipt 0301: Characteristics of a Communication System12 ipt 0301: Characteristics of a Communication System
12 ipt 0301: Characteristics of a Communication System
 
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
 

Recently uploaded

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
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.pdfAdmir Softic
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 

Communication & Internet Technologies PPT 2.pptx

  • 1. IGCSE 1 Topic : Communication & Internet Technologies Error Checking Methods 1
  • 2. Error Checking Methods • Following data transmission, there is always the risk that the data has been corrupted or changed in some way. • This can occur whether data is being transmitted over short distances or over long distances. • Checking for errors is important since computers aren’t able to check that text is correct; they can only recognize whether a word is in their built-in dictionary or not. • Look at the following text:
  • 3. Try Reading This. Can you raed tihs? ‘I cnduo’t bvleiee taht I culod aulaclty uesdtannrd waht I was rdnaieg. Unisg the icndeblire pweor of the hmuan mnid, aocdcrnig to rseecrah at Cmabridge Uinervtisy, it dseno’t mttaer in waht oderr the lterets in a wrod are, the olny irpoamtnt tihng is taht the frsit and lsat ltteer be in the rhgit pclae. The rset can be a taotl mses and you can sitll raed it whoutit a pboerlm. Tihs is bucseae the huamn mnid deos not raed ervey ltteer by istlef, but the wrod as a wlohe. Aaznmig, huh? Yeah and I awlyas tghhuot slelinpg was ipmorantt! See if yuor fdreins can raed tihs too’ (From an unknown source at Cambridge University)
  • 4. • Whilst you probably had little problem understanding this text, a computer would be unable to make any sense of it. • This is why error checking is such an important part of computer technology. • This section considers a number of ways that can be used to check for errors so that you don’t end up with text as shown in the example above! • A number of methods exist which can detect errors and, in some cases, actually correct the error. • The methods covered in this section are:
  • 5. Error Checking Methods • parity checking • automatic repeat request (ARQ) • checksum • echo checking.
  • 6. Parity checking • PARITY CHECKING is one method used to check whether data has been changed or corrupted following transmission from one device or medium to another device or medium. • A byte of data, for example, is allocated a PARITY BIT. This is allocated before transmission takes place. • Systems that use EVEN PARITY have an even number of 1- bits; systems that use ODD PARITY have an odd number of 1-bits. • Consider the following byte:
  • 7. • If this byte is using even parity, then the parity bit needs to be 0 since there is already an even number of 1-bits (in this case, 4). • If odd parity is being used, then the parity bit needs to be 1 to make the number of 1-bits odd. • Therefore, the byte just before transmission would be: either (even parity) or (Odd) Parity Example 1
  • 8. Parity Check • If a byte has been transmitted from ‘A’ to ‘B’, and even parity is used, an error • would be noticed if the byte now had an odd number of 1-bits at the receiver’s end.
  • 9. Error detection • In this case, the receiver’s byte has three 1-bits, which means it now has odd parity • whilst the byte from the sender had even parity (four 1-bits). This clearly means an • error has occurred during the transmission of the data. • The error is detected by the computer recalculating the parity of the byte sent. If • even parity has been agreed between sender and receiver, then a change of parity in • the received byte indicates that a transmission error has occurred.
  • 10. Parity Blocks • Naturally, any of the bits in Example 1 could have been changed leading to a • transmission error. Therefore, even though an error has been flagged, it is impossible • to know exactly which bit is in error.
  • 11. Parity Blocks One of the ways around this problem is to use PARITY BLOCKS. In this method, a block of data is sent and the number of 1-bits are totalled horizontally and vertically (in other words, a parity check is done in both horizontal and vertical directions). This method not only identifies that an error has occurred but also indicates where the error is.
  • 12. Parity Blocks In this example, nine bytes of data have been transmitted. Agreement has been made that even parity will be used. Another byte, known as the PARITY BYTE, has also been sent. This byte consists entirely of the parity bits produced by the vertical parity check. The parity byte also indicates the end of the block of data. The following table shows how the data arrived at the receiving end:
  • 13. Example 2 A careful study of above shows the following: • byte 8 (row 8) has incorrect parity (there are three 1-bits) • bit 5 (column 5) also has incorrect parity (there are five 1-bits).
  • 14. First of all, the table shows that an error has occurred following data transmission. Secondly, at the intersection of row 8 and column 5, the position of the incorrect bit value (which caused the error) can be found. This means that byte 8 should have the value: which would also correct column 5 giving an even vertical parity (now has four 1-bits). This byte could therefore be corrected automatically as shown above, or an error message could be relayed back to the sender asking them to retransmit the block of data.