Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Computer Science
  3. ›A2 Networks
  4. ›A2.3 Data transmission

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.

  • 5 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Data crosses a network in small packets
  1. 1Data crosses a network in small packets
  2. 2Packet switching shares links, while circuit switching reserves a path
  3. 3Wired links are steadier, while wireless links are more flexible
  4. 4Several factors limit how fast data actually moves
  5. 5Transfer time equals data size divided by data rate
  6. Check your recall
  7. Practice: 10 questions
1

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 1 done

2

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.

Figure 1. Packets from one file may use different routes, so the receiver must put them back in order. R marks a router.

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

FeaturePacket switchingCircuit switching
PathMay differ for each packetOne fixed path for the whole session
SetupNone before sendingPath set up before data flows
Link useShared by many usersReserved for one connection
DelayVaries, and packets may arrive out of orderSteady, with data in order
FaultPackets can be reroutedThe connection is usually lost
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

Common mistake

Packets from one message do not need to arrive in order. The receiver restores the order using the sequence numbers.

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.

Part 2 done

Quick check

One question on the part you just read

Easy

State what the header of a packet typically holds.
Show answer and explanation

Answer: B · Worked explanation

The header holds control information such as the source address, the destination address and a sequence number. The piece of the file is held in the payload, which is the tempting wrong answer. A packet carries only a share of the file, not a whole copy. Each router chooses the route, so it is not fixed in advance.
3

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

FeatureWiredWireless
SpeedUsually high and steadyOften lower and variable
InterferenceLow, and fibre ignores electrical noiseWalls, distance and other signals reduce quality
MobilityDevices stay near a socketDevices move freely within range
SecurityTapping needs physical accessAnyone in range can receive the signals
InstallationCabling costs time and moneyFew cables are needed
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.

Exam tip

When you compare, give a point about both sides of each feature. Say what is true of wired and what is true of wireless.

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 3 done

4

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
Go deeperBandwidth is not the speed you experience

Throughput is the rate at which useful data actually arrives. It is usually lower than bandwidth because of headers, congestion and resent packets.

Latency matters most for live activities such as calls and games, where delay is noticeable. A large download depends more on bandwidth.

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 Mbit s−1\mathrm{Mbit\,s^{-1}}Mbits−1.

latency

Latency is the time delay between data being sent and its arrival at the destination, measured in milliseconds.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the transmission medium that carries data as pulses of light.
Show answer and explanation

Answer: D · Worked explanation

A fibre-optic cable carries data as pulses of light. Copper cable carries electrical signals, which is the tempting wrong answer. Radio waves carry wireless transmission. A wireless access point is a device that lets wireless devices join a network, not a medium.
5

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, t=SRt=\frac{S}{R}t=RS​. Here ttt is the time in seconds. SSS is the size in bits and RRR is the rate in bits per second.

Worked example

Estimating a download time

A 120 MB file is sent over a link with a data rate of 80 Mbit s−180\,\mathrm{Mbit\,s^{-1}}80Mbits−1. Calculate the transfer time.
  1. 1
    Convert the size to bits: 120 MB×8=960 Mbit120\,\mathrm{MB}\times8=960\,\mathrm{Mbit}120MB×8=960Mbit.
  2. 2
    Word equation: time equals data size divided by data rate.
  3. 3
    Symbol equation: t=SRt=\frac{S}{R}t=RS​.
  4. 4
    Substitute: t=960 Mbit80 Mbit s−1t=\frac{960\,\mathrm{Mbit}}{80\,\mathrm{Mbit\,s^{-1}}}t=80Mbits−1960Mbit​.
  5. 5
    Calculate: t=12 st=12\,\mathrm{s}t=12s.

Answer: The transfer time is 12 s12\,\mathrm{s}12s. Real transfers take a little longer because of headers and congestion.

Common mistake

Do not divide megabytes directly by megabits per second. That gives a time eight times too small.

Note read

