Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 604 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 markStored Program Computers Swap Remove

Identify the bus that carries addresses in one direction only, from the CPU to main memory.

[1 mark]
  • AAddress bus
  • BControl bus
  • CData bus
  • DSystem bus
Mark scheme
  • A Address bus (1)
  • The only correct answer is A. The correct answer is address bus. Do not accept 'address' on its own.
  • B is not correct because the control bus carries control signals in both directions between the CPU and other components
  • C is not correct because the data bus carries data in both directions between the CPU and main memory
  • D is not correct because the system bus is the collection of all three buses
Example answers and how they were marked
Full marks1/1

A Address bus

Why: Correct option: the address bus carries addresses in one direction only, from the CPU to main memory (1).

No marks0/1

C Data bus

Why: The data bus carries data in both directions, so it is not the bus that carries addresses in one direction only from the CPU to main memory; no creditworthy point.

No marks0/1

B Control bus

Why: The control bus carries control signals in both directions, not addresses in one direction only; this is the common control/address bus confusion, so no mark.

2Describe2 marksLow and High Level Languages Swap Remove

A programmer has written a program in assembly language.

Describe why it is necessary to translate the program into machine code before it can be run.

[2 marks]
Mark scheme

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

  • The processor/CPU can only execute machine code/binary instructions (1) so the assembly instructions must be converted into machine code before the program can run (1)
  • Each assembly instruction/mnemonic matches/corresponds to one machine code instruction (1) so each line must be replaced with the machine code the processor executes (1)
  • The program is written using mnemonics (1) that must be translated into machine code for the processor to carry out the instructions (1)
  • The hardware/processor does not understand assembly language directly (1) so it must be translated into machine code that the processor can execute (1)

Do not accept 'assembly language is a low-level language'.

Do not accept 'it is hard to understand' or 'it is not English'.

Do not accept benefits, such as 'machine code runs faster' or 'the program will run more quickly'.

Do not accept 'an assembler/a translator converts it' on its own, with no reference to the processor only being able to execute machine code/binary.

Do not accept responses about high-level languages or about compilers/interpreters.

Example answers and how they were marked
Full marks2/2

The processor can only execute machine code, so the assembly instructions must be converted into machine code before the program can run.

Why: States what the processor can execute (1) and links it to converting the program's instructions into machine code (1).

Some marks1/2

Each assembly instruction matches one machine code instruction.

Why: Correct point about the one-to-one match (1) but no development saying that this is because the processor only executes machine code.

No marks0/2

Because an assembler translates assembly language into machine code.

Why: Names the translator but gives no reason tied to the processor only being able to execute machine code, so no mark; this is in the 'Do not accept' guidance.

3Discuss6 marksPeripheral Management Swap Remove

A design studio buys 30 new graphics tablets for its artists. The tablets are a new model that the studio's computers have not used before. The studio's computers already have drivers installed for the older tablets the artists use. Each artist connects a tablet to a computer running the same operating system.

Discuss the role of device drivers when the new graphics tablets are connected to the studio's computers.

Your answer should include:

  • what a device driver is and how the operating system uses it
  • why each peripheral needs its own driver
  • what must be done before an artist can use a new tablet.
[6 marks]
Mark scheme

Indicative content

What a device driver is and how the operating system uses it

  • A device driver is a program that controls a peripheral device such as a graphics tablet by communicating with the operating system.
  • The driver translates instructions from the operating system into signals that the graphics tablet understands, and passes the artist's pen movements back to the operating system.
  • The operating system loads the driver into memory when the tablet is connected, so that it can then send data to the tablet and receive input from it.
  • Without a driver the operating system cannot control the tablet, so the tablet does not work.

Why each peripheral needs its own driver

  • Every make and model of peripheral uses its own set of commands, so a driver is written for that particular device.
  • The drivers already installed for the studio's older tablets do not work with the new model, even though both are graphics tablets.
  • An operating system includes drivers for many common devices, but it does not have one for a brand new model.
  • The correct driver means the pen movements are received by the computer in the form the drawing program expects.

What must be done before an artist can use a new tablet

  • The new tablet is supplied with its driver on a disc or as a download, and it must be installed on each computer.
  • The operating system may need to be updated so that it recognises the new model.
  • The driver must be enabled or selected for the tablet once it is installed.
  • Drivers are updated later to fix faults or to improve performance.
  • If the correct driver is not installed, the tablet does not work or some of its features are not available.

Additional guidance

  • Level 3 responses must explain why a driver is specific to a device and what must be done before an artist can use a new tablet, as well as describing what a driver is, all applied to the studio.
  • Responses that only state what a driver is, or that state a driver must be installed without explaining why the tablet needs its own driver, are limited to Level 1.
  • Accept 'software', 'program' or 'set of instructions' for a driver.
  • Do not accept a device driver described only as a cable or a physical connection.
  • Do not accept the claim that all drivers are already built into the operating system, or that one driver works for every graphics tablet.

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

A device driver is software that lets the operating system communicate with a peripheral such as a graphics tablet. When an artist connects a tablet, the operating system loads the driver into memory so that it can send instructions to the tablet and receive the pen movements back. Each make and model of tablet has its own set of commands, so the drivers already installed for the studio's older tablets will not work with the new model, and the operating system will not have a driver built in for a brand new device. Because the tablets are a new model, the supplier provides a driver on a disc or as a download, and it must be installed on every computer before an artist can use a tablet. The studio may also need to update the operating system so that it recognises the new model, and install updated drivers later if faults are found. If the correct driver is not installed, the operating system cannot control the tablet, so the pen will not work.

