Revision Notes - 23 Data Transmission Technologies PDF
Revision Notes - 23 Data Transmission Technologies PDF
Waqar Ghori
Data transmission
technologies
1.
Waqar Ghori
Revision notes
Introduction
Data transmission technologies allow users to transmit data from one
point to other. Data transmission can be over short distances, for
example, from a CPU to a monitor for displaying information. Data is
also transmitted over long distances, for example, from a satellite
back to Earth. For error-free transmission of data between the sender
and receiver, three factors are to be considered: Direction of
transmission, method of transmission and method of
synchronization.
Waqar Ghori
Figure 1: Factors affecting data transmission
Classification of
transmission Transmissions are classified as
shown in the following table:
communication in which both parties can send and hear at the same
time.
Waqar Ghori
Figure 2: Types of transmission
The receiver counts the number of bits received and converts them
Waqar Ghori
A USB device has four pins. Two pins are responsible for connecting
wires, which carry the power and ground connection. The two other
pins connect the wires that transmit data. Hence, the cable used to
connect two USB ports is a four-wire shielded cable.
Step 4: In cases where the device driver is not available, the computer
prompts the user to install the required driver.
Waqar Ghori
The benefits of USB data transmission are:
• Once the device is plugged in, the device drivers are installed
automatically. A USB interface is self-configuring.
Error-checking methods
When data is transmitted through a channel, it could get corrupted or
changed. Hence, it’s very important to implement error-checking
methods in computer technology. These methods are used to detect
and correct errors. These methods are discussed in detail
Even parity 1
Parity bit
Data
In the above data, there are 5 bits of 1. Hence, to make the number of
1 bits even, parity bit is assigned bit 1. The number of bits is odd and
hence, the parity bit in odd parity is 0.
Waqar Ghori
Let us consider the following byte of data, which uses even parity,
received by a receiver.
10101110
To find the exact location of the bit changed, a block of data is sent.
The parity is checked both horizontally and vertically.
Byte 1 1 1 0 1 1 0 1 1
Byte 2 1 1 1 1 0 1 1 0
Byte 3 0 0 1 0 0 1 1 1
Byte 4 1 0 1 1 0 0 1 0
Byte 5 1 1 1 1 0 1 1 0
Byte 6 0 1 0 1 1 0 1
1
i
Byte 7 1 0 0 1 0 1 0 1
r
Byte 8 1 1 0 0 1 1 1 1
o
Byte 9 0 1 1 1 1 0 1
1
h
Waqar G
Parity
byte 0 0 1 0 0 0 1 0
The parity is checked at the receiver side in case a particular bit has
changed in transmission. When carefully observed, it can be noted
that row 6 and column 3 has incorrect parity. Byte 6 can be
automatically corrected to be 01001011 or an error message could be
sent to the sender. If two bits changed during transmission, it could
be impossible to locate the error.
• Checksum
A value called a checksum is attached to the end of the block of data.
This value can indicate transmission errors.
The following method describes the checksum of a block of
data: Checksum = the sum of all digits, if the sum of all digits ≤
255.
If the sum of all digits > 255, the checksum is found according to the
following algorithm:
Waqar Ghori
iii. Multiply Y by 256 and denote this number by Z.
iv. The difference (X-Z) is the checksum generated.
For example:
Let us calculate the checksum of a number with a byte sum
• Echo check
In this method, the data is sent from the sender to the receiver and
the data received is sent back to the sender. The sender compares
the two sets of data for transmission errors. This method is not very
reliable because it cannot be decided in which transmission the data
was corrupted. An error-free echo check would prove that no data
has changed or been corrupted.
2.
Waqar Ghori
Activities
Activity-1
Duration: 10 minutes
1. Find out the location of error in the following block of data received
by the user if odd parity was used.
y bit Bit 2 Bit 4 Bit 6
Parit Bit 1 Bit 3 Bit 5 Bit 7
Byte 1 1 1 0 1 1 0 0 1
Byte 2 1 1 1 0 0 0 1 1
Byte 3 0 1 0 1 0 1 1 1
Byte 4 1 0 1 0 1 0 1
0
Byte 5 0 1 1 1 0 0 0 0
r
Byte 6 1 1 0 0 0 1 1
o
Byte 7 0 1 0 0 1 0 1 0
h
Byte 8 0 1 1 1 0 0 0
G
Byte 9 1 1 0 0 0 0 0
1
r
Waqa
Parity
byte 0 1 1 1 1 1 0 0
Activity-2
Duration: 10 minutes
Waqar Ghori
2. Calculate the checksum of a number with a byte sum 1183.
3.
Waqar Ghori
End of topic
questions
End of topic questions
1. Based on what factors is data transmission classified?
2. What are the differences between serial and parallel data
transmission?
3. How do the sender and receiver notify each other in asynchronous
data transmission?
Waqar Ghori
5. What are the functions of pins in the USB port?
6. What happens when a USB device is plugged into the computer?
Write down the various steps.
7. How does the echo check method ensure that the data received is
error free?