Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 514 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

9 questions · 23 marks

Pick again
Print
1Multiple choice1 markFetch Decode Execute Cycle Swap Remove

Identify the component that stores instructions and data during the fetch-decode-execute cycle.

[1 mark]
  • AArithmetic logic unit
  • BClock
  • CMain memory (RAM)
  • DProgram counter
Mark scheme
  • C Main memory (RAM) (1)
  • The only correct answer is C. The correct answer is main memory (RAM); accept 'main memory', 'RAM' or 'random access memory'.
  • A is not correct because the arithmetic logic unit performs arithmetic and logical operations
  • B is not correct because the clock sends regular pulses to synchronise the components of the CPU
  • D is not correct because the program counter holds the address of the next instruction, not the instructions and data
Example answers and how they were marked
Full marks1/1

C Main memory (RAM)

Why: Correct option: main memory (RAM) stores instructions and data during the fetch-decode-execute cycle (1).

No marks0/1

D Program counter

Why: Near-miss distractor: the program counter holds the address of the next instruction, not the instructions and data (0).

No marks0/1

A Arithmetic logic unit

Why: Misconception: the ALU performs arithmetic and logical operations, so it does not store instructions and data (0).

2Short recall1 markPrimary Memory Swap Remove

Computers use RAM to store the data and instructions that are in use.

Name the term used to describe memory that loses its contents when the power is switched off.

[1 mark]
Mark scheme

Award one mark for:

  • Volatile (1)

Allow volatile memory / it is volatile.

Do not accept non-volatile, ROM, RAM or temporary/short term memory on their own, as these are not the term asked for.

Example answers and how they were marked
Full marks1/1

Volatile

Why: Correct term for memory that loses its contents when the power is switched off (1).

No marks0/1

Temporary memory

Why: Describes what such memory does but is not the term asked for; 'temporary memory' is on the Do not accept line, so no mark.

No marks0/1

Non-volatile

Why: Non-volatile memory keeps its contents when the power is switched off, the opposite of what the question describes; it is explicitly not accepted.

3Short recall1 markSecondary Memory Swap Remove

Data is stored on optical discs as pits and lands.

Name the component in an optical disc drive that reads this data.

[1 mark]
Mark scheme

Award one mark for:

  • Laser (1)

Allow laser beam

Do not accept read/write head

Do not accept pits

Do not accept lands

Do not accept reflective surface

Do not accept magnet/magnetic

Example answers and how they were marked
Full marks1/1

Laser

Why: Laser is the creditworthy answer (1).

No marks0/1

A read/write head

Why: Read/write head is not accepted by the mark scheme; it reads magnetic media, not optical discs, so no marks are awarded.

No marks0/1

Pits and lands

Why: Pits and lands are what the laser reads, not the component that reads the data, so the mark scheme does not accept them.

4Describe2 marksSecondary Memory Swap Remove

Computers use secondary storage.

Describe the role of secondary storage.

[2 marks]
Mark scheme

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

  • Stores programs (including the operating system) and data that are not currently in use (1) so that they can be loaded into RAM/main memory when needed (1)
  • Keeps files/programs/data when the power is turned off (1) which happens because it is non-volatile (1)
  • Stores files/data for backup or archiving (1) so that they can be recovered if the originals are lost/corrupted (1)

A correct role on its own earns one mark; the second mark requires a linked development.

Accept either order if both the role and the link are given.

Do not accept 'it is non-volatile' on its own, unless it is linked to keeping data when the power is turned off.

Do not accept answers that only name a storage type (magnetic, optical, solid state) without describing a role.

Do not accept responses that describe primary storage/RAM, e.g. storing the data/instructions the CPU is currently working on, or that secondary storage makes the computer run faster.

Example answers and how they were marked
Full marks2/2

Secondary storage stores programs and data that are not currently in use so that they can be loaded into RAM when they are needed.