Why: Level 3: defines a driver and explains the operating system's role in loading and using it (AO1), explains why the driver is specific to the make and model and applies this to the studio's older tablets (AO1/AO2), and gives the installation, operating system update, later driver updates and the consequence of a missing driver, all applied to the studio in a sustained line of reasoning.

Some marks2/6

A device driver is a program that controls the graphics tablet. The new tablets are a different model, so the computers may not have the right driver. The studio needs to install the driver that comes with the tablet before the artist can use it.

Why: Level 1 upper: a basic definition, a brief unexplained point that the new model may not have the right driver, and the point that the supplied driver must be installed. Nothing explains why a driver is specific to a device (different commands, make and model) or how the operating system uses the driver, so the points stay independent with little linkage and are limited to Level 1 by the guidance.

Some marks1/6

A device driver is a program that makes the tablet work. All drivers are already built into the operating system, so the studio does not need to install anything for the new tablets.

Why: 1 mark: a basic statement that a driver is a program that controls the device. The claim that all drivers are already built in is a misconception named in the do-not-accept guidance, so it gains no credit for what must happen before the new tablets can be used.

4Discuss6 marksLow and High Level Languages Swap Remove

A school computing club is creating a quiz game. The game will be written by students who are new to programming. It will store the names and scores of players in a list. The club wants to choose a language that helps the students finish the game quickly and with few errors.

Discuss the characteristics of a high-level programming language that make it suitable for writing the quiz game.

Your answer should include:

  • how easy the language is to learn, use and debug
  • the data structures it provides for storing the players' names and scores
  • the built-in functions and library routines it provides.
[6 marks]
Mark scheme

Indicative content

Ease of learning, use and debug

  • High-level language statements are written in English-like words and mathematical symbols, so the students can read the quiz game code and understand what each line does.
  • The language is easier to learn than a low-level language, so students who are new to programming can start writing the quiz game quickly.
  • Errors are easier to find and fix because the code is readable; for example, the students can check a line that updates a score against the rule they intended.
  • The students do not need to know how the processor carries out each statement, so they can concentrate on the quiz questions and rules.

Data structures

  • High-level languages provide lists or arrays, so the names and scores of all the players can be stored under one name and processed with a loop.
  • A record can store a player's name and score as one item; in some languages a dictionary or class can be used instead, which keeps related data together.
  • Using a data structure makes the code shorter and easier to understand than separate variables for every player's name and score.

Built-in functions and library routines

  • High-level languages provide built-in functions such as print and input, so the students can display a question and read a player's answer without writing the underlying code.
  • Library routines such as a random number generator can be used to choose quiz questions, saving the students time.
  • String-handling routines can check or compare a player's answer, so the students do not have to write these routines themselves.
  • Reusing tested routines reduces the amount of code the students write and can reduce errors in the quiz game.

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: Credit only points applied to the quiz game and the students; comparison with low-level languages is not required, but a correct contrast may support a point if it is applied. Do not award generic claims such as 'high-level programs run faster', 'work on any computer' or 'students do not need to learn syntax' unless they are justified for the quiz game.

Level 3 responses must cover all three bullet areas with linked reasoning that explains why the characteristic helps the students finish the game quickly with few errors; an answer covering only two bullet areas is limited to Level 2. Do not award the idea that high-level code is already machine code or is understood directly by the processor. Accept dictionaries or classes as equivalents of records.

Example answers and how they were marked
Full marks6/6

A high-level language is suitable for the quiz game because its statements use English-like words and mathematical symbols, so students who are new to programming can read the code and see what each part of the quiz does. This also makes the game easier to debug, because the students can compare a line that updates a player's score with the rule they intended. The language gives the students lists or arrays, so all the players' names and scores can be stored under one name, and a loop can then go through the list to display the results. A record, or a dictionary in Python, can keep one player's name and score together, which is clearer than using separate variables. The language also provides built-in functions and library routines such as input, print and a random number generator, so the students do not have to write these from scratch. They can use input to ask for a player's name and print to show the score, and a random number routine to choose a question. This lets the club spend its time on the quiz questions and rules, so the students can finish the game quickly with fewer errors.

Why: Covers all three bullet areas with linked reasoning: readable English-like statements and debugging, lists/records for names and scores, and built-in input/print/random routines, all applied to helping new students finish quickly with fewer errors. This meets Level 3.

Some marks3/6

High-level languages use English words, so the students can understand the code for the quiz game and find mistakes more easily. They provide lists or arrays, so the players' names and scores can be stored together, and a loop can be used to display the scores. This makes the game easier to write for students who are new to programming.

Why: Level 2, 3 marks: covers ease of learning/use and data structures with some application to the quiz game, but gives no built-in facilities and limited development of why this helps the club finish quickly, so it is not Level 3.

No marks0/6

High-level code is already machine code, so the computer can run the quiz game without a translator. The students do not need to learn any syntax.

Why: Contains the machine-code misconception and a generic claim that the scheme does not credit; no creditworthy point is made, so Level 0.

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.