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

3 questions · 14 marks

Pick again
Print
1Explain2 marksPrimary Memory Swap Remove

A computer follows the von Neumann stored program concept. A program's instructions are stored on secondary storage before the program is run.

Explain one reason why the instructions of a program must be held in RAM before they can be executed.

[2 marks]
Mark scheme

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

  • The CPU can only fetch/read instructions from main memory/RAM (1) so the instructions of a running program must be copied/loaded into RAM before they can be executed (1)
  • RAM is faster to access than secondary storage (1) so the instructions can be fetched quickly enough for the CPU to execute them (1)
  • The CPU needs the instructions in RAM to fetch and execute them (1) because the fetch-decode-execute cycle reads each instruction from main memory/RAM (1)
  • The address of the next instruction is sent to RAM on the address bus (1) so the instruction can be transferred to the CPU/registers for decoding/execution (1)

For both marks, the expansion must follow/associate with the statement.

Allow the point and reason in either order if they are linked.

Do not accept answers that only say the CPU needs instructions, or that RAM is faster, without linking this to fetching/executing the instructions.

Do not accept answers that only say RAM holds data and instructions without linking this to the fetch-decode-execute cycle.

Do not accept 'RAM is permanent/non-volatile storage, so the instructions are kept safe' - RAM is volatile.

The response does not need to name the address bus or the fetch stage for full marks; a linked reason that explains why instructions must be in RAM (for example, the CPU can only fetch from RAM, or RAM is faster than secondary storage) is enough.

Example answers and how they were marked
Full marks2/2

The CPU can only fetch instructions from main memory, so the instructions of a running program must be copied into RAM before they can be executed.

Why: Linked point (1) for the CPU only being able to fetch instructions from main memory/RAM, and reason (1) for instructions being copied into RAM before execution.

Some marks1/2

The CPU can only fetch instructions from main memory.

Why: Point (1) only; there is no linked reason that explains why this means the instructions must be held in RAM before execution, such as RAM being faster than secondary storage.

No marks0/2

Instructions are kept in RAM because RAM is permanent storage and does not lose the instructions when the power is turned off.

Why: Misconception: RAM is described as permanent/non-volatile, which the mark scheme's 'Do not accept' line rules out; no creditworthy linked point.

2Discuss6 marksPrimary Memory Swap Remove

A video production company edits films for its clients. The editors use computers to work on 4K video, and they say the computers have become slow. One editor wants to replace the CPU, but a colleague thinks adding more RAM would be better.

Discuss whether adding more RAM will improve the performance of the computers used to edit 4K video. (6)

Your answer should include:

  • how RAM is used when editing video
  • why too little RAM causes poor performance
  • why adding more RAM may not always improve performance.
[6 marks]
Mark scheme

Indicative content

How RAM is used when editing video

  • The editing software and the video project being worked on are loaded into RAM so that the CPU can access them quickly.
  • RAM holds the frames, effects and timeline data that the CPU is processing as part of the fetch-decode-execute cycle.
  • The CPU fetches the instructions and the video data it needs from RAM, which is much faster than fetching them from secondary storage.
  • Having more RAM means that more of the 4K video project and its effects can be held in memory at the same time.
  • RAM is also used by the operating system and any other open software, so not all of the RAM is available to the editing software.

Why too little RAM causes poor performance

  • If there is not enough RAM, the operating system uses virtual memory on secondary storage for data that will not fit in RAM.
  • Virtual memory is much slower than RAM, so the editor waits longer for 4K video to load and for effects to be applied.
  • Data has to be swapped between RAM and virtual memory, which is extra work that slows the computer down.
  • The editing software may freeze or close if it runs out of memory while working on the 4K video.
  • Playback of the 4K video is not smooth because the frames cannot all be held in RAM ready for the CPU.

Why adding more RAM may not always improve performance

  • If the computer already has enough RAM for the editing software, the extra RAM will not be used and performance will hardly change.
  • The clock speed and the number of cores of the CPU decide how quickly instructions are processed, so a slow CPU will still limit how quickly the video is edited.
  • A slow secondary storage drive will still limit how quickly the 4K video files can be loaded into RAM.
  • Adding RAM only improves performance if a shortage of RAM was the reason for the computer being slow.

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 explain how RAM is used when editing video and give a developed reason why adding more RAM may not always improve performance; responses that only explain how RAM is used, or only why too little RAM causes poor performance, are limited to Level 2.
  • Accept 'paging' or 'swap file' as equivalent to virtual memory, but do not accept 'cache' or 'ROM'; do not credit statements that adding RAM increases the CPU clock speed or makes the CPU faster, or that 'RAM is volatile' explains poor performance, as these are not linked to the question asked.
Example answers and how they were marked
Full marks6/6

RAM holds the editing software and the 4K video project that is being worked on, so the CPU can fetch the frames and the effects it needs much faster than from the hard drive. If there is not enough RAM, the operating system has to use virtual memory on secondary storage instead, and this is much slower than RAM, so the editors have to wait for video to load and the playback is not smooth. Adding more RAM can help because more of the 4K project and its effects can be held in memory at once. However, it will not always improve performance. If the computer already has enough RAM the extra memory will not be used, and if the CPU has a low clock speed or too few cores it will still take longer to process each frame. A slow hard drive will also limit how quickly the 4K files can be loaded into RAM, so adding RAM only solves the problem if the computer was short of memory.

Why: Level 3: explains how RAM is used when editing video and applies it to the frames and effects (AO1/AO2), gives a developed reason for poor performance using virtual memory and its slowness, and gives developed reasons why extra RAM may not help, namely a CPU bottleneck (clock speed and cores) and a slow drive, applied to the company's 4K editing.

Some marks2/6

