Detailed · Deep study
1Packets and packet switching
Data sent over a network is broken down into small, equal-sized packets. Each has a header (destination address, packet number, originator's address), a payload (the data) and a trailer (marks the end of the packet; may include an error check).
- Data is broken down into packets.
- Each packet could take a different route; a router at each step decides where to send it next.
- Packets may arrive out of order.
- Once the last packet has arrived, the packets are reordered using their packet numbers, and the original data is rebuilt.
Benefits: packets avoid busy or broken links, so the network is used efficiently; only lost packets need to be resent. Drawback: packets can be delayed or lost and need reordering.
2Methods of data transmission
| Method | How | Advantages | Disadvantages | Example use |
|---|---|---|---|---|
| serial | one bit at a time down a single wire | cheaper; works over long distances; no skewing | slower than parallel over short distances | USB, internet connections |
| parallel | several bits at the same time down several wires | faster over short distances | bits can arrive out of sync (skew) over long distances; more expensive cabling | inside a computer (data bus) |
| simplex | one direction only | simple, cheap | no reply possible | computer to printer, TV broadcast |
| half-duplex | both directions, one at a time | two-way using one channel | slower: devices must take turns | walkie-talkies |
| full-duplex | both directions at the same time | fastest two-way communication | needs more channels/bandwidth | phone calls, broadband |
3The universal serial bus (USB)
USB is a standard serial interface for connecting devices such as keyboards, printers, phones and memory sticks. When a device is plugged in, the computer detects it and loads the right driver automatically.
| Benefits | Drawbacks |
|---|---|
| devices are detected automatically (plug and play) | maximum cable length is short (a few metres) |
| one standard connector for many devices; can only be inserted one way (most types) | older USB versions have slower transfer speeds |
| supplies power to devices and can charge them | different connector types (A, B, C, micro) can be confusing |
| fast data transfer in newer versions |
4Exam focus
Key words: packet; header; payload; trailer; packet switching; router; serial; parallel; simplex; half-duplex; full-duplex; skew; USB.
Quick self-check
Answer in your head first, then reveal.
Destination address (1); packet number (1); originator's address (1).
Data split into packets (1); packets may take different routes (1); router decides the route (1); packets reordered at destination (1).
Distance is long (1); parallel bits may skew / serial is cheaper and more reliable (1).
Full-duplex (1).
Any two: automatic detection; supplies power; standard connector; fast (2).
