SlideShare a Scribd company logo
1 of 9
SUBJECT :- Computer Nwtwork-2140709
TOPIC :- Error Detection
Prepared by: Vaani Pathak
Branch: CE
Division: B3
Enrollment No.: 170120107131
Guided by: Prof. Mohit Bhadla
Error Detection
Gandhinagar Institute Of Technology2
 Techniques for error detection
• Parity Check
• Checksum methods
• Cyclic Redundancy Check
Parity Check
Gandhinagar Institute Of Technology3
 One extra bit is sent along with the original bits to
make number of 1’s either even in case of even
parity, or odd in case of odd parity.
 For example, if even parity is used and number of 1s
is even then one bit with value 0 is added. This way
number of 1s remains even.
 If the number of 1s is odd, to make it even a bit with
value 1 is added.
Gandhinagar Institute Of Technology4
 Receiver counts the number of 1s in a frame. If the
count of 1’s is even and even parity is used, the
frame is considered to be not corrupted and is
accepted.
 If the count of 1s is odd and odd parity is used, the
frame is still not corrupted.
 If a single bit flips in transit, the receiver can detect it
by counting the number of 1’s.
 But when more than one bits are erroneous, then it
is very hard for the receiver to detect the error.
Checksum
Gandhinagar Institute Of Technology5
 Data is divided into k segments each
of m bits.
 Sender side: Segments are added
using 1’s complement arithmetic to
get the sum.
 Sum is complemented to get the
checksum.
 Checksum segment is sent along
with the data segments.
 Receiver Side: All received
segments are added using 1’s
complement arithmetic to get
complemented sum.
 If the result is zero, the received
data is accepted; otherwise
discarded
Cyclic Redundancy Check
Gandhinagar Institute Of Technology6
 CRC is the most powerful and easy to implement
technique.
 CRC is based on binary division.
 At the destination, the incoming data unit is divided
by the same number.
 If at this step there is no remainder, the data unit is
assumed to be correct and is therefore accepted.
 A remainder indicates that the data unit has been
damaged in transit and therefore must be rejected.
CRC – Example
Gandhinagar Institute Of Technology7
CRC example 2
Gandhinagar Institute Of Technology8
THANK YOU

More Related Content

Similar to error detection

Error Detection types
Error Detection typesError Detection types
Error Detection types
Kamran Ashraf
 
4 implementation of various error detection and correction techniques in c...
4 implementation of    various error detection and correction techniques in c...4 implementation of    various error detection and correction techniques in c...
4 implementation of various error detection and correction techniques in c...
ZerihunDemere
 
adhoc and wireless sensor network nptel assignment answers (1).pdf
adhoc and wireless sensor network nptel assignment answers (1).pdfadhoc and wireless sensor network nptel assignment answers (1).pdf
adhoc and wireless sensor network nptel assignment answers (1).pdf
rubini Rubini
 

Similar to error detection (20)

Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
 
Error Detection types
Error Detection typesError Detection types
Error Detection types
 
computer network-unit 2
computer network-unit 2computer network-unit 2
computer network-unit 2
 
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
Fault Detection in Mobile Communication Networks Using Data Mining Techniques...
 
4 implementation of various error detection and correction techniques in c...
4 implementation of    various error detection and correction techniques in c...4 implementation of    various error detection and correction techniques in c...
4 implementation of various error detection and correction techniques in c...
 
data link layer - Chapter 3
data link layer - Chapter 3data link layer - Chapter 3
data link layer - Chapter 3
 
Error Control In Network Layer
Error Control In Network LayerError Control In Network Layer
Error Control In Network Layer
 
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
 
Ch6.ppt
Ch6.pptCh6.ppt
Ch6.ppt
 
Error.pdf
Error.pdfError.pdf
Error.pdf
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
DATA LINK LAYER.pdf
DATA LINK LAYER.pdfDATA LINK LAYER.pdf
DATA LINK LAYER.pdf
 
Data communication network ppt_Unit_4.pptx
Data communication network ppt_Unit_4.pptxData communication network ppt_Unit_4.pptx
Data communication network ppt_Unit_4.pptx
 
Discuss the invocation semantics that can be achieved when the request-reply ...
Discuss the invocation semantics that can be achieved when the request-reply ...Discuss the invocation semantics that can be achieved when the request-reply ...
Discuss the invocation semantics that can be achieved when the request-reply ...
 
