Menu

Addressing Exam Questions

16 Edexcel GCSE Computer Science (1CP2) exam-style questions on Addressing (4.1 Networks), 29 marks in all. Answer them on paper or print them, then open the mark schemes and example answers to see how each is marked.

Revise Addressing first

Build a paper on 4.1 Networks
Print
1Multiple choice1 mark

Data is sent across the internet in packets.

Identify the device that uses IP addresses to forward packets from one network to another.

[1 mark]
  • AHub
  • BNetwork interface card
  • CRouter
  • DSwitch
Mark scheme
  • C Router (1)
  • The only correct answer is C. The correct answer is router.
  • A is not correct because a hub sends data to every device on the network
  • B is not correct because a network interface card connects a device to a network
  • D is not correct because a switch forwards data within a single network using MAC addresses
Example answers and how they were marked
Full marks1/1

C Router

Why: Correct option (1): a router uses IP addresses to forward packets between networks.

No marks0/1

D Switch

Why: A switch forwards data within one network using MAC addresses, not between networks (mark scheme line D), so no mark.

No marks0/1

A Hub

Why: A hub only sends data to every device on the network (mark scheme line A), so no mark.

2Multiple choice1 mark

Every device that connects to the internet is given an IP address.

Identify the number of bits in an IPv4 address.

[1 mark]
  • A4
  • B8
  • C32
  • D128
Mark scheme
  • C 32 (1)
  • The only correct answer is C. The correct answer is 32.
  • A is not correct because 4 is the number of groups of numbers in an IPv4 address
  • B is not correct because 8 is the number of bits in each group of an IPv4 address
  • D is not correct because 128 is the number of bits in an IPv6 address
Example answers and how they were marked
Full marks1/1

C 32

Why: Correct option (1): an IPv4 address is 32 bits long.

No marks0/1

B 8

Why: 8 is the number of bits in one group of an IPv4 address, not the whole address (mark scheme line B), so no mark.

No marks0/1

D 128

Why: 128 is the length of an IPv6 address, not an IPv4 address (mark scheme line D), so no mark.

3Multiple choice1 mark

A packet of data is sent across the internet to a web server. The packet has a header that stores information about the packet.

Identify the information in the packet header that a router uses to forward the packet towards its destination.

[1 mark]
  • AThe destination domain name
  • BThe destination IP address
  • CThe MAC address of the sender
  • DThe name of the file being sent
Mark scheme
  • B The destination IP address (1)
  • The only correct answer is B. The correct answer is the destination IP address.
  • A is not correct because a domain name is converted to an IP address by a DNS server before routing begins
  • C is not correct because the sender's MAC address is only used to deliver the packet on the local network
  • D is not correct because the file name is not used to route packets
Example answers and how they were marked
Full marks1/1

B The destination IP address

Why: Correct option (1): a router reads the destination IP address in the header to forward the packet towards its destination.

No marks0/1

A The destination domain name

Why: A domain name is converted to an IP address by a DNS server before routing begins, so it is not the routing information in the header (mark scheme line A); no mark.

No marks0/1

C The MAC address of the sender

Why: The sender's MAC address is only used to deliver the packet on the local network, so it is not used by the router to forward the packet (mark scheme line C); no mark.

4Multiple choice1 mark

A technician is checking the IP addresses of the devices on a network.

Identify the valid IPv4 address.

[1 mark]
  • A192.168.1
  • B192.168.1.1
  • C192.168.1.1.1
  • D192.168.1.256
Mark scheme
  • B 192.168.1.1 (1)
  • The only correct answer is B. The correct answer is 192.168.1.1.
  • A is not correct because it is an incomplete address with only three numbers, not four
  • C is not correct because it is an address with five numbers, not four
  • D is not correct because it contains 256, which is outside the range 0 to 255
Example answers and how they were marked
Full marks1/1

B 192.168.1.1

