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 · 16 marks

Pick again
Print
1Describe2 marksEmbedded Systems Swap Remove

Many modern devices contain embedded systems.

Describe what is meant by the term embedded system.

[2 marks]
Mark scheme

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

  • It is a computer/processor built into a larger device (1) to carry out a single dedicated task/function (1)
  • It is a combination of a processor, memory and input/output in one unit (1) that controls the device it is part of (1)
  • It is a computer that forms part of another device (1) so it is not used as a general purpose computer (1)

Allow 'forms part of another device' or 'inside another device' for the first mark.

Do not award the second mark for a separate fact that is not linked to the first point, e.g. 'It is built into a device and it uses little power' would earn only the first mark (1).

Do not accept 'a small computer' on its own, with no reference to being part of another device or performing a dedicated task.

Do not accept 'a computer that controls a device' on its own, with no reference to it being built into/part of a larger device or carrying out a dedicated task.

Do not accept 'it performs a single dedicated task' on its own, with no reference to it being built into/part of a larger device.

Do not accept descriptions of a general purpose computer, e.g. 'it can run many different programs' or 'new software can be installed'.

Do not accept 'it is a system that is embedded in another system' as this repeats the term in the question.

Example answers and how they were marked
Full marks2/2

An embedded system is a computer built into a larger device to carry out one specific/dedicated task

Why: Linked point (1) that it is built into a larger device, developed (1) with the dedicated task it performs.

Some marks1/2

It is a small computer that is inside another device.

Why: First point only (1) - inside/part of another device - with no linked development of a dedicated task.

No marks0/2

It is a computer that controls a device.

Why: Near-miss: only says it controls a device, with no reference to being built into/part of a larger device or a dedicated task, so no marks.

2Describe2 marksStored Program Computers Swap Remove

The CPU contains an arithmetic logic unit (ALU).

Describe the purpose of the arithmetic logic unit (ALU).

[2 marks]
Mark scheme

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

  • Carries out arithmetic operations/calculations, such as addition or subtraction (1) so that the result can be stored in a register (1)
  • Carries out logical operations, such as comparing two data items (1) to see which one is greater/larger (1)
  • Compares two data items (1) to decide whether a condition is true / which path a program takes next (1)

Allow the result of an arithmetic or logical operation being held/stored in a register, but only where the operation is named.

Do not accept answers that say the ALU stores data or results without naming an operation (registers/main memory store data).

Do not accept answers about controlling components, decoding instructions or timing (that is the control unit or the clock).

Do not award credit for 'it processes data' on its own; an arithmetic or a logical operation must be named.

An example on its own, e.g. 'it adds two numbers', does not earn a second mark; the second mark needs a linked development.

Example answers and how they were marked
Full marks2/2

The ALU carries out arithmetic operations such as addition and subtraction, and the result of the calculation is stored in a register.

Why: Linked point (1) for arithmetic operations with an example, and development (1) for the result being stored in a register.

Some marks1/2

It does all the calculations in the CPU, for example adding two numbers together.

Why: Point (1) for arithmetic operations/calculations named with an example; no linked development, so the second mark is not earned.

No marks0/2

It stores the results of calculations so that they can be used by the CPU later.

Why: Storing results with no arithmetic or logical operation named, which the 'Do not accept' line rules out, so no mark is earned.

3Discuss6 marksPrimary Memory Swap Remove

An employee is writing a report on a laptop. There is a power cut and the laptop turns off. When power is restored, the employee cannot find the report file.

Discuss the role of RAM in this situation.

Your answer should include:

  • why the report was lost
  • the difference between RAM and secondary storage
  • how the employee could prevent this in future.
[6 marks]
Mark scheme

Indicative content

Why the report was lost

  • The report was being created and edited in RAM, which is volatile.
  • Volatile memory loses its contents when the power supply is removed.
  • The power cut removed the power, so the data in RAM was lost.
  • The report had not been saved to secondary storage before the power cut.
  • Only data that had been saved to secondary storage would remain after the power cut.

The difference between RAM and secondary storage

  • RAM is volatile and holds data temporarily while the computer is on.
  • Secondary storage is non-volatile and keeps data permanently when the power is off.
  • RAM is directly accessible by the CPU and is much faster than secondary storage.
  • Secondary storage has a larger capacity and is cheaper per gigabyte than RAM.
  • RAM holds the programs and data currently in use; secondary storage holds files for long-term storage.

How the employee could prevent this in future

  • The employee should save the report regularly to secondary storage, such as the hard drive or a USB flash drive.
  • The employee could enable autosave or autosave/recovery features in the word processor.
  • The employee could use cloud storage that saves changes automatically.
  • The employee could use an uninterruptible power supply (UPS) or battery to keep the laptop on during a power cut.
  • The employee should not rely on RAM to keep work permanently.

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)

Additional guidance

  • Level 3 responses must explain that RAM is volatile and contrast this with non-volatile secondary storage.
  • Do not award marks for stating that the report was lost from secondary storage unless it had been saved there.
Example answers and how they were marked
Full marks6/6

The report was lost because it was being held in RAM, which is volatile memory. RAM only keeps its contents while the computer has power. When the power cut happened, the laptop turned off and everything in RAM was lost, including the unsaved report. RAM is different from secondary storage because secondary storage is non-volatile and keeps data permanently even when the power is off. For example, the hard drive would still contain the report if it had been saved. RAM is also much faster than secondary storage and is used for programs and data currently in use. To prevent this in future, the employee should save the report regularly to the hard drive or use autosave. They could also save to cloud storage, which saves automatically, or use a UPS to keep the laptop running during a power cut.

