Presentation Group. 03
Presentation Group. 03
Presentation Group. 03
Group#03
Presentation 1
Subject & instructor
Computer Networks
By
Mam Tayyaba Rashid
Presentation 2
Group Members
&
Topics To Cover
Ali Muhammad
-Error
-Types of Errors
-Redundancy
-Ways of Correcting Errors.
Muhammad Talha Khalid
-Block Coding
-Error Detection by Using Block Coding.
-Error Correction by Using Block Coding.
Group No.03 3
Group Members
&
Topics To Cover
Group No.03 4
Group Members
&
Topics To Cover
Ali Zia
-Cyclic Code
-Linearity
-Cyclic Shift
-Cyclic Redundancy Check (CRC)
Arifa Anwar
-Checksum
-1’s Complement Checksum
-Internet Checksum
Group No.03 5
Error
A condition when the
receiver’s information
does not match with
the sender’s
information.
During transmission,
digital signals suffer
from noise that can
introduce errors in the
binary bits travelling
from sender to receiver.
Single-bit Error
The term single-bit error
means that only one bit
of given data unit (such
as a byte, character, or
data unit) is changed
from 1 to 0 or from 0 to
1.
Burst Error
The term burst error
means that two or more
bits in the data unit have
changed from 0 to 1 or
vice-versa. Group No.03 7
Redundancy
To be able to detect or correct errors,
we need to send some extra bits with
our data .
Group No.03 8
Redundant Bit
Redundant bits or extra
binary digits that are
generated and moved with a
data transfer to ensure that
no bits were lost during the
data transfer.
Group No.03 9
Ways of Correcting Errors
Ways
Group No.03 10
Forward Error correction:
The process in which the receiver tries to guess the
message by using redundant bits.
if the number of errors is small.
Correction By Retransmission:
Group No.03 11
Block Coding
Group No.03 12
Error Detection by Using Block
Coding
Group No.03 16
Hamming Distance
The Hamming distance is a
metric (in the mathematical
sense) used in error
correction theory to
measure the distance
between two codewords.
Group No.03 17
Group No.03 18
Minimum Hamming
Distance
The Minimum Hamming distance
is used to define some essential notions
in coding theory, such as error detecting
and error correcting codes. In particular,
a code C is said to be k error detecting if,
and only if, the minimum
Hamming distance between any two of
its codewords is at least k+1.
Group No.03 19
Minimum Hamming distance for
error detection
Group No.03 20
Minimum Hamming distance for
error correction
To design a code that can correct d single
bit errors, a minimum distance of 2d + 1
is required. That puts the valid codewords
so far apart that even after bit errors
in d of the bits, it is still less than half the
distance to another valid codeword, so
the receiver will be able to determine
what the correct starting codeword was.
Group No.03 21
Group No.03 22
CYCLIC CODE
A Cyclic Code is a block code,
where the circular shifts of each
codeword gives another word that
belongs to the code.
Group No.03 23
LINEARITY
In computer networking, linear network
coding is a program in which
intermediate nodes transmit data
from source nodes to sink nodes by
means of linear combinations.
Group No.03 24
CYCLIC SHIFT
In computer programming, a
bitwise rotation, also known as
a circular shift, is a bitwise
operation that shifts all bits
of its operand.
Group No.03 25
Group No.03 26
CYCLIC REDUNDANCY
CHECK
CRC or Cyclic
Redundancy
Check is a
method of
detecting
accidental
changes/erro
rs in the
communicati
on channel.
Group No.03 27
Checksum
Group No.03 29
• Then the receiver compare the value with the
last value that the sender have send (sum
result).
Group No.03 30
1’s Complement Checksum
• The sender initializes the checksum to
zero.
Group No.03 33
Internet Checksum
At Receiver’s Site:
Group No.03 36