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

3 questions · 5 marks

Pick again
Print
1Short recall1 markAddressing Swap Remove

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.

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 marksAddressing Swap Remove

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.

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.