Error Detection and Correction in Computer Network - DataFlair
Error Detection and Correction in Computer Network - DataFlair
Blog Home
Data Science
Data Science Tutorials
Categories
Machine Learning Tutorials
Programming
C Tutorials
Error Free Courses
Cloud
Big Data
Big Data
Scala
Cloud Tutorials
Computing
TutorialsTutorials Detection
Python Tutorials
Android Tutorials
Hadoop
Python
Java
AWS Tutorials
Tutorials
Tutorials
Ecosystem Tutorials
Blockchain
BI TutorialsTutorials
And
ApacheTutorials
TensorFlow
Tableau
Spring Spark
Tutorials
Tutorials
Tutorials
Linux&Tutorials
SQL NoSQL Correction
Apache
Pandas
Power
SQL Tutorials
BI
Tutorials
Flink
Tutorials
Tutorials
JavaScript
IoT Tutorials
Django
QlikView
Cassandra
Tutorials
Apache Tutorials
Kafka
Tutorials
Tutorials
Tutorials in
AngularJS
R TutorialsTutorials
Qlik Sense Tutorials
MongoDB Tutorials Computer
SAS Tutorials
SAP HANA Tutorials
AI Tutorials
Network
ad
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 2/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
despite occasional
problems.
Error Detection:
When a message is sent, it
may be jumbled by noise or
the data may be damaged.
To avoid this, we employ
error-detecting codes,
which are bits of extra data
appended to a digital
message to assist us detect
whether an error occurred
during transmission.
Error Detection
Techniques:
1. Simple Parity
Check:
One extra bit is
transmitted in addition
to the original bits to
make the number of 1s
even in the case of even
parity or odd in the case
of odd parity.
While creating a frame,
the sender counts the
amount of 1s in it. If
even parity is utilised
and the number of 1s is
even, one bit with the
value 0 is added. In this
manner, the number of
1s remains even. If the
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 3/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
number of 1s is odd, a
value 1 is added to
make it even.
The receiver just counts
how many 1s are in a
frame. If the number of
1s is even and even
parity is utilised, the
frame is regarded as
uncorrupted and
approved. Even if the
number of 1s is odd and
odd parity is utilised,
the frame is not
damaged.
The receiver can
identify a single bit flip
in transit by counting
the number of 1s.
However, when more
than one bit is
incorrect, it is
extremely difficult for
the receiver to identify
the problem.
2. Two-
Dimensional
Parity Check:
For each row, parity check
bits are calculated, which is
identical to a basic parity
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 4/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
ad
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 5/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
3. Checksum:
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 6/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
4. Cyclic
Redundancy
Check:
CRC is an alternative
method for determining
whether or not a received
frame includes valid data.
The binary division of the
data bits being delivered is
used in this approach.
Polynomials are used to
generate the divisor.
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 7/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
Error
Correction:
Error Correction codes are
used to detect and repair
mistakes that occur during
data transmission from the
transmitter to the receiver.
There are two approaches
to error correction:
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 8/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
1. Backward Error
Correction:
When a backward mistake
is detected, the receiver
requests that the sender
retransmit the complete
data unit.
2. Forward Error
Correction:
In this scenario, the error-
correcting code is used by
the receiver, which
automatically corrects the
mistakes.
2r>=d+r+1
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 9/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Error
Correction
Techniques:
1. Hamming Code:
Parity bits: A bit that is
added to the original binary
data to make sure the total
number of 1s is even or odd
(in case of even or odd
parity respectively).
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 10/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
To produce d+r, an
information of ‘d’ bits is
added to the redundant bits
‘r’.
Thus, number of
redundancy bits = 4
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 11/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
Determining the
parity bits:
R1:
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 12/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
R2:
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 13/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
R4:
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
R8:
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 14/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Smart Manufacturing
READ MORE
sponsored by: Mitsubishi Electric
Summary:
In this article, we looked at
the concepts of error
detection and error
correction, and the various
techniques used in both
these concepts. We also
looked at the detailed
explanation of the
Hamming Code method
which is the most popular
method for error
correction, as well as some
popular methods for error
detection such as Cyclic
Redundancy Check, Parity
Check etc.
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 15/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
1 RESPONSE
Comments 1
Pingbacks 0
Nithin
December 12, 2022 at
2:59 pm
useful
information….Good.
Reply
LEAVE A REPLY
Comment *
Name * Email *
Post Comment
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 16/19
3/19/24, 2:15 PM Error Detection And Correction in Computer Network - DataFlair
Free MongoDB
Course [English]
Trending
Programming
Courses
DataFlair © 2024. All Rights Reserved.
https://data-flair.training/blogs/error-detection-and-correction-in-computer-network/ 19/19