Chapter # 2
Chapter # 2
Structure • a trailer.
Packet switching is a method of data
transmission in which a message is broken
up into a number of packets.
Packet Switching
serial.
Disadvantage:
is essential.
Comparison of Serial and Parallel data
transmission
Universal serial bus (USB)
• The universal serial bus (USB) is a form of serial data
transmission. USB is now the most common type of input/output
port found on computers and has led to a standardisation
method for the transfer of data between devices and a
computer.
Benefits of USB
Error Checking Methods
the returned data is compared with the original data by the sender’s computer
if there are no differences, then the data was sent without error
if the two sets of data are different, then an error occurred at some stage
during the data transmission.
Check digit
• A check digit is the final digit included in a code; it is calculated from
all the other digits in the code.
• Check digits are used for barcodes on products, such as
International Standard Book Numbers (ISBN) and Vehicle
Identification Numbers.
They can usually detect the following types of error:
• an incorrect digit entered, for example 5327 entered instead of 5307
• transposition errors where two numbers have changed order, for
example 5037 instead of 5307
• omitted or extra digits, for example 537 instead of 5307 or 53107
instead of 5307
• phonetic errors, for example 13 (thirteen), instead of 30 (thirty).
Automatic Repeat Request (ARQ)
This method can best be summarised as follows:
ARQ uses positive and negative acknowledgements (messages sent to the receiver indicating that data has/has not been
received correctly) and timeout (this is the time interval allowed to elapse before an acknowledgement is received)
the receiving device receives an error detection code as part of the data transmission.
this is used to detect whether the received data contains any transmission errors