Why: Correct option (1): an IPv4 address is four numbers, each from 0 to 255, separated by dots.

No marks0/1

D 192.168.1.256

Why: Near miss: it has four numbers but 256 is outside the range 0 to 255 (mark scheme line D), so no mark.

No marks0/1

A 192.168.1

Why: It has only three numbers, so it is not a complete IPv4 address (mark scheme line A), so no mark.

5Short recall1 mark

Routers forward data packets across the internet.

State the part of a data packet that a router uses to decide where to send it.

[1 mark]
Mark scheme

Award one mark for:

  • (Destination) IP address (1)

Allow IP address on its own (the destination is implied).

Do not accept source IP address/IP address of the sender.

Do not accept MAC address.

Do not accept domain name/web address.

Example answers and how they were marked
Full marks1/1

The destination IP address.

Why: Names the destination IP address (1).

No marks0/1

The domain name.

Why: A domain name is not used by a router to route a packet; it must be translated to an IP address first, so no mark.

No marks0/1

The MAC address.

Why: A MAC address is not used to route packets across the internet; the Do not accept line applies.

6Short recall1 mark

An IPv4 address is made up of four 8-bit numbers separated by dots.

State the range of values that each number in an IPv4 address can have.

[1 mark]
Mark scheme

Award one mark for:

  • 0 to 255 (1)

Allow 0–255 / 0-255 / between 0 and 255 / 0 and 255.

Do not accept 1 to 255 (0 is a valid value).

Do not accept any range that includes 256, e.g. 0 to 256.

Example answers and how they were marked
Full marks1/1

0 to 255

Why: Gives the correct range (1).

No marks0/1

1 to 255

Why: Near miss: excludes 0, which is a valid value; the Do not accept line applies.

No marks0/1

0 to 256

Why: Includes 256, which is not valid; the Do not accept line applies.

7Short recall1 mark

Devices are given IP addresses.

Define the term dynamic IP address.

[1 mark]
Mark scheme

Award one mark for:

  • (An IP address that) can change / is not permanent (1)

Allow a changing IP address.

Allow a temporary IP address.

Allow it is assigned each time the device connects to the internet.

Do not accept an IP address that is assigned (automatically) by a router/DHCP without any idea that it can change.

Do not accept static IP address / fixed IP address / an IP address that never changes (this is a static IP address).

Example answers and how they were marked
Full marks1/1

An IP address that can change each time the device connects to the internet.

Why: States that the IP address can change (1).

No marks0/1

An IP address that is assigned automatically by a router.

Why: Describes assignment only; the mark scheme does not accept assignment without the idea that the address can change.

No marks0/1

An IP address that never changes.

Why: Confuses dynamic with static; the Do not accept line applies.

8Short recall2 marks

The internet is a global network of networks.

Define the term IP address.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • A unique identifier/number (1)
  • Given to a device on a network/the internet (1)
  • Used to send/receive/route data (to the correct destination) (1)

Allow computer/laptop/phone/printer etc. for device.

Do not accept a website address/domain name.

Do not accept MAC address (this is a hardware identifier set by the manufacturer, not an address given to a device for use on a network).

Do not accept 'an address'/'a location' on its own, without saying that it identifies a device on a network/the internet.

Example answers and how they were marked
Full marks2/2

A unique number given to a device on the internet so that data can be sent to it.

Why: Unique identifier (1) and given to a device on the internet (1); the third creditworthy point is not needed for full marks.

Some marks1/2

A unique number.

Why: Gives a unique identifier (1) but does not say what it is given to or what it is used for.

No marks0/2

The address of a website, such as google.co.uk.

Why: Describes a domain name/website address, not an IP address; the Do not accept line applies.

9Describe2 marks

Devices on a network use IP addresses.

Describe the purpose of an IP address.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Identifies a device on a network (1) so data can be sent to the correct device (1)
  • Gives a device a unique address (1) so packets can be routed to it across the internet (1)
  • Identifies a device on the internet (1) so it can send/receive data to/from other devices (1)

