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
1Short recall2 marksSecondary Memory Swap Remove

Computers have both primary storage and secondary storage.

Define the term secondary storage.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • (Storage that is) non-volatile / keeps its data when the power is turned off (1)
  • (Storage that is) used to store programs and data/files (for later use) (1)
  • (Storage that is) not directly accessible by the CPU / not directly accessed by the CPU (1)

Allow both the non-volatile point and the stores programs and data point from one sentence if each idea is clearly stated, e.g. 'non-volatile storage that holds programs and data'.

Allow accessed via the CPU / must be copied into RAM before the CPU can use it for the third point.

Do not accept volatile / loses its data when the power is turned off.

Do not accept a description of primary storage, such as RAM or ROM.

Do not accept capacity.

Do not accept an example device on its own (e.g. hard disk drive).

Example answers and how they were marked
Full marks2/2

Secondary storage is non-volatile, so it does not lose data when the power is turned off. It is used to store programs and data files for later use.

Why: Non-volatile / keeps data when the power is off (1) and used to store programs and data files (1), each idea clearly stated.

Some marks1/2

Secondary storage is used to store programs and data files.

Why: Stores programs and data/files (1), but nothing is said about it being non-volatile or not directly accessible by the CPU.

No marks0/2

Secondary storage is volatile memory that holds the data the CPU is using at the moment.

Why: Describes primary storage (RAM) and says it is volatile, which the mark scheme says not to accept, so no marks are awarded.

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

3Discuss6 marksPrimary Memory Swap Remove

A school is buying new computers for its IT room. The computers the technician has ordered have 16 GB of RAM and a large hard drive.

Discuss why main memory (RAM) is needed for programs to run on these computers.

Your answer should include:

  • the role of RAM in the stored program concept
  • what happens to a program when it is opened
  • why the CPU cannot execute a program directly from secondary storage.
[6 marks]
Mark scheme

Indicative content

the role of RAM in the stored program concept

  • In the von Neumann stored program concept, a program's instructions and the data it uses are held together in main memory.
  • RAM holds the instructions and data of the program that the CPU is currently processing.
  • The CPU fetches each instruction from RAM during the fetch-decode-execute cycle, so a program must be in RAM before it can be run.
  • RAM is directly accessible by the CPU, so instructions can be fetched quickly enough for the CPU to keep working.

what happens to a program when it is opened

  • When a program is opened, a copy of its instructions and data is transferred from secondary storage, such as the hard drive, into RAM.
  • The operating system loads the program into RAM so that the CPU can start fetching and executing its instructions.
  • When the program is closed, it is removed from RAM, and the space it used is free for another program.
  • If a computer does not have enough RAM, the program may not open, or another open program has to be closed first.

why the CPU cannot execute a program directly from secondary storage

  • Secondary storage, such as a hard disk drive, is much slower to access than RAM.
  • The CPU can process instructions much faster than secondary storage can supply them, so the CPU would have to wait and would not be working at full speed.
  • RAM is fast electronic memory with no moving parts, so data can be read from it in a fraction of the time taken by a magnetic hard disk drive.
  • Running the school's programs directly from secondary storage would make the computers in the IT room very slow to use.

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 both the role of RAM in the stored program concept and the speed difference between RAM and secondary storage, with a reason such as the CPU having to wait for instructions.
  • Answers that make only basic, independent points, such as what RAM is, that a program is copied into RAM when it is opened, or that RAM is faster than a hard drive, without linking them to explain why the CPU would have to wait for instructions, are limited to Level 1.
  • Do not accept statements that RAM is permanent storage, that RAM replaces secondary storage, or that secondary storage is read-only.
Example answers and how they were marked
Full marks6/6

The computers need RAM because of the von Neumann stored program concept, in which the instructions of a program and the data it uses are both held in main memory. When a student opens a program on one of the new computers, the operating system copies it from the hard drive into RAM. The CPU then fetches each instruction from RAM in the fetch-decode-execute cycle, so the program must be in RAM before it can be run. The CPU cannot execute a program directly from secondary storage because a hard disk drive is much slower than RAM. It has moving parts and a much lower transfer rate, so the CPU would often have nothing to do while it waited for the next instruction. RAM is fast electronic memory that the CPU can read directly, which is why 16 GB of RAM lets the school run several programs at once and still keep the CPU working at full speed.

Why: Comprehensive understanding: the stored program concept is explained (instructions and data held in main memory), the program being opened is linked to it, and the speed difference is developed with the reason that the CPU would wait for instructions, all applied to the school's computers. Level 3.

Some marks2/6

RAM is the main memory of the computer. It stores the programs and data that are being used at the moment. When you open a program it is copied into RAM, and the CPU fetches instructions from RAM. RAM is faster than the hard drive, so a program runs better from RAM. Having 16 GB means the school can have more programs open at once.