Why: Role point (1) linked to loading into RAM when needed (1).

Some marks1/2

It stores files and programs that are not currently in use.

Why: Correct role on its own earns one mark (1); no linked development, so the second mark is not awarded.

No marks0/2

It holds the data and instructions the CPU is working on so the computer runs faster.

Why: Describes primary storage/RAM and a speed benefit, which the mark scheme does not accept; no role of secondary storage is given.

5Describe2 marksSecondary Memory Swap Remove

A computer uses a magnetic hard disk.

Describe how data is stored on a magnetic hard disk.

[2 marks]
Mark scheme

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

  • A read/write head moves over the surface of the disk (1) to read/write data by detecting or changing the magnetic alignment of areas of the surface (1)
  • The head magnetises areas of the disk surface in different directions (1) so each area represents a binary 1 or 0 (1)
  • Data is stored on concentric circles called tracks (1) which are divided into sectors (1)

Allow one mark for tracks/concentric circles on their own.

For the second mark in the first two bullets, the response must refer to the magnetic alignment/charge being detected or changed, not just that the head reads/writes data.

Do not award a mark for 'it is magnetic' or 'it stores data in binary' with no description of how the data is stored.

Do not accept descriptions of optical storage (e.g. a laser, pits and lands) or solid state storage (e.g. electric charges in chips).

Example answers and how they were marked
Full marks2/2

The read/write head moves over the magnetic surface and magnetises areas of the disk to store the 1s and 0s.

Why: Head moves over the surface (1) and magnetises areas to represent 1s and 0s (1).

Some marks1/2

The data is stored on tracks on the disk.

Why: Tracks/concentric circles (1), but no development such as tracks divided into sectors.

No marks0/2

It is magnetic and saves the data in 1s and 0s.

Why: Near-miss: 'magnetic' alone and 'data in binary/1s and 0s' with no description of how data is stored, which the mark scheme does not award.

6Explain2 marksEmbedded Systems Swap Remove

An engine control unit (ECU) in a car is an embedded system.

Explain one benefit of using an embedded system for the engine control unit instead of a general purpose computer.

[2 marks]
Mark scheme

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

  • (The ECU) is more reliable/less likely to crash (1) because it only runs the one program/has a single purpose (1)
  • (The ECU) cannot be affected by other software/viruses (1) because it cannot run other software/it can only run the program it was made for (1)
  • (The ECU) is cheaper (1) because it has limited processing resources/less memory/simple components (1)
  • (The ECU) uses less power (1) because it has limited processing resources/a simpler processor (1)
  • (The ECU) is smaller (1) because it has fewer components/less memory than a general purpose computer (1)

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

A suitable benefit stated on its own earns one mark.

Do not accept a description or a location given as the reason, e.g. 'because it is part of the car', 'because it is inside the engine', 'because it is embedded'.

Do not accept a description of an embedded system on its own as the benefit, e.g. 'it does one specific job' or 'it is part of the car'.

Do not accept 'it is faster'/'it has a more powerful processor' as embedded systems have limited processing resources.

Example answers and how they were marked
Full marks2/2

It is more reliable than a general purpose computer (1) because it only runs the one program so it will not crash and stop the engine working (1).

Why: Benefit stated (1) with a linked reason (1); the reason shows why only running one program makes it reliable.

Some marks1/2

It is more reliable (1) because it is part of the car's engine (1).

Why: Only the benefit earns a mark (1); being part of the car is a location, not a linked reason why it is reliable.

No marks0/2

It is faster than a general purpose computer (0) because it is embedded in the engine (0).

Why: Misconception that an embedded system is faster; embedded systems have limited processing resources, so neither point nor reason is creditworthy.

7Explain2 marksFetch Decode Execute Cycle Swap Remove

The control unit is part of the CPU.

Explain the role of the control unit in the fetch-decode-execute cycle.

