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

The control unit (CU) is a component inside the CPU.

Describe the role of the control unit in the fetch-decode-execute cycle.

[2 marks]
Mark scheme

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

  • Decodes each (fetched) instruction (1) to work out which operation is needed / which components should carry it out (1)
  • Coordinates/directs the other components (1) by sending control signals along the control bus (1)
  • Fetches the next instruction (1) by sending its address to main memory along the address bus (1)
  • Sends a read/write control signal to main memory (1) so that the instruction or data is transferred during the fetch/execute stage (1)

Do not accept answers about synchronising the CPU or timing the cycles (that is the role of the clock).

Do not accept answers about carrying out arithmetic or logical operations (that is the ALU).

Do not accept answers about holding data or the results of instructions (that is registers/main memory).

Do not accept generic answers that only say the CU controls the CPU or processes instructions, with no linked development.

Only award one mark for a response that only repeats that the CU sends control signals; the second mark needs a linked outcome such as coordination, a memory read/write, or fetching an instruction.

Do not accept 'during the decode stage' as the development for the decoding point, as it restates the question.

Example answers and how they were marked
Full marks2/2

It decodes the instruction that has been fetched so that it knows which operation the CPU must carry out and which components should do it.

Why: Decoding named with the acceptable wording 'each (fetched) instruction' (1), plus the linked development that this identifies the operation and components (1).

Some marks1/2

It decodes each instruction during the decode stage of the cycle.

Why: Earns (1) for decoding the instruction. 'During the decode stage' restates the question and is not accepted as a development, so the second mark is not earned.

No marks0/2

It carries out the calculations and comparisons when the instruction is executed.

Why: Calculations and comparisons are the ALU's role, which the 'Do not accept' line rules out, so no mark is earned.

2Explain2 marksEmbedded Systems Swap Remove

A fitness tracker is worn on the wrist and uses an embedded system to count the wearer's steps.

Explain one reason why an embedded system is used in a fitness tracker.

[2 marks]
Mark scheme

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

  • The battery lasts longer/needs charging less often (1) because embedded systems have low power consumption/use less power (1)
  • It can be made small/light enough to wear on the wrist (1) because the processor, memory and input/output are combined on a single chip/microcontroller (1)
  • It can carry out the step-counting function reliably (1) because it runs a single/dedicated program and cannot install other software (1)
  • It has a low cost per unit (1) because it uses fewer/less powerful components than a general purpose computer (1)

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

Award one mark for a valid point stated on its own, e.g. 'it is small/light enough to wear on the wrist' (1) or 'its battery lasts longer before it needs charging' (1).

Accept the same linked ideas in either order, e.g. 'it uses less power (1) so the battery lasts longer (1)'.

Do not accept 'it uses less power'/'low power' on its own as a complete explanation; it must be linked to the battery lasting longer/needing charging less often for the second mark.

Do not accept an expansion that simply restates the point, e.g. 'it is small (1) so it fits on the wrist' earns only the point mark; 'fits on the wrist' is not a linked cause and is not enough for the second mark.

Do not accept 'the battery is small' as the linked reason for low power consumption.

Do not accept responses that say other software/apps can be installed on an embedded system (0); embedded systems have a single/dedicated function and cannot install new software.

Example answers and how they were marked
Full marks2/2

The battery lasts longer before it needs charging because an embedded system has low power consumption.

Why: Point (1) and linked reason (1); low power consumption explains why the battery lasts longer.

Some marks1/2

It is small so it fits on the wearer's wrist.

Why: Point 'small' earns (1); 'fits on the wrist' restates the point rather than giving the linked cause (components combined on a single chip), so no second mark.

No marks0/2

It can run other apps as well because it is a tiny computer.

Why: Misconception that embedded systems can install other software; no creditworthy point or linked reason.

3Discuss6 marksFetch Decode Execute Cycle Swap Remove

A college is buying a new set of computers for its computer science laboratory. A technician explains to the students that the CPU in each computer repeatedly carries out the fetch-decode-execute cycle while a program is running.

Discuss the roles of the control unit, arithmetic logic unit (ALU) and registers in the fetch-decode-execute cycle.

Your answer should include:

  • the role of the control unit and the ALU
  • the role of registers
  • how the components work together as the cycle repeats.
[6 marks]
Mark scheme

Indicative content

