- Subjects
- Computer Science
- Question bank
- A2.3 Data transmissions
A2.3 Data transmissions questions for IB Computer Science
66 questions on Data transmissions, written by Augment in the style of IB exam papers. Six of them are below in full, to answer on paper.
- IB Computer Science
- Part of A2 Networks
- SL and HL
Questions by paper and level
SL and HL questions are for students at either level. HL only questions cover what only HL students study.
| Paper | SL and HL | HL only | All |
|---|---|---|---|
| Paper 1 | 50 | 16 | 66 |
Counted on
Questions to try
Written by Augment in the style of IB exams, not past papers. Answer them on paper, then check each one against its markscheme with a free account.
A family home has a laptop, two phones, a smart TV and a games console. They all connect to a home router that uses network address translation (NAT). The internet service provider gives the router one public IP address.
- (a)
Outline how NAT allows all five devices to share the single public IP address.
2 marks
- (b)
Explain how NAT helps to protect the devices from attackers on the internet.
3 marks
A design studio's router uses NAT. Its public IP address is 203.0.113.40. Part of the router's NAT table is shown in Table 1.
Table 1
Private IP address | Private port | Public port |
|---|---|---|
192.168.0.12 | 51234 | 40001 |
192.168.0.15 | 49820 | 40002 |
192.168.0.12 | 51240 | 40003 |
- (a)
A reply packet from a web server arrives at 203.0.113.40, port 40002. State the private IP address and port that the router forwards it to.
1 mark
- (b)
State how many different devices in the studio appear in Table 1.
1 mark
- (c)
An attacker sends a packet to 203.0.113.40, port 40007. Explain what the router does with this packet and why this improves the studio's security.
3 marks
A start-up sells smart light bulbs. Each bulb connects to the home network and needs an IP address. The company's documentation says the bulbs support both IPv4 and IPv6.
- (a)
State the number of bits in an IPv4 address.
1 mark
- (b)
State the number of bits in an IPv6 address.
1 mark
- (c)
Outline one reason why IPv6 was introduced.
2 marks
A school's network technician is checking a log that lists the IPv4 addresses of devices that communicated with the school's network yesterday.
Device | IPv4 address |
|---|---|
P | 192.168.4.20 |
Q | 172.20.1.5 |
R | 172.32.0.9 |
S | 10.250.3.3 |
T | 8.8.4.4 |
U | 192.169.1.1 |
- (a)
Identify which of the devices P to U have a private IPv4 address.
3 marks
- (b)
Explain why a computer on the internet cannot send data directly to device P using P's private address.
2 marks
A café gives customers free Wi-Fi. Customers' phones are given dynamic IP addresses. The café's card terminal, receipt printer and a small file server have static IP addresses.
- (a)
Distinguish between a static IP address and a dynamic IP address.
2 marks
- (b)
Explain why the receipt printer is given a static IP address.
2 marks
- (c)
Describe how a customer's phone is given a dynamic IP address when it joins the café's Wi-Fi.
3 marks
- (d)
Outline one reason why dynamic addressing suits the customers' phones better than static addressing.
2 marks
A family home has a router that performs network address translation (NAT). The internet service provider (ISP) has given the router one public IPv4 address, 203.0.113.25. Part of the router's NAT table is shown.
Private address : port | Public address : port |
|---|---|
192.168.1.10 : 50512 | 203.0.113.25 : 40001 |
192.168.1.14 : 50512 | 203.0.113.25 : 40002 |
192.168.1.22 : 61000 | 203.0.113.25 : 40003 |
- (a)
A packet arrives from the internet addressed to 203.0.113.25, port 40002. State the private address and port that the router forwards it to.
1 mark
- (b)
Explain why the router uses a different public port number for each row, even though two devices used the same private port.
2 marks
- (c)
Explain how NAT allows all the devices in the home to use the internet with a single public IP address.
3 marks
- (d)
Outline one security benefit of NAT for the family.
2 marks
Practice all 66 in Augment
Free with an account. Every question has its markscheme, and Augment keeps the ones you got wrong so you can come back to them.
More questions in Networks
- A2.1Network fundamentals
- A2.2Network architecture
- A2.3Data transmissionsThis page
- A2.4Network security
More on Data transmissions
- A2.3 Data transmissions notesWhat Data transmissions covers, explained, with its key terms.
- IB Computer Science question bankEvery Computer Science topic counted, and one question from each with its markscheme.
- Computer Science exam formatEach Computer Science paper, how long it is and its share of the grade.
Check your answers in Augment
A free account opens all 66 questions on Data transmissions with their markschemes, and keeps a record of what you have marked.