COMPUTER NETWORK - UNIT IV
1
Error :- An error occurs when the output information does not match the input information.
The interfaces can change the shape of a signal and such changes can alter the meaning
of data.
An error is a situation when data received at the destination ma...
An error occurs when the output information does not match the input information.
The int erfaces can change t he shape of a signal and such changes can alt er t he meaning
of data.
An error is a sit uat ion when data received at t he dest inat ion machine is not the same as
data t hat is actually sent by t he source machine.
Types of Errors
Basically, t here are two t ypes of errors t hat can occur during t he transmission of data.
The t ypes of errors are as follows.
o Single Bit Error: The term single bit error means t hat only one bit of a data unit is
changed from 1 to 0 or from 0 to 1.
o Burst Error: The term burst error means t he two or more two bit s of t he data unit is
changed from 1 to 0 or vice versa.
There may be three types of errors:
Single bit error
In a frame, there is only one bit, anywhere though, which is corrupt.
Multiple bits error
Frame is received with more than one bits in corrupted state.
Burst error
Frame contains more than1 consecutive bits corrupted.
Error control mechanism may involve two possible ways:
Error detection
Error correction
1
, COMPUTER NETWORK - UNIT IV
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.
In networking, error detection refers to the techniques used to detect noise or other impairments
introduced into data while it is transmitted from source to destination.
Error detection ensures reliable delivery of data across vulnerable networks.
The oldest method of error correction involves using parity. It works by adding an additional bit to each
character word transmitted.
The state of the bit is determined by a number of factors such as the type of parity and the number of
logic-one bits in the data character.
Error Detecting Codes (Implemented either at Data link layer or Transport Layer of OSI Model)
Whenever a message is transmitted, it may get scrambled by noise or data may get corrupted.
To avoid this, we use error-detecting codes which are additional data added to a given digital message
to help us detect if any error has occurred during transmission of the message.
Basic approach used for error detection is the use of redundancy bits, where additional bits are added
to facilitate detection of errors.
Some popular techniques for error detection are:
1. Simple Parity check
2. Two-dimensional Parity check
3. Checksum
4. Cyclic redundancy check
1. Simple Parity check : -
It is also known as a parity check.
It has a cost-effective mechanism for error detection.
In this technique, the redundant bit is known as a parity bit. It is appended for every data unit. The
total number of 1s in the unit should become even, which is known as a parity bit.
This scheme makes the total number of 1’s even, that is why it is called even parity checking.
2. Two-dimensional Parity check
Parity check bits are calculated for each row, which is equivalent to a simple parity check bit.
Parity check bits are also calculated for all columns, then both are sent along with the data.
At the receiving end these are compared with the parity bits calculated on the received data.
2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller epicshorts. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.