adhoc and wireless sensor network nptel assignment answers (1).pdf
adhoc and wireless sensor network nptel assignment answers (1).pdfadhoc and wireless sensor network nptel assignment answers (1).pdf
adhoc and wireless sensor network nptel assignment answers (1).pdf
 
Data link layer tutorial
Data link layer tutorialData link layer tutorial
Data link layer tutorial
 
Computer network coe351- part4- final
Computer network coe351- part4- finalComputer network coe351- part4- final
Computer network coe351- part4- final
 
IRJET- Missing Data Imputation by Evidence Chain
IRJET- Missing Data Imputation by Evidence ChainIRJET- Missing Data Imputation by Evidence Chain
IRJET- Missing Data Imputation by Evidence Chain
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communication
 

More from vaani pathak (15)

D’Alembert’s Solution of the Wave Equation
D’Alembert’s Solution of the Wave EquationD’Alembert’s Solution of the Wave Equation
D’Alembert’s Solution of the Wave Equation
 
Dynamic Memory Allocation
Dynamic Memory AllocationDynamic Memory Allocation
Dynamic Memory Allocation
 
file management functions
file management functionsfile management functions
file management functions
 
interpolation of unequal intervals
interpolation of unequal intervalsinterpolation of unequal intervals
interpolation of unequal intervals
 
Arc Length, Curvature and Torsion
Arc Length, Curvature and TorsionArc Length, Curvature and Torsion
Arc Length, Curvature and Torsion
 
Cpd 4.2
Cpd 4.2Cpd 4.2
Cpd 4.2
 
CPD ch 7
CPD ch 7CPD ch 7
CPD ch 7
 
Chain Drive
Chain DriveChain Drive
Chain Drive
 
AM FM PM
AM FM PMAM FM PM
AM FM PM
 
Fixtures and Reflectors
Fixtures and ReflectorsFixtures and Reflectors
Fixtures and Reflectors
 
Calculus ppt format
Calculus ppt formatCalculus ppt format
Calculus ppt format
 
Planning for presentation
Planning for presentationPlanning for presentation
Planning for presentation
 
Types of polarisation
Types of polarisationTypes of polarisation
Types of polarisation
 
CPU Algorithm
CPU Algorithm CPU Algorithm
CPU Algorithm
 
Air Pollution Acts
Air Pollution ActsAir Pollution Acts
Air Pollution Acts
 

Recently uploaded

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 

error detection

  • 1. SUBJECT :- Computer Nwtwork-2140709 TOPIC :- Error Detection Prepared by: Vaani Pathak Branch: CE Division: B3 Enrollment No.: 170120107131 Guided by: Prof. Mohit Bhadla
  • 2. Error Detection Gandhinagar Institute Of Technology2  Techniques for error detection • Parity Check • Checksum methods • Cyclic Redundancy Check
  • 3. Parity Check Gandhinagar Institute Of Technology3  One extra bit is sent along with the original bits to make number of 1’s either even in case of even parity, or odd in case of odd parity.  For example, if even parity is used and number of 1s is even then one bit with value 0 is added. This way number of 1s remains even.  If the number of 1s is odd, to make it even a bit with value 1 is added.
  • 4. Gandhinagar Institute Of Technology4  Receiver counts the number of 1s in a frame. If the count of 1’s is even and even parity is used, the frame is considered to be not corrupted and is accepted.  If the count of 1s is odd and odd parity is used, the frame is still not corrupted.  If a single bit flips in transit, the receiver can detect it by counting the number of 1’s.  But when more than one bits are erroneous, then it is very hard for the receiver to detect the error.
  • 5. Checksum Gandhinagar Institute Of Technology5  Data is divided into k segments each of m bits.  Sender side: Segments are added using 1’s complement arithmetic to get the sum.  Sum is complemented to get the checksum.  Checksum segment is sent along with the data segments.  Receiver Side: All received segments are added using 1’s complement arithmetic to get complemented sum.  If the result is zero, the received data is accepted; otherwise discarded
  • 6. Cyclic Redundancy Check Gandhinagar Institute Of Technology6  CRC is the most powerful and easy to implement technique.  CRC is based on binary division.  At the destination, the incoming data unit is divided by the same number.  If at this step there is no remainder, the data unit is assumed to be correct and is therefore accepted.  A remainder indicates that the data unit has been damaged in transit and therefore must be rejected.
  • 7. CRC – Example Gandhinagar Institute Of Technology7
  • 8. CRC example 2 Gandhinagar Institute Of Technology8