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

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

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.