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

A computer is designed using the von Neumann stored program concept.

Define the term stored program concept.

[2 marks]
Mark scheme

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

  • The program instructions and data are stored together in main memory/RAM (1)
  • The same memory is used for both instructions and data (1)
  • The instructions are fetched from main memory and executed by the CPU (1)
  • The instructions are fetched and executed one at a time / in sequence (1)
  • The program can be changed/replaced by loading new instructions into memory, without changing the hardware (1)

Do not accept the program is stored in secondary storage / on the hard disk.

Do not accept the program is stored in the CPU / in registers.

Example answers and how they were marked
Full marks2/2

The program instructions and the data are stored together in main memory, and the CPU fetches the instructions one at a time and executes them.

Why: Creditworthy point that instructions and data are stored in the same main memory (1) and the linked point that the CPU fetches and executes them from memory (1).

Some marks1/2

The program is held in the main memory (RAM) so that the computer can run it.

Why: Earns the point that the program instructions are stored in main memory (1), but does not say that the CPU fetches and executes them, so the second mark is not earned.

No marks0/2

The program is stored on the hard disk and loaded into the CPU when it is run.

Why: Both parts are misconceptions named in the Do not accept lines: the stored program concept keeps the instructions in main memory, not on secondary storage or in the CPU.

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

4Discuss6 marksEmbedded Systems Swap Remove

A supermarket is replacing its staffed checkouts with self-service checkouts. Each checkout has a touchscreen, a barcode scanner and weighing scales. The supermarket wants the checkouts to be reliable and quick to respond.

Discuss why the supermarket should use embedded systems in its self-service checkouts rather than general-purpose computers.

Your answer should consider:

  • the characteristics of embedded systems
  • what self-service checkouts use embedded systems for
  • how embedded systems compare with general-purpose computers

You do not need to consider the cost of the materials used in the checkout.

[6 marks]
Mark scheme

Indicative content

Characteristics of embedded systems

  • An embedded system performs a single, dedicated task, so each self-service checkout is built only to scan, weigh and price items and cannot be used for any other job.
  • An embedded system has limited processing resources and storage, which is enough for the checkout to scan barcodes, weigh items and display prices.
  • An embedded system normally has a simple operating system held in ROM, so a checkout is less likely to fail while a customer is using it.
  • Embedded systems have low power consumption, so a row of checkouts can be left running all day without using much electricity.
  • Embedded systems are small and low cost per unit, so one can be built into each checkout unit and the supermarket can afford one at every till.
  • An embedded system has a limited user interface, so the checkout only shows its own screens to the customer.
  • The firmware of an embedded system is not normally changed by the customer, although a technician can update it when the supermarket changes the checkout's software.

Uses of embedded systems in the checkout

  • The checkout uses an embedded system to read the barcode scanner, so the correct price for each item is found quickly.
  • The checkout uses an embedded system to read the weighing scales, so the weight of the items can be checked against the product that was scanned.
  • The checkout uses an embedded system to control the touchscreen that shows the customer what to do and how much to pay.
  • The checkout uses an embedded system to respond quickly to each scan, because it only carries out the checkout's own tasks, which keeps the queues moving.
  • The checkout uses an embedded system so that it keeps working for long periods without being restarted, which means customers can use it without a member of staff.

Comparison with general-purpose computers

  • A general-purpose computer can run many different programs, whereas the checkout's embedded system runs one dedicated program, so it cannot be used for other jobs.
  • A general-purpose computer loads a full operating system when it starts and has other software running, so it can slow down or need restarting, whereas the checkout is not slowed down by other programs.
  • A general-purpose computer has far more processing power and memory than the checkout needs, so using one would be more expensive and would take up more space than an embedded system.
  • A general-purpose computer is designed for users to install new software, but the checkout's embedded system runs fixed firmware, so customers cannot change what the checkout does.

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)

Level 3 responses must consider both the characteristics of embedded systems and what the checkout uses them for, and must make a comparison with a general-purpose computer. Answers that only list characteristics or checkout tasks without linking them to the checkout are limited to Level 1.

Do not accept claims that embedded systems are faster than general-purpose computers or that they can run many different programs, as embedded systems have limited processing resources and carry out a single, dedicated task.

Example answers and how they were marked
Full marks6/6

An embedded system performs a single, dedicated task, so each self-service checkout is built only to scan items, weigh them and show prices. This suits the supermarket because the checkout does one job well instead of being used for anything else. The checkout uses its embedded system to read the barcode scanner, so the correct price is found quickly, and to read the weighing scales, so the weight of the items can be checked against the product that was scanned. It also controls the touchscreen that shows the customer what to do.

Embedded systems have limited processing resources and storage, which is more than enough for these tasks. Because they use a simple operating system held in ROM, they are less likely to fail while a customer is using them, so customers do not need a member of staff. They also have low power consumption, so a row of checkouts can run all day without using much electricity, and they are small and low cost per unit, so the supermarket can afford one at every till.

A general-purpose computer, by contrast, runs many programs and loads a full operating system, so it can slow down or need restarting and it is more expensive and bigger than the checkout needs. The embedded system runs fixed firmware, so customers cannot install software on the checkout, which keeps it reliable and quick to respond, and this is why it meets the supermarket's requirements better.

Why: Comprehensive understanding with sustained lines of reasoning: characteristics (single dedicated task, limited resources, simple operating system in ROM, low power, small and low cost) and uses (scanner, scales, touchscreen) are all applied to the checkout, and each is compared with a general-purpose computer. Meets the Level 3 guidance for a 6-mark answer.

Some marks2/6

Embedded systems are small and cheap. The checkout needs to scan items and weigh them. An embedded system can do this. It is reliable. A general-purpose computer could also do it but might crash more.

Why: Basic, independent points with little linkage or application: one characteristic (small and cheap), one use (scanning and weighing) and a brief comparison (a general-purpose computer might crash more). No line of reasoning is developed, so it is Level 1, top of the band, not Level 2.

No marks0/6

Embedded systems are better than normal computers because they are faster and can run lots of different programs. The checkout needs to be fast so it should use an embedded system.

Why: Level 0. Both claims are misconceptions that the mark scheme tells examiners not to accept (embedded systems have limited processing resources and run a single, dedicated program), and the last sentence only repeats the stem's requirement for quick responses, 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.