Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 693 exam-style questions, each with its mark scheme and example answers. Print it, or answer it on paper and then open the mark schemes. Or browse the questions by topic.

Build a paper

Topics (none ticked: all of them)
Question types (none ticked: all of them)

Practice paper

4 questions · 7 marks

Pick again
Print
1Multiple choice1 markAddressing Swap Remove

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.

2Explain2 marksPacket Switching Swap Remove

A router connects a home network to the internet.

Explain how a router uses the destination IP address in a packet header.

[2 marks]
Mark scheme

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

  • The router reads the destination IP address (1) so it knows which network/device the packet is for (1)
  • The router looks up the destination IP address in its routing table (1) to find the next router/route for the packet (1)
  • The router forwards the packet to the next router (1) that leads towards that IP address / is on the best route (1)

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

Do not accept MAC address - routers use the IP address to route packets between networks.

Do not accept 'it finds the exact device' without saying how the router uses the address, e.g. routing table/next router.

Example answers and how they were marked
Full marks2/2

The router looks up the destination IP address in its routing table to find the next router to send the packet to.

Why: Linked point (1) and reason (1): looks up the destination IP address in the routing table to find the next router.

Some marks1/2

It reads the destination IP address.

Why: Reads the destination IP address (1) but gives no linked reason about a routing table or next router.

No marks0/2

It reads the MAC address so it knows which computer sent the packet.

Why: Routers use the IP address to route packets, not the MAC address; no creditworthy point.

3Explain2 marksProtocols & Layers Swap Remove

The TCP/IP model has four layers.

Explain one function of the transport layer when a file is sent over a network.

[2 marks]
Mark scheme

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

  • Splits the data/file into packets (1) so each packet can be sent separately across the network (1)
  • Adds a packet/sequence number to each packet (1) so the packets can be put back into the correct order at the destination (1)
  • Detects lost/missing packets (1) so they can be requested/resent (1)
  • Creates a connection between the two computers/hosts (1) before the file is sent (1)

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

Allow 'segments' for 'packets' (TCP divides the data into segments, which become packets at the internet layer).

Do not accept 'sends the data/file' on its own without saying what the transport layer does to the data.

Do not accept naming TCP or a port number on its own without expansion.

Do not accept routing/addressing packets using IP addresses, which is the internet layer.

Example answers and how they were marked
Full marks2/2

The transport layer splits the data into packets so each packet can be sent separately across the network.

Why: Linked point (1) and reason (1): splitting into packets lets each one be sent separately.

Some marks1/2

It splits the data into packets.

Why: Point (1) identified, but no linked reason given, so only the first mark is awarded.

No marks0/2

It routes the packets using IP addresses so they reach the right destination.

Why: Routing using IP addresses is the internet layer, not the transport layer, so no credit is given.

4Explain2 marksAddressing Swap Remove

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.

Questions by topic

More ways to revise Edexcel GCSE Computer Science (1CP2)

Teachers: build a paper, print it with the mark schemes at the end, and sign your school up to set your classes activities on every topic.

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