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.

2Short recall2 marksStored Program Computers Swap Remove

The central processing unit (CPU) contains an arithmetic logic unit (ALU).

State two types of operation carried out by the ALU.

[2 marks]
Mark scheme

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

  • An arithmetic operation, e.g. addition/subtraction/multiplication/division (1)
  • A logical operation, e.g. comparing two values (is A > B?) / using AND, OR, NOT (1)

Do not accept decoding instructions, fetching instructions or controlling the timing of the CPU, as these are carried out by the control unit.

Example answers and how they were marked
Full marks2/2

It carries out arithmetic operations such as addition and subtraction, and logical operations such as comparing two values to see if one is greater than the other.

Why: Arithmetic operation (1) and logical operation (1).

Some marks1/2

It adds numbers together and works out the result.

Why: Arithmetic operation, addition (1). No logical operation.

No marks0/2

It decodes the instructions that have been fetched from main memory.

Why: Decoding and fetching are the control unit's role; the mark scheme's do-not-accept line covers this.

3Discuss6 marksFetch Decode Execute Cycle Swap Remove

A school is upgrading the desktop computers in its computer science classroom. Each computer has a CPU, main memory and buses. The technician is explaining how the CPU uses these components during the fetch-decode-execute cycle.

Discuss how the CPU uses its components and the buses during the fetch-decode-execute cycle.

Your answer should consider:

  • the role of the CPU and registers
  • the role of the address bus, data bus and control bus
  • the role of the clock.
[6 marks]
Mark scheme

Indicative content

The role of the CPU and registers

  • The control unit decodes the instruction fetched from main memory and controls the other components during the cycle.
  • The ALU carries out arithmetic and logical operations during the execute stage, such as adding two values held in registers.
  • Registers hold the data, addresses and results that the CPU is working on during the cycle.
  • The program counter holds the address of the next instruction to be fetched, so it is incremented after each fetch.
  • The memory address register holds the address of the memory location that is about to be read or written.
  • The memory data register holds the instruction or data that has been fetched from or is being written to main memory.

The role of the address bus, data bus and control bus

  • The address bus carries the address of the memory location that the CPU needs to access from the CPU to main memory.
  • The address bus is one-way, so addresses are only sent from the CPU to main memory.
  • The data bus carries instructions and data between the CPU and main memory, so it is bi-directional.
  • The width of the data bus affects how many bits can be transferred at one time.
  • The control bus carries control signals such as read and write signals, so main memory knows whether the CPU wants to read an instruction or write data.
  • The control bus carries signals from the control unit to coordinate the components during the fetch-decode-execute cycle.

The role of the clock

  • The clock sends regular pulses that synchronise the actions of the CPU and main memory.
  • Each clock pulse triggers the next step of the fetch-decode-execute cycle, so the stages happen in the correct order.
  • The clock provides a regular timing signal so that the fetch-decode-execute cycle repeats at a steady rate.
  • The clock is separate from the control bus; the control bus carries control signals, while the clock provides timing pulses.
  • Do not credit the address bus storing addresses, the data bus storing data, or the control bus controlling the computer without naming a control signal; do not credit clock speed affecting performance as a role in the cycle.
  • Level 3 responses must cover all three bullets and link them to the fetch-decode-execute cycle; Level 2 answers may identify roles but link them only partly to 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)
Example answers and how they were marked
Full marks6/6

The control unit decodes each instruction that is fetched from main memory and then controls the other components to execute it. The program counter holds the address of the next instruction, and this address is copied to the memory address register before it is sent along the address bus. The address bus carries this address from the CPU to main memory, and it is one-way. The data bus then carries the instruction back from main memory to the CPU; it is bi-directional, so it can also carry data to be written. The memory data register holds the instruction that has been fetched. The control bus carries read and write signals from the control unit, so memory knows whether the CPU wants to read an instruction or write data. During the execute stage, the ALU performs arithmetic or logical operations on data held in registers. The clock sends regular pulses that synchronise each stage, so one fetch, decode or execute step happens on each tick and the cycle repeats in the correct order.

Why: Comprehensive understanding of the CPU, registers, all three buses and the clock, with sustained application to the fetch-decode-execute cycle. Level 3.

Some marks4/6

The address bus carries the address of the next instruction from the program counter to main memory so it can be fetched. The data bus carries the instruction back to the CPU, and it is bi-directional. The control unit decodes the instruction. The clock sends pulses to keep the stages in order.

Why: Adequate understanding of some roles with some linkage to the fetch-decode-execute cycle, but the control bus, ALU and most registers are not covered. Level 2.