Why: Comprehensive understanding of RAM volatility, clear contrast with non-volatile secondary storage, and well-linked prevention methods applied to the employee's situation.

Some marks4/6

The report was lost because it was in RAM. RAM is temporary memory and it loses data when the power goes off. Secondary storage is permanent, so if the employee had saved the report it would still be there. RAM is faster than secondary storage. To prevent it, they should save their work.

Why: Adequate understanding shown through the volatility of RAM and the difference from permanent secondary storage, but the answer lacks detail about why the report was specifically lost and gives only a brief prevention method.

No marks0/6

The report was lost from the hard drive because the power cut erased it. RAM is permanent storage, so the report should have been saved there. The employee should buy more RAM to stop this happening again.

Why: No creditworthy points. The answer wrongly says the report was lost from the hard drive and that RAM is permanent storage, and it suggests more RAM will prevent power-loss data loss. These are misconceptions.

4Discuss6 marksStored Program Computers Swap Remove

A school is buying new desktop computers for its computer science classroom. The teacher explains that each computer uses the von Neumann stored program concept: the program instructions and the data are stored together in main memory, and the CPU runs each instruction by carrying out the fetch-decode-execute cycle.

Discuss the role of the control unit, the arithmetic logic unit (ALU) and registers in the fetch-decode-execute cycle.

Your answer should include:

  • how an instruction is fetched from main memory and decoded
  • how the ALU executes an instruction
  • how registers are used during the cycle.
[6 marks]
Mark scheme

Indicative content

Fetching and decoding an instruction

  • The register that holds the address of the next instruction (the program counter) contains the address of the instruction to be fetched.
  • This address is sent to main memory (RAM) and the instruction is copied from main memory into a register inside the CPU.
  • The program counter is updated so that it holds the address of the next instruction in the program.
  • The control unit decodes the instruction that has been fetched, working out which operation is required and which data or registers are needed.
  • The control unit sends control signals to coordinate the other components as the instruction is carried out.
  • The control unit decides what happens next, for example after a comparison it decides whether the next instruction is the following one or a jump.

The arithmetic logic unit (ALU) executes an instruction

  • The control unit directs the arithmetic logic unit (ALU) to carry out the operation.
  • The ALU performs arithmetic operations such as addition, subtraction, multiplication and division, for example adding two values in a program written by the class.
  • The ALU performs logical operations such as comparing two values to see if they are equal or whether one is greater than the other.
  • The result of the operation carried out by the ALU is passed back and stored in a register.
  • The ALU operates on data that has been fetched from main memory; it does not fetch the instruction and it does not decide which instruction is next.

Registers

  • Registers are small, very fast memory locations inside the CPU.
  • They hold the data, addresses and results that the CPU is working on during the cycle.
  • Registers are used in every stage of the cycle, not only when the ALU produces a result.
  • Because registers are inside the CPU they can be read and written much faster than main memory during the cycle.

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)
  • A Level 3 answer must link the roles of all three components to the fetch, decode and execute stages. An answer that links only one component to a stage, with the other points listed separately, is Level 1 (1–2 marks); an answer that links two of the components to stages is Level 2 (3–4 marks). A point repeated under more than one heading is credited once only.
  • Accept 'the program counter', 'the address register' or 'a register holding the address of the next instruction' as the register that holds the address of the next instruction. Do not accept 'the control unit performs the calculations', 'the ALU controls the timing of the CPU' / 'the ALU sends the clock signal' or 'registers are in main memory (RAM)'.
Example answers and how they were marked
Full marks6/6

In the fetch stage, a register called the program counter holds the address of the next instruction and this address is sent to main memory. The instruction is copied from main memory into a register in the CPU and the program counter is updated so that it points to the next instruction. The control unit then decodes the instruction in the decode stage, working out which operation is required and which data or registers are needed, and it sends control signals to coordinate the other components. In the execute stage the control unit directs the ALU to carry out the operation the class's program needs: the ALU does arithmetic, such as adding two values, or a logical comparison, such as checking whether one value is greater than another, and it does not decide what happens next, the control unit does. The result from the ALU is stored in a register, and because registers hold the data, addresses and results at every stage, the cycle can repeat with the next instruction.

Why: Level 3: the role of each component is linked to the stage it works in (program counter and registers in fetch, control unit decoding and deciding next, ALU executing and its result stored in a register) across all three stages, with the classroom context.

Some marks2/6

The control unit decodes the instruction in the decode stage. The ALU does maths and logic, such as addition and comparing numbers. Registers store data inside the CPU. In the fetch stage the instruction is fetched from the RAM and put into the CPU.

Why: Level 1: several correct basic points that the mark scheme credits (the instruction is fetched from main memory into the CPU, the control unit decodes the instruction, the ALU does arithmetic and logical operations, registers store data) but only the control unit is linked to a stage of the cycle, so the answer is top of Level 1.

Some marks1/6

The control unit decodes instructions. The ALU controls the timing of the CPU and sends the clock signal. Registers are in the RAM and they store the program.

Why: Level 1: one basic point, that the control unit decodes instructions (1). The other statements are on the do-not-accept list (the ALU does not control the timing of the CPU or send the clock signal, and registers are in the CPU, not main memory), so they earn no credit.

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.