Allow 'unique' only where it is linked to identifying the device or to routing data; 'unique' on its own is not creditworthy.

Do not accept answers that only say it connects a device to the internet.

Do not accept a MAC address as the purpose of an IP address.

Do not accept domain names/web addresses (e.g. google.co.uk) as an IP address.

Example answers and how they were marked
Full marks2/2

An IP address uniquely identifies a device on a network so that data packets can be delivered to the correct destination.

Why: Linked point (1): identifies a device on a network; development (1): so data can be sent to the correct device.

Some marks1/2

It identifies a device on a network.

Why: Point only (1): identifies a device on a network; no linked development.

No marks0/2

It is a website address, such as google.co.uk, that the browser uses to find a web page.

Why: No creditworthy point: gives a domain name/web address, which the mark scheme says not to accept as an IP address.

10Describe2 marks

A laptop is used at home and then taken on holiday.

Describe how the laptop's IP address can change.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • The IP address belongs to the network/router the device is connected to (1) so a different network/router gives it a new address (1)
  • Home routers may use dynamic IP addresses (1) which can change when the router reconnects (1)
  • The ISP assigns the IP address (1) and may give a different one at a new location/connection (1)

Do not accept answers that only say the laptop has moved.

Do not accept the MAC address changes.

Example answers and how they were marked
Full marks2/2

The IP address is assigned by the router on the network it connects to, so when the laptop joins a different network on holiday it is given a new address.

Why: Linked point (1): IP address belongs to the connected network/router; development (1): a different network gives it a new address.

Some marks1/2

The IP address can change because it is dynamic.

Why: Point only (1): home routers may use dynamic IP addresses; the linked development about reconnecting is missing.

No marks0/2

The laptop's MAC address changes when it connects to a different network, so its IP address changes too.

Why: No creditworthy point: says the MAC address changes, which the mark scheme says not to accept.

11Describe2 marks

Data is sent across the internet in packets.

Describe how a router uses an IP address to send a packet towards its destination.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Reads the destination IP address from the packet (1) to choose the next router/network on the path (1)
  • Uses a routing table that holds destination IP addresses/networks with the matching next hop (1) to forward the packet on the best/quickest route (1)
  • Forwards packets from one network to another (1) that is closer to the destination IP address (1)
  • Checks the destination IP address against its stored routes (1) so the packet is sent out towards the correct network (1)

Allow 'next hop' / 'next router on the route' / 'next network' / 'gateway' as equivalent wording for where the packet is sent next.

Do not accept answers that only say the router sends the packet to the destination.

Do not accept answers that say the router converts/changes the destination IP address into a MAC address and sends the packet straight to the destination, as no routing step is described.

Example answers and how they were marked
Full marks2/2

The router reads the destination IP address in the packet and uses it to forward the packet to the next router on the route.

Why: Linked point (1): reads the destination IP address; development (1): uses it to choose/forward to the next hop on the route.

Some marks1/2

It reads the destination IP address on the packet.

Why: Point only (1): reads the destination IP address; no linked development about forwarding to the next router/network.

No marks0/2

The router changes the destination IP address into a MAC address and sends it straight to the destination.

Why: No creditworthy point: it says the IP address is changed into a MAC address and the packet sent straight to the destination, which is neither reading the destination IP address to choose the next hop nor forwarding between networks. This is the answer excluded by the 'Do not accept' line.

12Explain2 marks

Data is split into packets before it is sent over the internet.

Explain why each device that receives packets over the internet needs a unique IP address.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Data/packets are delivered to the correct/intended device (1) because the destination IP address identifies that device, so a duplicate address would mean packets could be delivered to the wrong device (1)
  • Replies are sent back to the device that requested the data (1) because the sender's IP address identifies that device, so a duplicate address would mean the reply could be sent to the wrong device (1)
  • The device can be identified separately from other devices (1) so packets are not delivered to a different device that has the same address (1)