RAM is used to store the video while it is being edited. If you don't have enough RAM, the computer will be slow because it has to use the hard drive instead. Adding more RAM will make the computer faster because it can store more video. The CPU also matters because it does the processing.

Why: Level 1, top end (2 marks). A basic relevant use of RAM, storing the video being edited, and a basic point that the hard drive is used when RAM is short; the extra RAM point is asserted with no reasoning and the single CPU statement is not linked to why adding RAM may not help, so there is little development and the answer does not reach Level 2.

No marks0/6

RAM is the same as the CPU, so adding more RAM makes the CPU faster. The video editor should add more RAM to increase the clock speed. 4K video is slow because RAM is volatile.

Why: No creditworthy content: treating RAM as the CPU and saying adding RAM increases the clock speed are the misconceptions named in the guidance, and 'RAM is volatile' is not linked to performance, so it earns nothing.

3Discuss6 marksStored Program Computers Swap Remove

A college is replacing the computers in its IT suite. The technician tells the students that the new computers use the von Neumann stored program concept.

Discuss the von Neumann stored program concept and the role of the CPU and main memory (RAM) in the fetch-decode-execute cycle.

Your answer should consider:

  • the role of main memory (RAM)
  • the role of the CPU components (control unit, arithmetic logic unit, registers and clock)
  • the role of the address, data and control buses.

You do not need to consider how clock speed affects performance.

[6 marks]
Mark scheme

Indicative content

Stored program concept

  • The stored program concept means that the program instructions and the data the program is using are both held in the same main memory (RAM).
  • The CPU fetches an instruction from main memory, the control unit decodes it and the instruction is executed, and this is repeated in the fetch-decode-execute cycle.
  • The program is stored as a set of binary instructions, so a different program can be run on the college's new computers by loading different instructions into RAM rather than by changing any hardware.
  • Instructions are usually carried out one at a time, in the order in which they are stored, which is suitable for the computers in the IT suite that each run one piece of software at a time.

Main memory (RAM)

  • Main memory (RAM) holds the instructions and the data that the CPU is currently using.
  • RAM is directly accessible by the CPU, so the required instruction or item of data can be fetched quickly during the fetch stage of the cycle.
  • RAM can be read from and written to while a program is running, so the results produced by the students' work can be stored back into memory.
  • RAM is volatile, so its contents are lost when the power is turned off, and the college's computers will have empty RAM each time they are started.

CPU components

  • The control unit decodes each instruction and coordinates the timing and control of the other parts of the CPU, so it directs the fetch-decode-execute cycle.
  • The arithmetic logic unit (ALU) carries out arithmetic operations and logical comparisons on the data, for example working out a student's total mark in a spreadsheet.
  • Registers are small, fast storage locations inside the CPU that hold the address of the next instruction, the instruction being decoded and the data being worked on.
  • The clock sends a regular signal that synchronises the actions of the CPU, so each step of the cycle is carried out in time with the clock.

Buses

  • The address bus is one way, from the CPU to main memory, and carries the address of the memory location that the CPU wants to read from or write to.
  • The data bus carries the instruction or the data between the CPU and main memory, so it is used to bring an instruction to the CPU in the fetch stage.
  • The control bus carries control signals such as read and write, so the CPU can tell main memory whether it is reading an instruction or writing data.

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 the role of main memory (RAM) and the role of the CPU components or the buses during the fetch-decode-execute cycle, as well as the stored program concept.
  • Do not accept RAM described as being inside the CPU, or as non-volatile, or any point about how clock speed affects performance, because the question excludes it.
Example answers and how they were marked
Full marks6/6

The von Neumann stored program concept means that the program instructions and the data the program is using are both held in the same main memory (RAM). This means each of the college's new computers can run any piece of software simply by loading a different set of instructions into its RAM, with no change to the hardware. The CPU fetches an instruction from RAM, the control unit decodes it and the instruction is executed, and this repeats in the fetch-decode-execute cycle. RAM holds the instructions and data that the CPU is currently using and is directly accessible by the CPU, so they can be fetched quickly, but it is volatile, so the contents are lost when a computer is switched off at the end of the day. During the fetch stage, the address bus carries the address of the instruction in RAM, the data bus carries the instruction back to the CPU, and the control bus carries the control signals, such as read, that tell main memory what to do. Registers inside the CPU hold the address of the next instruction and the data being worked on, the clock sends a regular signal so that every step of the cycle happens in time, and the ALU carries out the arithmetic and logical operations needed by the students' work in the IT suite.

Why: Level 3: accurate stored program concept linked to loading software on the college's computers, the role of RAM including volatility, and the roles of the address, data and control buses, registers, clock and ALU, all applied to the situation.

Some marks3/6

The stored program concept means that the program instructions and the data the program is using are stored together in the same memory. The CPU fetches an instruction from main memory, decodes it and then executes it. Main memory (RAM) holds the instructions and data that the CPU is using and it can be read from and written to, so the CPU can get at them quickly. RAM is volatile, so its contents are lost when the computer is switched off.

Why: Level 2: an adequate account of the stored program concept and the role of RAM, with one line of reasoning (fetch, decode, execute) and the volatility point, but no coverage of the CPU components or the buses and no application to the college's computers, so it stays at the lower end of Level 2.

Some marks1/6

In von Neumann architecture the CPU fetches and decodes instructions one at a time. RAM is the memory inside the CPU that stores the program so that it is not lost when the computer is switched off. The clock speed makes the CPU faster so the fetch-decode-execute cycle runs more quickly.

Why: Level 1: one basic point about the CPU fetching and decoding instructions from memory; RAM is wrongly placed inside the CPU and described as non-volatile and the clock speed point is excluded by the question, so neither is credited.

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.