IB Computer Science · A2 · Networks
A2.3 Data transmission
Explain how data crosses a network as packets, compare packet and circuit switching and wired and wireless media, and identify factors that affect speed.
1/5Data crosses a network in small packets
- Data crosses a network in small packets
- Packet switching shares links, while circuit switching reserves a path
- Wired links are steadier, while wireless links are more flexible
- Several factors limit how fast data actually moves
- Transfer time equals data size divided by data rate
- Check your recall
- Practice: 10 questions
Part 1 of 5: Data crosses a network in small packets
Sending a photo to a friend does not move it as one block. The network splits the file into pieces. Each piece travels as a packet, a small unit of data that crosses the network on its own.
A packet has two main parts. The header holds the source address, the destination address and a sequence number. The payload holds the piece of the file.
At the destination, the sequence numbers let the receiver put the packets back in order. A missing packet can be requested again.
Small packets have another benefit. If a fault damages one packet, only that piece must be sent again, not the whole file.
Key term
packet
A packet is a small unit of data that carries control information, such as addresses, together with a share of the content being sent.
Part 2 of 5: Packet switching shares links, while circuit switching reserves a path
Packets can take different routes, so the network needs a way to choose them. In packet switching, each router decides the next step for every packet separately. In circuit switching, a dedicated path is set up between sender and receiver before any data moves. A traditional telephone call works this way.
Packet switching uses links efficiently because many users share them. Circuit switching wastes capacity whenever the reserved path sits idle.
Comparing packet and circuit switching
- Feature
- Path
- Packet switching
- May differ for each packet
- Circuit switching
- One fixed path for the whole session
- Feature
- Setup
- Packet switching
- None before sending
- Circuit switching
- Path set up before data flows
- Feature
- Link use
- Packet switching
- Shared by many users
- Circuit switching
- Reserved for one connection
- Feature
- Delay
- Packet switching
- Varies, and packets may arrive out of order
- Circuit switching
- Steady, with data in order
- Feature
- Fault
- Packet switching
- Packets can be rerouted
- Circuit switching
- The connection is usually lost
Key terms · tap one for its definition
packet switching
Packet switching is a method of sending data as separate packets that are routed independently across a shared network.
circuit switching
Circuit switching is a method of sending data along a dedicated path that is reserved for the whole communication.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: Wired links are steadier, while wireless links are more flexible
Whichever switching method is used, signals need a transmission medium. Copper cable carries electrical signals. A fibre-optic cable carries pulses of light and can reach high speeds over long distances. Wireless transmission uses radio waves instead of a cable, as in Wi-Fi.
Comparing wired and wireless transmission
- Feature
- Speed
- Wired
- Usually high and steady
- Wireless
- Often lower and variable
- Feature
- Interference
- Wired
- Low, and fibre ignores electrical noise
- Wireless
- Walls, distance and other signals reduce quality
- Feature
- Mobility
- Wired
- Devices stay near a socket
- Wireless
- Devices move freely within range
- Feature
- Security
- Wired
- Tapping needs physical access
- Wireless
- Anyone in range can receive the signals
- Feature
- Installation
- Wired
- Cabling costs time and money
- Wireless
- Few cables are needed
Neither type is better in every case. A school may cable its server room but use wireless in classrooms. Fibre suits long, busy links between buildings, while radio waves suit phones, tablets and laptops.
Key terms · tap one for its definition
fibre-optic cable
A fibre-optic cable is a cable of thin glass or plastic strands that carries data as pulses of light.
wireless transmission
Wireless transmission is the sending of data as radio waves through the air, without a physical cable.
Part 4 of 5: Several factors limit how fast data actually moves
A video call can stutter even on a fast connection. Speed depends on more than one quantity. Bandwidth is the maximum rate at which a link can carry data. Latency is the delay between sending data and its arrival.
Other factors also change the speed you see.
- Congestion: many users sharing a link slow each other down
- Distance: longer routes and more routers add delay
- Medium: fibre generally outperforms copper, and cable generally outperforms wireless
- Interference: noise and weak signals cause errors and resending
- Hardware: slow or old devices limit the rate
Key terms · tap one for its definition
bandwidth
Bandwidth is the maximum rate at which a link can transfer data, measured in bits per second, for example .
latency
Latency is the time delay between data being sent and its arrival at the destination, measured in milliseconds.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: D · Worked explanation
Part 5 of 5: Transfer time equals data size divided by data rate
Bandwidth lets you estimate how long a transfer takes. Sizes are often given in bytes, but rates use bits. One byte contains 8 bits, so convert before you divide. The result is an estimate, because real transfers also lose time to headers and congestion.
In words, time equals data size divided by data rate. In symbols, . Here is the time in seconds. is the size in bits and is the rate in bits per second.
Worked example
Estimating a download time
- Convert the size to bits: .
- Word equation: time equals data size divided by data rate.
- Symbol equation: .
- Substitute: .
- Calculate: .
Answer: The transfer time is . Real transfers take a little longer because of headers and congestion.
Check your recall[15 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Describe[3 marks]
Describe how a file is sent across a network as packets.
Show mark schemeHide mark scheme
Model answer
The file is split into packets. Each packet has a header with addresses and a sequence number, and a payload holding part of the file. At the destination, the receiver puts the packets back in order using the sequence numbers.
- 1 mark for stating that the file is split into packets
- 1 mark for stating that each header holds addresses and a sequence number
- 1 mark for stating that the receiver reorders the packets using the sequence numbers
- 2.Distinguish[3 marks]
Distinguish between packet switching and circuit switching.
Show mark schemeHide mark scheme
Model answer
In packet switching, data travels as separate packets that may take different routes over shared links. In circuit switching, a dedicated path is set up before sending and reserved for the whole session.
- 1 mark for stating that packet switching sends separate packets, which may take different routes
- 1 mark for stating that circuit switching sets up a dedicated path before data is sent
- 1 mark for stating that packet switching shares links while circuit switching reserves them
- 3.Compare[3 marks]
Compare wired and wireless transmission.
Show mark schemeHide mark scheme
Model answer
Wired links are usually faster and steadier, and less affected by interference. Wireless links let devices move freely and need fewer cables. Wireless signals can be received by anyone in range, so they are easier to intercept.
- 1 mark for stating that wired links are usually faster, steadier or less affected by interference
- 1 mark for stating that wireless allows mobility or needs fewer cables
- 1 mark for stating that wireless signals can be received by anyone in range
- 4.Calculate[3 marks]
Calculate the time to send a 50 MB file over a link with a data rate of .
Show mark schemeHide mark scheme
Model answer
Size in bits: . Time: .
- 1 mark for converting 50 MB to 400 Mbit
- 1 mark for dividing the size by the data rate
- 1 mark for giving the answer as
- 5.Explain[3 marks]
Explain why a video call may lag even when the link has high bandwidth.
Show mark schemeHide mark scheme
Model answer
Bandwidth is only the maximum rate, not the delay. A long route with many routers gives high latency. Congestion or resent packets can also delay the data.
- 1 mark for stating that bandwidth is the maximum rate and does not measure delay
- 1 mark for identifying high latency, for example from a long route
- 1 mark for explaining that congestion or resent packets slow delivery

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: C · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: A · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: D · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDeduce[2 marks]
Show answer and explanation
Answer: A · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: C · Worked explanation