Why: Basic, independent points only: what RAM is, that a program is copied into RAM when it is opened, that the CPU fetches instructions from RAM, and that RAM is faster than a hard drive. None is linked to the stored program concept or developed to explain why the CPU would have to wait for instructions, so Level 1, 2 marks.

No marks0/6

RAM is the permanent storage inside the computer, like a hard drive. The school needs 16 GB of RAM so that all the students' files can be saved permanently. When a program is opened, it is copied from RAM to the CPU. The CPU cannot execute from secondary storage because secondary storage is read-only.

Why: No creditworthy points. RAM is described as permanent storage, files are said to be saved permanently in RAM, a program is said to be copied from RAM to the CPU, and secondary storage is said to be read-only. All are the misconceptions listed in the Do not accept guidance, so Level 0.

4Discuss6 marksStored Program Computers Swap Remove

A college is buying new computers for its computer science classroom. A technician explains that the CPU uses three buses to communicate with main memory and other components.

Discuss the role of the address bus, the data bus and the control bus in the fetch-decode-execute cycle.

Your answer should include:

  • what each bus carries
  • the direction in which each bus carries it
  • the role of the buses in the fetch-decode-execute cycle.
[6 marks]
Mark scheme

Indicative content

What each bus carries

  • The address bus carries the address of a memory location that the CPU wants to read from or write to.
  • The data bus carries data and instructions between the CPU and main memory, and between the CPU and other components such as the input and output controllers.
  • The control bus carries control signals, such as read and write, that coordinate the activities of the computer.
  • The clock is a separate component that sends regular pulses, and the control bus carries the signals that keep the other components in time with those pulses.

Direction

  • The address bus is one-way, carrying addresses from the CPU to main memory.
  • The data bus is two-way, so data and instructions can travel both to and from the CPU.
  • The control bus carries control signals from the control unit to the other components, and it is not the clock signal itself.
  • The number of bits in the address bus determines how many memory locations can be addressed, and the number of bits in the data bus determines how much can be transferred at one time.

The role of the buses in the fetch-decode-execute cycle

  • Fetch: the address of the next instruction, held in a register in the CPU, is placed on the address bus so that main memory knows which location to read.
  • Fetch: the control unit sends a read signal on the control bus to main memory.
  • Fetch: the instruction held in that location is returned to the CPU on the data bus.
  • Decode: the control unit decodes the instruction and sends control signals on the control bus to set up the other components, for example telling the ALU which operation to carry out.
  • Execute: the address of any data needed is placed on the address bus, a read or write signal is sent on the control bus, and the data itself travels between the CPU and main memory on the data bus.
  • The cycle repeats, with each step taking place in time with a pulse from the clock.

Level 3 responses must cover all three buses and link them to the fetch-decode-execute cycle, including the fetch stage and at least one of the decode and execute stages. Answers that describe each bus correctly but link none of them to a stage of the cycle are limited to Level 1.

Do not accept 'the address bus carries data', 'the data bus carries addresses', 'the data bus carries instructions only during the fetch stage', 'the control bus carries the clock signal' or 'the control bus is the clock'; the clock is a separate component whose pulses the control signals coordinate with.

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

At the start of the fetch stage the address of the next instruction, which is held in a register, is placed on the address bus, which is one-way, so that main memory knows which location to read. The control unit sends a read signal on the control bus, and the instruction held at that address is returned to the CPU on the data bus, which is two-way. In the decode stage the control unit works out what the instruction means and sends control signals on the control bus to set up the other components, for example telling the ALU which operation to carry out. In the execute stage, if the instruction needs data from memory, the address of that data is placed on the address bus, a read or write signal is sent on the control bus and the data itself travels on the data bus. Every step happens on a pulse from the clock, which is a separate component, and the control bus carries the signals that keep the components in time with it. The widths of the buses matter too: more address bits mean more memory locations can be addressed and more data bits mean more can be moved at once.

Why: Level 3 (6 marks): all three buses are covered, with what each carries and its direction, and each is linked to the fetch, decode and execute stages, plus the role of the clock and the effect of bus widths.

Some marks2/6

The address bus carries addresses from the CPU to the memory and it is one-way. The data bus carries data and it is two-way. The control bus carries control signals. During the fetch stage the CPU fetches the instruction from memory using these buses.

Why: Level 1 (2 marks): each bus is named with a basic correct statement (address bus carries addresses one-way, data bus is two-way, control bus carries control signals), but no bus is linked to a stage of the cycle, so the guidance line limits this to Level 1; the general mention of the fetch stage is not tied to any bus.

No marks0/6

The address bus carries the data to the CPU. The data bus carries the addresses to the memory. The control bus is the clock that makes the CPU run faster.

Why: Level 0 (0 marks): the address bus and data bus roles are swapped, which the scheme says not to accept, and the control bus is wrongly described as the clock, which is also not accepted, so there is no rewardable content.

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.