Check your recall[15 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 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. 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. 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. 4.Calculate[3 marks]

    Calculate the time to send a 50 MB file over a link with a data rate of 20 Mbit s−120\,\mathrm{Mbit\,s^{-1}}20Mbits−1.

    Show mark schemeHide mark scheme

    Model answer

    Size in bits: 50×8=400 Mbit50\times8=400\,\mathrm{Mbit}50×8=400Mbit. Time: t=40020=20 st=\frac{400}{20}=20\,\mathrm{s}t=20400​=20s.

    • 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 20 s20\,\mathrm{s}20s
  5. 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.

3.

Easy·Identify[1 mark]

Identify the quantity that describes the delay between sending data and its arrival.
Show answer and explanation

Answer: A · Worked explanation

Latency is the time delay between data being sent and its arrival. Bandwidth is the maximum rate at which a link can transfer data, so it measures capacity rather than delay. Packet size and payload describe the data itself, not how long it takes to arrive.
4.

Medium·Calculate[2 marks]

A 25 MB file is sent over a link with a data rate of 100 Mbit s−1100\,\mathrm{Mbit\,s^{-1}}100Mbits−1. Calculate the transfer time.
Show answer and explanation

Answer: C · Worked explanation

Size in bits: 25×8=200 Mbit25\times8=200\,\mathrm{Mbit}25×8=200Mbit. Time: t=200100=2.0 st=\frac{200}{100}=2.0\,\mathrm{s}t=100200​=2.0s. The value 0.25 s comes from dividing megabytes directly by megabits per second. The value 0.031 s comes from dividing by 8 instead of multiplying. The value 200 s uses the size in bits as if it were the time.
5.

Medium·Identify[1 mark]

A gamer notices a delay between pressing a button and the response, although downloads are fast. Identify the most likely cause.
Show answer and explanation

Answer: C · Worked explanation

Fast downloads show that bandwidth is high, so the delay points to high latency. Low bandwidth would slow the downloads, which is the tempting wrong answer. A large payload affects how long a transfer takes, not the delay before a response. Circuit switching gives a steady delay rather than causing a lag.
6.

Medium[1 mark]

Which is an advantage of packet switching over circuit switching?
Show answer and explanation

Answer: A · Worked explanation

Many users share the links in packet switching, so capacity is not locked up by idle connections. Packets can take different routes and arrive out of order, so ordered arrival is wrong. Reserving a path and steady delay are features of circuit switching, not packet switching.
7.

Medium[1 mark]

A school wants network access in classrooms where students move between rooms with tablets. Which transmission method suits this best, and why?
Show answer and explanation

Answer: D · Worked explanation

Wireless transmission lets devices move freely within range, which suits tablets used in several rooms. A cable keeps a device near a socket, so free movement along it is false. Cabling needs installation. Wireless signals can be disturbed by walls, distance and other signals, so never affected is wrong.
8.

Hard·Calculate[2 marks]

A 36 MB file is sent over a link with a bandwidth of 24 Mbit s−124\,\mathrm{Mbit\,s^{-1}}24Mbits−1. Congestion means only half of the bandwidth is usable. Calculate the transfer time.
Show answer and explanation

Answer: B · Worked explanation

Size in bits: 36×8=288 Mbit36\times8=288\,\mathrm{Mbit}36×8=288Mbit. Usable rate: 24÷2=12 Mbit s−124\div2=12\,\mathrm{Mbit\,s^{-1}}24÷2=12Mbits−1. Time: 28812=24 s\frac{288}{12}=24\,\mathrm{s}12288​=24s. The value 12 s ignores the congestion, so it assumes the full rate. The value 3 s skips the conversion to bits. The value 48 s halves the rate twice instead of once.
9.

Hard·Deduce[2 marks]

Packets 1 to 4 of one message are sent using packet switching. They arrive in the order 2, 1, 4, 3. Deduce what this shows.
Show answer and explanation

Answer: A · Worked explanation

Packets sent by packet switching can take different routes and arrive out of order. The sequence numbers in the headers let the receiver restore the order. Out-of-order arrival does not mean corruption. Circuit switching keeps data in order on one path, and headers do not hold the payload.
10.

Hard[2 marks]

Which statement about a link with high bandwidth is correct?
Show answer and explanation

Answer: C · Worked explanation

Bandwidth is the maximum rate, and latency is the delay, so they are separate quantities. A long route can add delay even on a high-bandwidth link. Congestion, interference and resent packets can all lower the rate actually achieved, so it need not reach the maximum.

Keep going

Next topicA2.4 Network securityPrevious topicA2.2 Network architecture

More in A2 · Networks

  1. A2.1Network fundamentalsNotes · 10 questions
  2. A2.2Network architectureNotes · 10 questions
  3. A2.3Data transmissionNotes · 10 questions
  4. A2.4Network securityNotes · 10 questions

All IB Computer Science topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Data crosses a network in small packets
  2. 2Packet switching shares links, while circuit switching reserves a path
  3. 3Wired links are steadier, while wireless links are more flexible
  4. 4Several factors limit how fast data actually moves
  5. 5Transfer time equals data size divided by data rate
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe