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
1Describe2 marksStored Program Computers Swap Remove

A computer is based on the von Neumann stored program concept.

Describe how the CPU uses main memory (RAM) during the fetch-decode-execute cycle.

[2 marks]
Mark scheme

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

  • The program's instructions (and the data it uses) are held in main memory/RAM (1) so the CPU fetches both the instructions and the data from that one memory (1)
  • The CPU fetches the next instruction from main memory/RAM (1) using the address of the memory location that holds it (1)
  • The CPU reads/fetches data from main memory/RAM (1) when an instruction needs it and writes the result back to main memory/RAM (1)
  • The program's instructions are held in main memory/RAM while the program runs (1) and the CPU fetches them one at a time/one after another to be decoded and executed (1)

Allow 'memory' for main memory/RAM.

Allow 'gets' for fetches/reads.

For both marks, the development must say what the CPU does with the contents of main memory (fetches/reads/writes), not just that main memory is used.

Do not accept answers about the program being stored in secondary storage, such as on a hard drive, or about it being loaded from there.

Do not accept benefits such as the computer running faster or being easier for the user.

Do not accept naming CPU components (control unit, arithmetic logic unit, registers) or buses on their own, without saying what is stored or fetched.

Do not accept 'the computer stores data' on its own, without a link to the instructions of a program.

Example answers and how they were marked
Full marks2/2

The program's instructions and the data it uses are both held in the same main memory (RAM), so the CPU can fetch the instructions and the data it needs from that one memory.

Why: Linked point (1) that instructions and data are stored together in main memory, with the development (1) that the CPU fetches both from the same memory.

Some marks1/2

The CPU fetches the instructions from main memory so that they are processed more quickly.

Why: The first point earns (1) for the CPU fetching instructions from main memory. The second statement is a benefit (speed), which the 'Do not accept benefits' line rules out, so it earns nothing.

No marks0/2

The control unit decodes each instruction and the ALU carries out the calculations.

Why: Both statements name CPU components without saying what is stored, fetched or written, which the mark scheme tells examiners not to accept, so neither earns a mark.

2Describe2 marksStored Program Computers Swap Remove

The CPU contains an arithmetic logic unit (ALU).

Describe the purpose of the arithmetic logic unit (ALU).

[2 marks]
Mark scheme

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

  • Carries out arithmetic operations/calculations, such as addition or subtraction (1) so that the result can be stored in a register (1)
  • Carries out logical operations, such as comparing two data items (1) to see which one is greater/larger (1)
  • Compares two data items (1) to decide whether a condition is true / which path a program takes next (1)

Allow the result of an arithmetic or logical operation being held/stored in a register, but only where the operation is named.

Do not accept answers that say the ALU stores data or results without naming an operation (registers/main memory store data).

Do not accept answers about controlling components, decoding instructions or timing (that is the control unit or the clock).

Do not award credit for 'it processes data' on its own; an arithmetic or a logical operation must be named.

An example on its own, e.g. 'it adds two numbers', does not earn a second mark; the second mark needs a linked development.

Example answers and how they were marked
Full marks2/2

The ALU carries out arithmetic operations such as addition and subtraction, and the result of the calculation is stored in a register.

Why: Linked point (1) for arithmetic operations with an example, and development (1) for the result being stored in a register.

Some marks1/2

It does all the calculations in the CPU, for example adding two numbers together.

Why: Point (1) for arithmetic operations/calculations named with an example; no linked development, so the second mark is not earned.

No marks0/2

It stores the results of calculations so that they can be used by the CPU later.

Why: Storing results with no arithmetic or logical operation named, which the 'Do not accept' line rules out, so no mark is earned.

3Discuss6 marksSecondary Memory Swap Remove

A video editing company edits and stores large video files. The company is buying new computers and is choosing between computers with magnetic hard disk drives (HDDs) and computers with solid state drives (SSDs).

Discuss the use of magnetic and solid state storage for the company's video files.

Your answer should consider:

  • how data is stored on magnetic storage
  • how data is stored on solid state storage
  • the suitability of each type of storage for the company.

You do not need to consider optical storage.

[6 marks]
Mark scheme

Indicative content

