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

Pick again
Print
1Multiple choice1 markPrimary Memory Swap Remove

A computer is running an application. The application's data and instructions are transferred from secondary storage into RAM before the CPU processes them.

Identify the reason for this transfer.

[1 mark]
  • ARAM is non-volatile
  • BRAM is faster to access than secondary storage
  • CRAM has a larger capacity than secondary storage
  • DRAM is cheaper than secondary storage
Mark scheme
  • B RAM is faster to access than secondary storage (1)
  • The only correct answer is B. The correct answer is RAM is faster to access than secondary storage.
  • A is not correct because RAM is volatile
  • C is not correct because RAM has a smaller capacity than secondary storage
  • D is not correct because RAM is more expensive than secondary storage
Example answers and how they were marked
Full marks1/1

B RAM is faster to access than secondary storage

Why: Selects the correct option: RAM is faster to access than secondary storage, so data and instructions can reach the CPU quickly (1).

No marks0/1

A RAM is non-volatile

Why: Near miss: RAM is volatile; this does not explain the transfer into RAM.

No marks0/1

C RAM has a larger capacity than secondary storage

Why: Misconception: assumes primary memory has a larger capacity, but RAM has a smaller capacity than secondary storage.

2Explain2 marksEmbedded Systems Swap Remove

A greenhouse uses an embedded system to keep the plants healthy.

Explain how the embedded system controls the temperature in the greenhouse.

[2 marks]
Mark scheme

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

  • A temperature sensor measures/reads the temperature in the greenhouse (1) which the processor compares with the value stored in the system (1)
  • The heater is switched on (1) when the temperature reading goes below the value stored in the system (1)
  • A fan/vent/window is opened/a cooler is switched on (1) when the temperature reading goes above the value stored in the system (1)
  • The temperature is checked/measured continuously (1) so the heater/fan is switched on or off as soon as the temperature changes (1)

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

Allow one mark for a correct point on its own without a linked reason, e.g. 'a temperature sensor measures the temperature'.

Do not award 'the embedded system controls/keeps the temperature correct' as this repeats the question.

Do not accept naming a device without saying what it does, e.g. 'the greenhouse has a thermostat'.

Example answers and how they were marked
Full marks2/2

A temperature sensor measures the temperature in the greenhouse, which the processor compares with the value stored in the system.

Why: Point (1): the input and what it measures. Reason (1): the linked statement about what the processor does with the reading.

Some marks1/2

The embedded system uses a temperature sensor that measures the temperature in the greenhouse.

Why: A correct point on its own (1); no linked statement about what the system does with the reading, so the second mark is not awarded.

No marks0/2

The embedded system controls the temperature so the plants do not get too cold.

Why: Rewords the question without saying how the temperature is measured or changed, so no mark is awarded.

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

4Discuss6 marksFetch Decode Execute Cycle Swap Remove

A small robotics company is designing a new robot. The robot's computer uses von Neumann architecture. The engineers are explaining how programs are stored and run.

Discuss how the von Neumann stored program concept and main memory (RAM) are used during the fetch-decode-execute cycle.

Your answer should include:

  • what is meant by the stored program concept
  • the role of RAM in the cycle
  • why the stored program concept is useful.
[6 marks]
Mark scheme

Indicative content

Stored program concept

  • Instructions and data are stored together in the same main memory (RAM).
  • Instructions are fetched one at a time from memory and executed in sequence.
  • The program can be changed by loading different instructions into RAM.
  • The CPU can only execute instructions that are in main memory.

Role of RAM

  • RAM holds the program instructions and the data being used.
  • The address of the next instruction is held in the program counter (PC).
  • The instruction is fetched from RAM using the address bus.
  • The data bus carries the instruction from RAM to the CPU.
  • RAM is volatile, so programs are lost when power is off.
  • RAM is directly accessible by the CPU, unlike secondary storage.

Benefits

  • The same hardware can run many different programs.
  • Programs can be loaded and changed quickly.
  • No need to rewire the computer for a new task.
  • Makes general-purpose computers possible.

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)
Example answers and how they were marked
Full marks6/6

The von Neumann stored program concept means that both the program instructions and the data are stored together in the same main memory, RAM. During the fetch-decode-execute cycle, the CPU fetches an instruction from RAM, decodes it in the control unit, and then executes it. The program counter holds the address of the next instruction, and this address is sent along the address bus to RAM. RAM then returns the instruction along the data bus to the CPU. RAM is volatile, so it only holds the program while the robot is powered on. The stored program concept is useful because the robot's computer can run different programs without changing any hardware; new instructions can simply be loaded into RAM. This makes the computer general-purpose and flexible.

Why: Comprehensive understanding: defines stored program concept, explains RAM role with PC, address bus and data bus, applies to robot, and gives benefits. Sustained lines of reasoning. Level 3.

Some marks3/6

The stored program concept is when instructions and data are stored in RAM. The CPU fetches instructions from RAM. The program counter keeps the address of the next instruction. RAM holds the program. The benefit is that you can change the program without rewiring the computer.

Why: Adequate understanding: correct basic points about stored program concept and RAM, with some linkage, but little development or application to the robot's fetch-decode-execute cycle. Level 2.

Some marks1/6

The von Neumann stored program concept is that the CPU uses RAM to store the program. The fetch-decode-execute cycle fetches, decodes and executes. RAM is random access memory. The benefit is that it is fast.

Why: Basic independent points only; no real linkage or application to the robot. Level 1.

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.