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 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.

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.