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

Pick again
Print
1Multiple choice1 markPrimary Memory Swap Remove

RAM is the main memory of a computer.

Identify the effect on the contents of RAM when the computer is switched off.

[1 mark]
  • AThey are lost
  • BThey are stored permanently
  • CThey are saved to secondary storage
  • DThey are written to ROM
Mark scheme
  • A They are lost (1)
  • The only correct answer is A. The correct answer is They are lost
  • B is not correct because RAM is volatile and its contents are lost when the power is switched off, so they are not stored permanently
  • C is not correct because RAM is volatile and its contents are lost when the power is switched off, so they are not saved to secondary storage
  • D is not correct because ROM is read-only memory that holds the start-up instructions, so the contents of RAM are not written to it
Example answers and how they were marked
Full marks1/1

A They are lost

Why: Selected the correct option. RAM is volatile, so its contents are lost when the power is switched off (1).

No marks0/1

C They are saved to secondary storage

Why: Near miss: thinks RAM contents are automatically saved, but RAM is volatile and its contents are not saved to secondary storage (0).

No marks0/1

B They are stored permanently

Why: Misconception: thinks RAM is non-volatile and keeps data permanently, but RAM is volatile and loses its contents when the power is switched off (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 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.

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 marksEmbedded Systems Swap Remove

A delivery company is developing a drone to deliver small parcels to customers' homes. The drone has sensors, a camera, a GPS receiver and rotors, and it must fly autonomously and avoid obstacles.

Discuss the use of embedded systems in the delivery drone.

Your answer should include:

  • what embedded systems are used for in the drone
  • the benefits of using embedded systems in the drone
  • any drawbacks or limitations of using embedded systems in the drone
[6 marks]
Mark scheme

Indicative content

What embedded systems are used for in the drone

  • An embedded system is a computer built into a larger device that performs a single, dedicated function as part of that device.
  • The drone contains several embedded systems, and each one is dedicated to a task such as flight control, navigation, obstacle detection or battery monitoring rather than being a general-purpose computer.
  • The flight controller embedded system processes data from the drone's sensors and changes the signals sent to the rotors, so the drone stays stable and can be steered while carrying a parcel.
  • The GPS receiver embedded system works out the drone's position and uses it to navigate along the route to the customer's address.
  • The camera embedded system captures images or video that are processed to detect obstacles, such as trees, buildings or overhead cables, in the drone's path.
  • Sensor embedded systems, for example ultrasonic or infrared sensors, measure the distance to the ground and to obstacles so the drone can land and avoid collisions.
  • The battery management and communication embedded systems monitor the charge and send the drone's status and location to the control centre, and the rotor-control embedded systems drive the rotors so the drone can take off, hover and land.

Benefits of using embedded systems in the drone

  • Embedded systems use little power, so the drone can fly for longer and deliver more parcels on one charge.
  • They are small and light, which is important because a heavier drone needs more power to stay in the air.
  • Because each embedded system is dedicated to one task, it can respond quickly and reliably, so the drone can change direction in time to avoid an obstacle.
  • Combining the processor, memory and input/output in one unit reduces the number of separate components and the cost per drone, so a fleet of delivery drones is cheaper to build.
  • Embedded systems allow the drone to fly autonomously, so the company does not need a human pilot for every delivery.
  • Programs are held in ROM, so the drone's behaviour is consistent and predictable each time it flies.

Any drawbacks or limitations of using embedded systems in the drone

  • Each embedded system has limited processing power, so the drone may not be able to run complex obstacle-recognition software and could fail to identify an unusual obstacle.
  • They have limited storage and RAM, so the drone cannot store much flight data or video on board and must send it to the control centre.
  • The software is held in ROM and is difficult to update, so fixing a bug or adding a new feature may mean returning the drone or connecting it to a computer.
  • The embedded systems are dedicated to the drone, so they cannot easily be reused for a different task if the drone is retired.
  • If an embedded system fails, the drone may crash, which could injure people or damage property, so robustness is essential.
  • A general-purpose computer would be too large and heavy for the drone, so the drone has to use these limited dedicated systems and cannot run general-purpose software.

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 what embedded systems are used for in the drone and both benefits and drawbacks/limitations, with reasoning applied to the delivery drone. Do not accept general-purpose computer uses such as connecting to Wi-Fi to play videos, installing new software, apps or games, or using a server; do not accept the drone itself as a single embedded system unless a specific dedicated function is explained.
  • A definition of an embedded system on its own, with no application to the drone, cannot lift an answer above Level 1; limited storage and inability to be repurposed must be linked to the drone, for example little flight data can be stored or the system cannot be reused for another task, to gain credit.
Example answers and how they were marked
Full marks6/6

An embedded system is a computer built into a larger device that performs a dedicated function. The delivery drone contains several embedded systems. The flight controller is an embedded system that takes data from the drone's sensors and adjusts the speed of each rotor, so the drone stays level and stable while carrying a parcel. The GPS embedded system calculates the drone's position and works out the route to the customer's address. The camera embedded system takes images that are processed to spot obstacles such as trees or overhead cables, and the sensor embedded systems measure the distance to the ground so the drone can land safely. These systems are dedicated to one task each, so they respond quickly, which allows the drone to change direction in time to avoid an obstacle. They are also small and light and use little power, so the drone can fly further on one charge and deliver more parcels. Because each embedded system is built into the drone, the drone can fly autonomously and the company does not need a pilot for every delivery. However, the embedded systems have limited processing power and storage, so the drone may not be able to run complex obstacle-recognition software and might not recognise an unusual obstacle. Their software is held in ROM, so fixing a bug is difficult and the drone may have to be returned or connected to a computer to be updated. If an embedded system fails, the drone could crash, which could injure someone or damage property. Overall, embedded systems make the delivery drone possible because they are small, light and dedicated, but their limitations mean the drone cannot do every task that a general-purpose computer could.

Why: Definition of an embedded system (1); uses with reasons applied to the drone, including the flight controller, GPS, camera and sensors (1); benefits linked to weight, power, responsiveness and autonomous flight (1); drawbacks linked to limited processing/storage, ROM updates and crash risk (1); sustained lines of reasoning connect the uses, benefits and drawbacks to the delivery drone throughout, so Level 3, 6 marks.

Some marks3/6

An embedded system is a small computer inside a device that does one job. The drone uses a flight controller embedded system to keep it balanced and change the rotor speeds, and a GPS embedded system to find the address. The camera embedded system helps it avoid obstacles. Embedded systems are small and light and use little power, which is good for a drone because it has to stay in the air. A drawback is that they have limited processing power, so the drone might not recognise an obstacle.

Why: Definition (1); some uses with a little linkage to the drone, flight controller and GPS (1); a benefit linked to the drone staying in the air (1); one drawback linked to obstacle recognition (1). However, the points are brief and mostly asserted, with only some linkages, so Level 2, 3 marks.

No marks0/6

The drone uses embedded systems to connect to Wi-Fi and play videos. They are good because you can install games on them.

Why: No creditworthy point. The answer gives general-purpose computer uses (Wi-Fi and playing videos) that are not linked to the drone's delivery function, and claims that new software or games can be installed, which the mark scheme says not to accept. No drone-relevant use, benefit or drawback is given, so Level 0.

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