For both marks, the expansion must follow/associate with the statement.

Award one mark for a valid point and a second mark only for a linked reason explaining why a duplicate address would cause a problem.

Do not accept 'it is unique'/'it has its own address' as a point, as this repeats the question.

Do not accept 'so it can connect to the internet' or 'so it can be found' on its own without a link to data/packets being delivered to the correct device.

Allow 'data' for 'packets'.

Example answers and how they were marked
Full marks2/2

Packets are delivered to the correct device because the destination IP address identifies one device, so if two devices had the same address packets could be sent to the wrong one.

Why: Point that packets reach the correct device (1) and linked reason that a duplicate address would cause misdelivery (1).

Some marks1/2

Packets are sent to the correct device because it has its own IP address.

Why: Valid point that packets reach the correct device (1), but the reason only restates uniqueness and does not explain how a duplicate address would cause a problem, so no second mark.

No marks0/2

So that it can connect to the internet.

Why: No link to packets/data being delivered to the correct device; the mark scheme rejects a connection statement on its own.

13Explain2 marks

Routers forward data across the internet.

Explain how a router uses the destination IP address of a packet to send the packet towards its destination.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • The router reads/checks the destination (IP) address in the packet (1) so it can forward/send the packet towards that address/destination (1)
  • The router looks up/compares the destination (IP) address (1) to choose the route/next network/next router for the packet (1)
  • The router uses the destination (IP) address to choose/select the outgoing connection/network (1) so the packet is sent one step closer to its destination (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept a restatement of the question, such as 'the router uses the IP address to forward the packet', without saying how the address is used, e.g. checking the destination address or choosing the route/next network.

Do not accept answers that say the router gives/adds an IP address to the packet, or that the router uses a MAC address instead of the destination IP address.

Example answers and how they were marked
Full marks2/2

The router checks the destination IP address in the packet and sends the packet out on the route/network that leads towards that address.

Why: Point (1): the router checks the destination IP address; linked reason (1): this is used to send the packet towards that destination.

Some marks1/2

The router checks the destination IP address in the packet.

Why: Point (1): the router checks the destination IP address; no linked reason is given, so only the first mark.

No marks0/2

It adds an IP address to the packet so the packet knows where to go.

Why: Misconception: the router does not add an IP address to the packet; the mark scheme says not to accept this, so no marks.

14Explain2 marks

The internet is moving from IPv4 addresses to IPv6 addresses.

Explain why IPv6 addresses are needed.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • IPv4 addresses are 32-bit (1) so there are only about 4 billion of them/not enough for every device (1)
  • More devices are connecting to the internet than IPv4 can address (1) so a larger range of addresses is needed (1)
  • IPv6 uses 128-bit addresses (1) so far more devices can be given an address (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'IPv6 is newer/better/faster/more secure' without a link to the number of addresses available.

Example answers and how they were marked
Full marks2/2

IPv4 addresses are only 32 bits long, so there are not enough of them for all the devices that now connect to the internet.

Why: Point that IPv4 addresses are 32-bit (1) and linked reason that this limits the number of addresses below the number of devices (1).

Some marks1/2

Because we have run out of IPv4 addresses.

Why: A valid point (1) but no linked reason about why IPv4 addresses are limited, such as the 32-bit size or the number of devices.

No marks0/2

Because IPv6 is newer and more secure than IPv4.

Why: No link to the number of addresses available; the mark scheme says not to accept newer/better/more secure on its own.

15Explain2 marks

A laptop is used at home and is then taken on holiday, where it connects to a different network.

Explain why the laptop is given a different IP address when it is used on holiday.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • The laptop is connecting to a different network (1) so it needs an address that belongs to/is unique on that network (1)
  • The router/ISP on the new network assigns the address (1) because addresses are given out by the network the device is connected to (1)
  • The home IP address is only valid on the home network (1) so it cannot be used to send data on another network (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'it has a dynamic IP address' on its own, as this repeats the question.

Do not accept answers that say the IP address is stored in the device's hardware/network card, as this describes the MAC address.

Example answers and how they were marked
Full marks2/2

It is connecting to a different network now, so the router there gives it an address that works on that network.

Why: Point that the laptop is on a different network (1) and linked reason that the new router assigns an address valid/unique on that network (1).

Some marks1/2

Because it is connecting to a different network.

Why: A valid point (1) but no linked reason about where the new address comes from or why the old one cannot be used.

No marks0/2

Because the IP address is built into the laptop's network card and it changes when it is plugged into a new network.

Why: Misconception: an address fixed in the hardware is the MAC address; the mark scheme says not to accept this, so no marks.

16Discuss6 marks

A customer uses a laptop to order a book from an online bookshop. The bookshop's website is held on a web server in another country. The order is sent across the internet.

Discuss how the order is transmitted from the customer's laptop to the bookshop's web server.

Your answer should consider:

  • the role of IP addresses
  • the role of routers
[6 marks]
Mark scheme

Indicative content

IP addresses

  • Each device on the internet needs a unique IP address so that it can be identified by other devices.
  • The order is split into packets and each packet is given the destination IP address of the bookshop's web server.
  • Each packet also carries the sender's IP address so that the web server can send its reply back to the customer's laptop.
  • An IPv4 address is made up of four 8-bit numbers separated by dots, for example 72.129.214.16.
  • The destination IP address is the same on every packet in the order, so all the packets are sent towards the same web server.

Routers

  • A router reads the destination IP address in each packet and forwards the packet towards the web server.
  • A router is connected to more than one network, so it passes packets from the customer's home network onto the internet and then towards the network that holds the web server in another country.
  • At each step a router chooses a route for the packet, so packets from the same order can take different routes.
  • A router only decides the next step for a packet, so no single device needs to know the whole route.
  • The web server receives the packets because each one carries its destination IP address, even if the packets take different routes.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both the role of IP addresses and the role of routers with developed linkage to the order; an answer that covers only one bullet, or gives basic independent points with little linkage, is limited to Level 2 or below.

Do not credit MAC addresses as the address used by routers to forward packets across the internet, or the idea that the laptop sends the order directly to the web server without routers.

Example answers and how they were marked
Full marks6/6

Each device on the internet has a unique IP address, so the customer's laptop and the bookshop's web server can both be identified. The order is split into packets, and each packet is given the destination IP address of the web server. Each packet also carries the sender's IP address, so the web server can send its reply back to the laptop. Routers read the destination IP address in each packet and forward the packet towards the web server. A router connects the customer's home network to the internet and then to the network that holds the web server, and each router chooses the best next step for a packet. This means no single device needs to know the whole route, and packets from the same order can take different routes but still reach the same web server because they share the same destination IP address.

Why: Covers both bullets with sustained reasoning: unique IP addresses identify devices; packets carry destination and sender IP addresses; routers read the destination address and forward packets; routers connect networks and choose the next step for each packet.

Some marks2/6

The order is split into packets. Each packet has the destination IP address of the web server on it. Routers send the packets across the internet to the web server, so the order can get to the bookshop even though it is far away.

Why: Basic independent points about packets, destination IP address and routers sending packets. Both bullets are mentioned, but there is little linkage or development, so Level 1 (2 marks).

No marks0/6

The laptop sends the order straight to the web server's IP address, because the internet is one big network that connects them directly. Routers are used to make the internet.

Why: The direct laptop-to-server connection is a misconception not credited by the scheme, and saying routers are used to make the internet does not describe their role in forwarding packets, so no rewardable content.

Keep practising Addressing

More exam questions on 4.1 Networks

Teachers: print these as a worksheet with the mark schemes at the end, and sign your school up to set your classes activities on Addressing.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.