Data Communication
Data Communication
2. Digital Transmission
Digital transmission involves converting analog signals into digital format (binary 1s and 0s) and
transmitting them over communication channels. It offers better noise immunity and efficient bandwidth
utilization compared to analog transmission.
4. Packet Switching
Packet switching is a method used in digital networks where data is broken into packets, transmitted
independently, and reassembled at the destination. It is widely used in the internet and computer networks.
Datagram Packet Switching: Each packet is treated independently and may take different paths.
Virtual Circuit Packet Switching: A pre-determined path is established before transmission.
Data Communication
Data communication involves the exchange of digital data between devices through a transmission
medium. However, errors can occur due to noise, interference, or signal distortion. To ensure
accurate data transfer, error detection and correction techniques are used.
1.Error Control
Error control is a method of detecting and correcting errors in data communication. It ensures that the
received data is accurate and reliable. There are two primary types of error control:
i) Error Detection
Error detection identifies errors in the transmitted data but does not correct them. The receiver requests
retransmission if an error is found.
Error correction detects and fixes errors without retransmission. This is used in situations where
retransmission is not feasible, such as satellite communication.
Error Control Techniques
2. Error Detection
Error detection is the process of identifying whether data has been altered during transmission.
A single bit (parity bit) is added to the data to make the total number of 1s either even or odd.
Formula:
For an 8-bit data word, the parity bit is:
Parity bit=XOR of all data bits\text{Parity bit} = \text{XOR of all data bits}Parity bit=XOR of all data bits
Example:
Data: 1011001 (7 bits)
Even parity bit: 1 (so total 1s = 4, which is even)
Transmitted data: 10110011
CRC is a more robust error detection method that uses polynomial division. A sequence of
redundant bits (CRC checksum) is appended to the data.
Formula:
iii) Checksum
The checksum method adds all data segments and sends the sum as an extra value. The receiver
performs the same sum and compares it with the transmitted checksum.
Formula: