Data transmission is the process of sending digital data between devices. It is fundamental to modern communication.
This section covers:
Data transmitted over a network is broken into small, organized units called packets. This method enhances transmission speed, reliability, and flexibility, allowing multiple users to share network resources efficiently.
This system ensures network robustness; if one path fails, packets can utilize alternate routes.
Data flows in one direction only, from sender to receiver.
Example: Traditional radio broadcasts.
Advantage: Simple and inexpensive. Disadvantage: Lacks two-way communication.
Data flows in both directions, but not simultaneously.
Example: Walkie-talkies.
Advantage: More flexible than simplex. Disadvantage: Delays occur when switching direction.
Data flows in both directions simultaneously.
Example: Telephone conversations.
Advantage: Fastest and most efficient communication. Disadvantage: Requires more complex hardware.
Data bits are sent one at a time over a single channel.
Example: USB.
Advantage: Reliable over long distances. Disadvantage: Slower than parallel for short distances.
Multiple bits are sent simultaneously over multiple channels.
Example: Internal computer buses.
Advantage: Faster data transfer for very short distances. Disadvantage: Prone to signal interference and expensive cabling.

USB uses serial data transmission.
Example speed: USB 3.0 (5 Gbps)
Errors in data transmission occur due to interference, electrical noise, or hardware issues, which can corrupt information. Error detection methods are vital to ensure data integrity by allowing systems to identify when these errors have occurred.
Adds an extra bit to data to make the total number of 1s either odd or even, for basic error detection.
How it works: A parity bit is set (0 or 1) to achieve a pre-determined count (even or odd) of 1s in the data block. If the count at the receiver is incorrect, an error is detected.
Example (Even Parity): Data 1011010, Parity bit 0. Transmitted: 10110100.
Limitation: Detects only odd numbers of bit errors.
Parity Byte and Parity Block Check can detect more errors.
A calculated value derived from the data; the sender includes it with data, and the receiver re-calculates to compare.
Process:
Limitation: Different errors can produce the same checksum.
The receiver sends the received data back to the sender for comparison with the original.
Process:
Advantage: Very reliable detection. Disadvantage: Doubles transmission time/bandwidth.
An extra digit added to important numbers to detect data entry errors.
Examples:
Purpose: Alerts if a number is mistyped, catching single-digit and transposition errors.
ARQ detects errors and ensures data retransmission until it arrives correctly, making transmission reliable even over noisy connections.
Sender transmits packet and starts timeout timer.
Receiver checks for errors using detection methods.
ACK (no errors): Receiver sends ACK. Sender sends next packet.
NAK (errors): Receiver sends NAK. Sender retransmits packet.
If no acknowledgement received, sender retransmits packet.
Encryption protects data from unauthorized access by converting plaintext to ciphertext using keys.
Uses the SAME key for both encryption and decryption.
How it works:
Advantages:
Disadvantages:
Example: AES
Uses a PUBLIC key for encryption and a PRIVATE key for decryption.
How it works:
Advantages:
Disadvantages:
Example: RSA
Powered by Bytonix — Digital Learning for Computer Science

Data Transmission