Control unit and ALU

  • The control unit fetches and decodes each instruction that the new computers are running, so it works out which operation has to be carried out.
  • The control unit sends control signals to the ALU and to main memory over the control bus so that the other components carry out the instruction.
  • The control unit receives the clock signal, so each stage of the cycle begins on a clock tick.
  • The ALU carries out arithmetic operations, such as adding two values, and logical operations, such as comparing two values, during the execute stage.
  • The ALU is the component that performs the calculations that a program running on the new computers needs.
  • The data the ALU works on is held in registers, and the result of the operation is stored in a register such as the accumulator.

Registers

  • Registers are small, very fast memory locations inside the CPU that hold the instructions and data the CPU is working on.
  • The program counter holds the address of the next instruction to be fetched, and it is incremented each time an instruction is fetched.
  • The memory address register (MAR) holds the address of the main memory location that is to be read from or written to during the fetch stage.
  • The memory data register (MDR) holds the instruction or data brought from main memory (RAM) over the data bus before it is decoded.
  • The accumulator holds the result of an operation carried out by the ALU.
  • Because registers are inside the CPU, the CPU can keep working on a value without going back to slower main memory during the cycle.

Working together as the cycle repeats

  • In the fetch stage, the address of the next instruction is copied from the program counter into the memory address register and sent to main memory over the address bus, and the instruction comes back over the data bus into the memory data register.
  • In the decode stage the control unit interprets the instruction and works out which components are needed for it.
  • In the execute stage the control unit signals the ALU or main memory so that the instruction is carried out, and the result is held in a register.
  • The clock sends a regular pulse so that the fetch, decode and execute stages of each instruction happen in step.
  • The program counter is then incremented, so the cycle repeats with the address of the next instruction to be fetched.

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

  • A list of correct but independent roles, with no linkage between the components and no reference to the stages of the cycle, is limited to Level 1; an answer that gives the roles of the components but does not link them to the fetch, decode and execute stages is limited to Level 2; a Level 3 answer must cover the control unit/ALU and registers and link them to the stages of the cycle.
  • Award no credit for 'the control unit is the brain of the CPU', 'the ALU stores data' or 'registers are the same as RAM'; accept the program counter, MAR, MDR and accumulator as examples of registers, accept the clock, address bus, data bus and control bus where they are linked to a stage of the cycle, and accept 'main memory' or 'RAM' as equivalent.
Example answers and how they were marked
Full marks6/6

The control unit controls the other parts of the CPU in each of the college's new computers. In the fetch stage, the address of the next instruction is copied from the program counter into the memory address register and sent to main memory over the address bus. The instruction comes back over the data bus and is held in the memory data register. The control unit then decodes the instruction, working out which operation has to be carried out. In the execute stage it sends control signals to the ALU or to main memory so that the instruction is carried out. The ALU performs arithmetic operations, such as adding two values, and logical operations, such as comparing two values, on data held in registers, and the result is stored in a register such as the accumulator. Registers are small, very fast memory locations inside the CPU, so the CPU holds the instruction and the data it is working on without going back to slower RAM every time. The program counter is then incremented so that it holds the address of the next instruction, and the cycle repeats. The clock sends a regular pulse so that the stages of the cycle happen in step.

Why: Comprehensive understanding of the control unit, ALU and registers, with each component linked to the fetch, decode or execute stage and applied to the college's new computers, and sustained lines of reasoning through the cycle. Level 3 (5–6): all three bullets covered and linked, so 6.

Some marks3/6

The control unit is part of the CPU in the college's new computers. When an instruction is fetched, the control unit decodes it to find out what has to be done, and later it signals the other components to carry out the instruction. The ALU does arithmetic and logical operations, so it is used in the execute stage when a calculation is needed. Registers are fast memory locations inside the CPU that hold the data being worked on. For example, the program counter holds the address of the next instruction, so the CPU knows where to fetch from next.

Why: Adequate understanding: the control unit and ALU are linked to the decode and execute stages and to the college's computers, and the program counter is linked to the fetch stage, so some linkages and lines of reasoning are present. The role of registers is thin and there is no sequence through the whole cycle, so it does not reach Level 3. Level 2: 3 marks.

Some marks1/6

The control unit is the brain of the CPU and makes all of the decisions. The ALU is used to do arithmetic, for example adding numbers together. Registers are like RAM but they are inside the CPU, and they store the data a program needs. The fetch-decode-execute cycle fetches, decodes and then executes an instruction.

Why: One basic, independent point: the ALU carries out arithmetic operations (1). 'The control unit is the brain' and 'registers are like RAM' are the named misconceptions and gain no credit, and restating the three stage names gives no role. Level 1: 1 mark.

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.