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 marksPrimary Memory Swap Remove

RAM is used to store data while a computer is running.

Explain one reason why the data in RAM is lost when a computer is switched off.

[2 marks]
Mark scheme

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

  • RAM is volatile (memory) (1) because it needs a constant/continuous power supply to hold/store the data it contains (1)
  • Data is held in RAM as electrical states/charges (1) so when the power supply is removed these states cannot be kept/refreshed and the data is lost (1)
  • RAM is used as short-term storage for the data and instructions currently in use (1) because it can only hold them while the computer has power (1)

For both marks, the expansion must follow/associate with the statement and must link the loss of the data to the power supply being removed.

Accept 'RAM is volatile' on its own for the first mark; the second mark is only awarded for a linked reason about the power supply.

Do not accept 'RAM is temporary/short-term memory' or 'RAM is cleared when the computer is switched off' on its own for both marks, as neither gives a reason.

Do not accept answers that say the data is deleted/cleared/erased by the computer or the operating system, or that the data is saved/moved to secondary storage, without saying why the data cannot be kept (e.g. because RAM needs power/is volatile).

Example answers and how they were marked
Full marks2/2

RAM is volatile memory, which means it needs a constant power supply to keep the data it is holding. When the power is switched off, the data is lost.

Why: Linked point (1) for 'RAM is volatile memory' and reason (1) for needing a constant power supply to hold the data.

Some marks1/2

The data in RAM is lost because RAM is volatile memory.

Why: Point (1) for 'RAM is volatile' but no linked reason about the power supply, and the mark scheme states that 'RAM is volatile' alone earns only the first mark.

No marks0/2

The data is deleted from RAM by the operating system when the computer is shut down so that the memory is free for next time.

Why: No creditworthy point: the answer says the data is deleted without saying why it cannot be kept, which the mark scheme's 'Do not accept' line rules out.

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