[2 marks]
Mark scheme

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

  • Decodes/interprets/translates the instruction (1) to work out what the instruction is/what operation is required (1)
  • Sends control signals to the other components (1) so that the correct component carries out the instruction (1), e.g. the ALU/main memory
  • Controls the fetch of the instruction from main memory (1) because the address of the next instruction is sent via the address bus (1)
  • Controls the fetch of the next instruction from main memory (1) by sending a control signal/read signal to main memory (1)

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

For the decode point, 'decodes the instruction' alone gains 1 mark; a second mark needs the purpose of decoding, i.e. working out what the instruction is/what operation is required.

Do not accept 'it controls the CPU' on its own, without naming a task in the cycle.

Do not accept 'it fetches the instruction from memory' on its own, as this describes the fetch step rather than the control unit's role; credit only if linked to controlling/signalling the fetch.

Do not accept carrying out arithmetic/logical operations, as these are carried out by the ALU, or holding the address of the next instruction, as this is the program counter.

Do not accept storing the instruction in a register (e.g. MAR/MDR), as this is not the role of the control unit.

Example answers and how they were marked
Full marks2/2

The control unit decodes each instruction, working out what it means, so that the CPU knows which component should carry it out.

Why: Linked point (1) and reason (1): decodes/interprets the instruction, and works out what it is/what operation is required.

Some marks1/2

It decodes the instruction that has been fetched from main memory.

Why: Decode point only (1); it does not explain the purpose of decoding, i.e. working out what the instruction is/what operation is required.

No marks0/2

It adds the two numbers together and stores the result in a register.

Why: Misconception: arithmetic is carried out by the ALU, which the mark scheme's Do not accept line covers.

8Discuss6 marksFetch Decode Execute Cycle Swap Remove

A college is buying a new set of computers for its computer science laboratory. A technician explains to the students that the CPU in each computer repeatedly carries out the fetch-decode-execute cycle while a program is running.

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

Your answer should include:

  • the role of the control unit and the ALU
  • the role of registers
  • how the components work together as the cycle repeats.
[6 marks]
Mark scheme

Indicative content

Control unit and ALU

  • The control unit fetches and decodes each instruction that the new computers are running, so it works out which operation has to be carried out.
  • The control unit sends control signals to the ALU and to main memory over the control bus so that the other components carry out the instruction.
  • The control unit receives the clock signal, so each stage of the cycle begins on a clock tick.
  • The ALU carries out arithmetic operations, such as adding two values, and logical operations, such as comparing two values, during the execute stage.
  • The ALU is the component that performs the calculations that a program running on the new computers needs.
  • The data the ALU works on is held in registers, and the result of the operation is stored in a register such as the accumulator.

Registers

  • Registers are small, very fast memory locations inside the CPU that hold the instructions and data the CPU is working on.
  • The program counter holds the address of the next instruction to be fetched, and it is incremented each time an instruction is fetched.
  • The memory address register (MAR) holds the address of the main memory location that is to be read from or written to during the fetch stage.
  • The memory data register (MDR) holds the instruction or data brought from main memory (RAM) over the data bus before it is decoded.
  • The accumulator holds the result of an operation carried out by the ALU.
  • Because registers are inside the CPU, the CPU can keep working on a value without going back to slower main memory during the cycle.

Working together as the cycle repeats

  • In the fetch stage, the address of the next instruction is copied from the program counter into the memory address register and sent to main memory over the address bus, and the instruction comes back over the data bus into the memory data register.
  • In the decode stage the control unit interprets the instruction and works out which components are needed for it.
  • In the execute stage the control unit signals the ALU or main memory so that the instruction is carried out, and the result is held in a register.
  • The clock sends a regular pulse so that the fetch, decode and execute stages of each instruction happen in step.
  • The program counter is then incremented, so the cycle repeats with the address of the next instruction to be fetched.

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

  • A list of correct but independent roles, with no linkage between the components and no reference to the stages of the cycle, is limited to Level 1; an answer that gives the roles of the components but does not link them to the fetch, decode and execute stages is limited to Level 2; a Level 3 answer must cover the control unit/ALU and registers and link them to the stages of the cycle.
  • Award no credit for 'the control unit is the brain of the CPU', 'the ALU stores data' or 'registers are the same as RAM'; accept the program counter, MAR, MDR and accumulator as examples of registers, accept the clock, address bus, data bus and control bus where they are linked to a stage of the cycle, and accept 'main memory' or 'RAM' as equivalent.
