CHAPTER 2_Data Transmission
CHAPTER 2_Data Transmission
📦 Data Packets
A typical data packet is composed of three parts:
Packet Header: Contains control information.
Payload: Actual data being transmitted.
Trailer: Includes error-checking information.
🔄 Packet Switching
Packet switching is a connectionless network switching technique where
messages are divided into packets and routed individually from source to
destination.
Packet switching is a connectionless network switching technique. Here, the
message is divided and grouped into a number of units called packets that
are individually routed from the source to the destination. There is no need
to establish a dedicated circuit for communication.
Each packet includes:
Header: Addressing information for routing.
Payload: The actual data.
Packets may take different routes and arrive out of order, requiring the
destination to reorder them.
✅ Advantages
Reduced delay: Packets are sent immediately.
Efficient storage: Switching devices don't need to store entire
messages.
Resilience: Data delivery continues even with link failures by
rerouting packets.
Simultaneous Usage: Allows multiple users on the same channel.
Better bandwidth usage: Multiple sources can use the same link.
❌ Disadvantages
Unsuitable for real-time applications: Not ideal for high-quality
voice calls due to potential delays.
High installation costs.
Complex protocols: Requires sophisticated protocols for delivery.
Potential for network issues: Errors, delays, or loss of packets can
occur.
📡 Data Transmission Types
When transmitting data, three key factors must be agreed upon by both
sender and receiver:
Direction: The flow of data.
Method: How many bits are sent at once.
Synchronization: Activity between devices.
🧭 Simplex Data Transmission
Simplex: Data can only be sent in one direction at a time.
Examples include:
Computer to printer
Microphone to computer
Sensor to computer
↔️Half-Duplex Data Transmission
Half-duplex: Data is sent in both directions, but only one direction at a
time.
Example:
Two-way radio (walkie-talkie)
📶 Full-Duplex Data Transmission
Full-duplex: Data can be sent in both directions simultaneously.
Examples:
Telephone
Instant messaging
Broadband connection
Video conferencing
🔢 Serial Data Transmission
Serial Data Transmission: is when data is sent, one bit at a time, over a
single wire or channel(bits are sent one after the other in a single stream).
(Note: bits can be transmitted as simplex, half-duplex or full-duplex)
Characteristics:
Single wire is used.
Bits arrive in order.
Well-suited for long distances.
Slower data rate compared to parallel transmission.
Applications:
USB
Wi-Fi
Computer to modem
Parallel Data Transmission
Parallel Data Transmission: is when several bits of data (usually 1 byte)
are sent down several wires or channels at the same time; one wire or
channel is used to transmit each bit.(Note: bits can be transmitted as
simplex, half-duplex or full-duplex)
Characteristics:
Multiple bits are sent simultaneously.
Data is transmitted using multiple wires.
Used for large amounts of data that need to be transferred quickly.
Bits may arrive out of sequence.
Well-suited for short distances.
Can be used in integrated circuits, RAM, and connections in peripheral
devices such as printers.
Bits can become skewed (change direction or position) over longer
distances, causing them to lose synchronization.
🆚 Parallel vs. Serial