Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 604 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 · 8 marks

Pick again
Print
1Describe2 marksFile Management Swap Remove

File management is one function of an operating system.

Describe what the operating system does to the folder structure when a file is moved to a different folder.

[2 marks]
Mark scheme

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

  • Updates/changes the location/path stored for the file (1) so the file can be found in its new folder/location (1)
  • Removes the file's entry/reference from the old folder (1) so the file no longer appears/is listed there (1)
  • Adds/creates an entry/reference for the file in the new folder (1) so the file appears/is listed in its new location (1)
  • Updates the folder/directory listing/structure (1) to show the file's new location/path (1)

Do not accept descriptions of copying the file or leaving a duplicate in the old folder.

Do not accept deleting and recreating the file, or moving the file's data to a different physical location on the disk; the marks are for updating the folder/directory structure.

Example answers and how they were marked
Full marks2/2

It updates the location stored for the file so the file can be found in its new folder.

Why: Linked point (1) and development/outcome (1).

Some marks1/2

It removes the file's entry from the old folder.

Why: Creditworthy point (1) but no linked development.

No marks0/2

It deletes the file from the old folder and saves it again in the new folder.

Why: Describes deleting and recreating the file, which the mark scheme does not accept.

2Describe2 marksLow and High Level Languages Swap Remove

A programmer has written a program in assembly language.

Describe why it is necessary to translate the program into machine code before it can be run.

[2 marks]
Mark scheme

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

  • The processor/CPU can only execute machine code/binary instructions (1) so the assembly instructions must be converted into machine code before the program can run (1)
  • Each assembly instruction/mnemonic matches/corresponds to one machine code instruction (1) so each line must be replaced with the machine code the processor executes (1)
  • The program is written using mnemonics (1) that must be translated into machine code for the processor to carry out the instructions (1)
  • The hardware/processor does not understand assembly language directly (1) so it must be translated into machine code that the processor can execute (1)

Do not accept 'assembly language is a low-level language'.

Do not accept 'it is hard to understand' or 'it is not English'.

Do not accept benefits, such as 'machine code runs faster' or 'the program will run more quickly'.

Do not accept 'an assembler/a translator converts it' on its own, with no reference to the processor only being able to execute machine code/binary.

Do not accept responses about high-level languages or about compilers/interpreters.

Example answers and how they were marked
Full marks2/2

The processor can only execute machine code, so the assembly instructions must be converted into machine code before the program can run.

Why: States what the processor can execute (1) and links it to converting the program's instructions into machine code (1).

Some marks1/2

Each assembly instruction matches one machine code instruction.

Why: Correct point about the one-to-one match (1) but no development saying that this is because the processor only executes machine code.

No marks0/2

Because an assembler translates assembly language into machine code.

Why: Names the translator but gives no reason tied to the processor only being able to execute machine code, so no mark; this is in the 'Do not accept' guidance.

3Explain2 marksThe Internet Swap Remove

Each data packet has a header that contains the destination IP address.

Explain one reason why a data packet contains the destination IP address.

[2 marks]
Mark scheme

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

  • Routers can forward the packet towards its destination (1) because they read the destination IP address in the packet header (1)
  • The packet is delivered to the correct device (1) because the receiving device compares the destination IP address with its own IP address (1)
  • Each packet can take a different route (1) because routers use the destination IP address to choose the next router (1)
  • The packet can be passed on by each router in turn (1) because the destination IP address shows which network the packet is for (1)

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

Statements such as 'so it reaches the right destination' or 'so routers know where to send it' earn the first mark only; do not award the second mark unless the reason says that the address is read from the packet header and used to forward the packet.

Do not accept 'so it knows where it came from' as this describes the source address, not the destination address.

Do not accept 'so it gets there faster' without a linked reason.

Example answers and how they were marked
Full marks2/2

Routers know where to send it because they use the address in the packet header to choose the next network.

Why: Linked point (1) and reason (1): routers read the destination IP address in the header to forward the packet.

Some marks1/2

So that it reaches the right destination because every packet has an address.

Why: First mark (1) for reaching the right destination, but the reason is circular and does not say the address is read and used to forward the packet.

No marks0/2

So the packet knows where it came from.

Why: Describes the source address, not the destination address; do not accept.

4Calculate2 marksAdding Binary Numbers Swap Remove

Binary patterns can represent numbers.

Complete the table to show the result of the 8-bit binary addition.

[2 marks]
1286432168421
10010110
01011100
Mark scheme

Award one mark for each correct nibble in the correct order:

  • 1111 (1)
  • 0010 (1)

0 marks if the response is not 8-bit binary.

Example answers and how they were marked
Full marks2/2

1111 0010

Why: 150 + 92 = 242, carrying where a column adds to 2: both nibbles are correct (2).

Some marks1/2

1111 0011

Why: A slip in the last bit. The first nibble is correct (1); the second is not.

No marks0/2

1101 1110

Why: Writes 1 in every column with a 1 and never carries. Neither nibble is correct.

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.