Example answers and how they were marked
Full marks6/6

The control unit controls the other parts of the CPU in each of the college's new computers. In the fetch stage, the address of the next instruction is copied from the program counter into the memory address register and sent to main memory over the address bus. The instruction comes back over the data bus and is held in the memory data register. The control unit then decodes the instruction, working out which operation has to be carried out. In the execute stage it sends control signals to the ALU or to main memory so that the instruction is carried out. The ALU performs arithmetic operations, such as adding two values, and logical operations, such as comparing two values, on data held in registers, and the result is stored in a register such as the accumulator. Registers are small, very fast memory locations inside the CPU, so the CPU holds the instruction and the data it is working on without going back to slower RAM every time. The program counter is then incremented so that it holds the address of the next instruction, and the cycle repeats. The clock sends a regular pulse so that the stages of the cycle happen in step.

Why: Comprehensive understanding of the control unit, ALU and registers, with each component linked to the fetch, decode or execute stage and applied to the college's new computers, and sustained lines of reasoning through the cycle. Level 3 (5–6): all three bullets covered and linked, so 6.

Some marks3/6

The control unit is part of the CPU in the college's new computers. When an instruction is fetched, the control unit decodes it to find out what has to be done, and later it signals the other components to carry out the instruction. The ALU does arithmetic and logical operations, so it is used in the execute stage when a calculation is needed. Registers are fast memory locations inside the CPU that hold the data being worked on. For example, the program counter holds the address of the next instruction, so the CPU knows where to fetch from next.

Why: Adequate understanding: the control unit and ALU are linked to the decode and execute stages and to the college's computers, and the program counter is linked to the fetch stage, so some linkages and lines of reasoning are present. The role of registers is thin and there is no sequence through the whole cycle, so it does not reach Level 3. Level 2: 3 marks.

Some marks1/6

The control unit is the brain of the CPU and makes all of the decisions. The ALU is used to do arithmetic, for example adding numbers together. Registers are like RAM but they are inside the CPU, and they store the data a program needs. The fetch-decode-execute cycle fetches, decodes and then executes an instruction.

Why: One basic, independent point: the ALU carries out arithmetic operations (1). 'The control unit is the brain' and 'registers are like RAM' are the named misconceptions and gain no credit, and restating the three stage names gives no role. Level 1: 1 mark.

9Discuss6 marksStored Program Computers Swap Remove

A college is replacing the computers in its IT suite. The technician tells the students that the new computers use the von Neumann stored program concept.

Discuss the von Neumann stored program concept and the role of the CPU and main memory (RAM) in the fetch-decode-execute cycle.

Your answer should consider:

  • the role of main memory (RAM)
  • the role of the CPU components (control unit, arithmetic logic unit, registers and clock)
  • the role of the address, data and control buses.

You do not need to consider how clock speed affects performance.

[6 marks]
Mark scheme

Indicative content

Stored program concept

  • The stored program concept means that the program instructions and the data the program is using are both held in the same main memory (RAM).
  • The CPU fetches an instruction from main memory, the control unit decodes it and the instruction is executed, and this is repeated in the fetch-decode-execute cycle.
  • The program is stored as a set of binary instructions, so a different program can be run on the college's new computers by loading different instructions into RAM rather than by changing any hardware.
  • Instructions are usually carried out one at a time, in the order in which they are stored, which is suitable for the computers in the IT suite that each run one piece of software at a time.