Magnetic storage

  • A magnetic hard disk drive stores data on a magnetic platter that spins, with a read/write head on an actuator arm that moves over its surface.
  • The read/write head magnetises small areas of the platter to represent binary 1s and 0s, and reads the magnetic pattern back when the data is needed.
  • The data is held on concentric tracks that are divided into sectors. (Accept data being stored magnetically without further detail, but a vague 'it uses a magnet' is not enough for this point.)
  • The platter and the read/write head are sealed inside the drive unit because of the precision needed.

Solid state storage

  • A solid state drive stores data in flash memory chips and has no moving parts.
  • A large electric current forces electrons through a barrier and traps them in a floating gate; the presence or absence of this trapped charge represents a 1 or a 0. (Accept either convention for which charge state represents a 1 and which represents a 0.)
  • The charged cells are detected to read the data back. (Accept: the data can be erased and rewritten by applying a new current.)
  • As there is no disk to spin to the correct position and no arm to move, data can be read from and written to solid state storage very quickly.

Suitability for the company's video files

  • A magnetic HDD has a very large capacity and is generally cheaper per gigabyte than an SSD of the same capacity, which suits a company that stores many large video files.
  • An SSD has very fast read/write speeds, so the company's large video files open and save quickly while they are being edited.
  • An SSD has no moving parts, so it is more durable if the company's computers are carried between filming locations.
  • A magnetic HDD could store finished videos as an archive and an SSD could hold the project being edited, so the company gets high speed while editing and low-cost capacity for storage.

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 answers must give accurate accounts of how data is stored on both magnetic and solid state storage and sustain a line of reasoning that applies at least one of them to the company's video files. An answer that covers only one storage type, or that describes both types without any application to the company, cannot go above Level 2.
  • Do not accept descriptions of optical storage (pits and lands, a laser) as magnetic or solid state storage, and do not accept 'magnetic storage uses a laser' or 'solid state storage is volatile' or 'solid state storage is RAM'.
Example answers and how they were marked
Full marks6/6

Magnetic storage stores data on a magnetic platter that spins. A read/write head moves over the surface and magnetises small areas of the platter to represent 1s and 0s, and reads the magnetic pattern back. The data is held on concentric tracks divided into sectors. Solid state storage has no moving parts; it stores data in flash memory chips by forcing electrons through a barrier with an electric current and trapping them in a floating gate. Trapped charge and no trapped charge represent 1 and 0, and the cells are detected to read the data back. For the company, a magnetic HDD is suitable for storing many large video files because it is cheap per gigabyte and has a very large capacity. An SSD is suitable for editing because it has very fast read/write speeds, so large video files open and save quickly, and it is durable if laptops are taken on location. Using an SSD for the project being edited and an HDD to archive finished videos would be best.

Why: Accurate account of magnetic storage with the read/write head over a spinning platter, magnetised areas as 1s and 0s, and tracks divided into sectors (AO1); accurate account of solid state storage with flash memory, electrons trapped in a floating gate and charge detected to read back (AO1); sustained application to the company with HDD cost/capacity for the video files, SSD speed for editing and durability on location, and a justified combination. Level 3.

Some marks2/6

Magnetic storage uses a magnet to store data on a disk. Solid state storage uses electricity and has no moving parts. Magnetic storage is good for storing lots of data cheaply, so the company could use it for video files. Solid state is fast but expensive.

Why: Basic, independent points: data is stored on a disk using magnetism (1) and solid state storage has no moving parts (1), with one contextual link to the company's video files (storing lots of data cheaply). There is no read/write head, platter, track or sector detail, no flash memory or trapped charge, and the speed of an SSD is not linked to opening and saving large video files, so there is little linkage and no sustained reasoning. Level 1, upper end (2).

No marks0/6

Magnetic storage uses a laser to burn pits and lands. Solid state storage uses a magnet to store data. The company should use magnetic storage because it is more durable and faster than solid state.

Why: No creditworthy points. It describes optical storage (a laser, pits and lands) as magnetic storage and describes solid state storage as magnetic, which the mark scheme's do-not-accept line rejects, and the claim that magnetic storage is more durable and faster than solid state is incorrect. 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.