Some marks1/6

The data bus carries data between the CPU and RAM. The address bus stores the addresses that the CPU needs. The control bus controls the computer. The clock is the speed of the CPU.

Why: One basic, independent point (the data bus carries data) (1). The address bus does not store addresses, the control bus point names no control signal and clock speed is not a role in the cycle, so no further credit. Level 1.

4Discuss6 marksEmbedded Systems Swap Remove

A technology company is developing a new fitness tracker. The tracker is worn on the wrist and monitors the wearer's heart rate, the number of steps taken and their sleep. It has a rechargeable battery and a touch screen.

Discuss the use of embedded systems in the fitness tracker.

Your answer should include:

  • what an embedded system is.
  • the functions embedded systems perform in the tracker.
  • why an embedded system is suitable for this device.
[6 marks]
Mark scheme

Indicative content

What an embedded system is

  • An embedded system is a computer system that forms part of a larger device, such as the fitness tracker.
  • It performs a single, dedicated or specific task rather than being a general purpose computer.
  • It is often built around a microcontroller, which contains the processor, RAM and ROM on a single chip.
  • Its software is held in ROM so the tracker can run its program as soon as it is switched on.

Functions in the tracker

  • Monitoring the heart rate using a sensor and processing the readings so that they can be displayed on the screen.
  • Counting steps using an accelerometer and using the count to calculate the distance walked or the calories burned.
  • Tracking sleep by monitoring the wearer's movement during the night.
  • Controlling the touch screen so that the user can move between displays.
  • Managing the battery, for example stopping the charging when the battery is full and saving power when the tracker is idle.
  • Sending the collected data to a smartphone using Bluetooth so that it can be viewed in an app. Accept any other specific function of the fitness tracker that an embedded system could control.

Why an embedded system is suitable for this device

  • It has low power consumption, so the battery lasts longer between charges, which matters for a device that is worn all day.
  • It is small and light, so it can be fitted into a wristband.
  • Its dedicated function means it does not need a full operating system, so it is reliable and does not need restarting.
  • The program is small and stored in ROM, so the tracker needs only a small amount of memory.
  • It can be optimised for its specific tasks, so it responds quickly to the readings from its sensors.
  • The low cost per unit keeps the tracker affordable for the customer.

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 an embedded system is, the functions it performs in the tracker and why it is suitable for the tracker.
  • Do not award installing new software/apps, functions the tracker does not perform (such as playing music) or 'it is like a phone'.
Example answers and how they were marked
Full marks6/6

An embedded system is a computer system that forms part of a larger device and performs a single, dedicated task. In the tracker it is built around a microcontroller, which has the processor, RAM and ROM on one chip, and its program is stored in ROM so it runs as soon as the tracker is switched on. The embedded system monitors the heart rate using a sensor and processes the readings before showing them on the screen. Another function counts the steps using an accelerometer and uses that count to work out the distance walked and the calories burned, and further functions monitor movement at night to track sleep and send the data to a smartphone by Bluetooth. The embedded system also controls the touch screen and manages the battery so that charging stops when it is full and power is saved when the tracker is idle. An embedded system is suitable because it has low power consumption, so the battery lasts longer between charges, which matters for a device that is worn all day and cannot be charged constantly. It is also small and light, so it fits into a wristband, and because it is dedicated to a few tasks it does not need a full operating system, so it is reliable and can be optimised to respond quickly to its sensors. Keeping the cost low also makes the tracker affordable for the customer.

Why: Comprehensive definition including the microcontroller and ROM (AO1), a range of functions each applied to the tracker (heart rate, steps, sleep, Bluetooth, touch screen, battery), and suitability points developed with reasons (low power for a device worn all day, small size for a wristband, dedicated design for reliability and quick response). Sustained lines of reasoning, all three bullets covered: Level 3 (5-6) clearly met.

Some marks2/6

An embedded system is a small computer inside a device. In a fitness tracker it can monitor your heart rate and count your steps. It is suitable because it is small and does not use much power.

Why: Basic independent points only: a basic definition, two functions and one basic suitability point, with no development and almost no application to the tracker (no explanation of why small size or low power matter). Level 1 (1-2 marks), upper end because there are several independent correct points, but no linkage or reasoning for Level 2.

No marks0/6

An embedded system is a computer that you can install apps on. The fitness tracker uses it to play music and send texts. It is suitable because it is like a phone.

Why: The definition is the opposite of an embedded system (it cannot install new software), the functions are ones the tracker does not perform and 'it is like a phone' is not a suitability point. No rewardable content: Level 0 (0 marks).

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.