Main memory (RAM)

  • Main memory (RAM) holds the instructions and the data that the CPU is currently using.
  • RAM is directly accessible by the CPU, so the required instruction or item of data can be fetched quickly during the fetch stage of the cycle.
  • RAM can be read from and written to while a program is running, so the results produced by the students' work can be stored back into memory.
  • RAM is volatile, so its contents are lost when the power is turned off, and the college's computers will have empty RAM each time they are started.

CPU components

  • The control unit decodes each instruction and coordinates the timing and control of the other parts of the CPU, so it directs the fetch-decode-execute cycle.
  • The arithmetic logic unit (ALU) carries out arithmetic operations and logical comparisons on the data, for example working out a student's total mark in a spreadsheet.
  • Registers are small, fast storage locations inside the CPU that hold the address of the next instruction, the instruction being decoded and the data being worked on.
  • The clock sends a regular signal that synchronises the actions of the CPU, so each step of the cycle is carried out in time with the clock.

Buses

  • The address bus is one way, from the CPU to main memory, and carries the address of the memory location that the CPU wants to read from or write to.
  • The data bus carries the instruction or the data between the CPU and main memory, so it is used to bring an instruction to the CPU in the fetch stage.
  • The control bus carries control signals such as read and write, so the CPU can tell main memory whether it is reading an instruction or writing data.

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 cover the role of main memory (RAM) and the role of the CPU components or the buses during the fetch-decode-execute cycle, as well as the stored program concept.
  • Do not accept RAM described as being inside the CPU, or as non-volatile, or any point about how clock speed affects performance, because the question excludes it.
Example answers and how they were marked
Full marks6/6

The von Neumann stored program concept means that the program instructions and the data the program is using are both held in the same main memory (RAM). This means each of the college's new computers can run any piece of software simply by loading a different set of instructions into its RAM, with no change to the hardware. The CPU fetches an instruction from RAM, the control unit decodes it and the instruction is executed, and this repeats in the fetch-decode-execute cycle. RAM holds the instructions and data that the CPU is currently using and is directly accessible by the CPU, so they can be fetched quickly, but it is volatile, so the contents are lost when a computer is switched off at the end of the day. During the fetch stage, the address bus carries the address of the instruction in RAM, the data bus carries the instruction back to the CPU, and the control bus carries the control signals, such as read, that tell main memory what to do. Registers inside the CPU hold the address of the next instruction and the data being worked on, the clock sends a regular signal so that every step of the cycle happens in time, and the ALU carries out the arithmetic and logical operations needed by the students' work in the IT suite.

Why: Level 3: accurate stored program concept linked to loading software on the college's computers, the role of RAM including volatility, and the roles of the address, data and control buses, registers, clock and ALU, all applied to the situation.

Some marks3/6

The stored program concept means that the program instructions and the data the program is using are stored together in the same memory. The CPU fetches an instruction from main memory, decodes it and then executes it. Main memory (RAM) holds the instructions and data that the CPU is using and it can be read from and written to, so the CPU can get at them quickly. RAM is volatile, so its contents are lost when the computer is switched off.

Why: Level 2: an adequate account of the stored program concept and the role of RAM, with one line of reasoning (fetch, decode, execute) and the volatility point, but no coverage of the CPU components or the buses and no application to the college's computers, so it stays at the lower end of Level 2.

Some marks1/6

In von Neumann architecture the CPU fetches and decodes instructions one at a time. RAM is the memory inside the CPU that stores the program so that it is not lost when the computer is switched off. The clock speed makes the CPU faster so the fetch-decode-execute cycle runs more quickly.

Why: Level 1: one basic point about the CPU fetching and decoding instructions from memory; RAM is wrongly placed inside the CPU and described as non-volatile and the clock speed point is excluded by the question, so neither is credited.

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.