Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 514 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

8 questions · 17 marks

Pick again
Print
1Multiple choice1 markCompression Swap Remove

Identify the definition of lossy compression.

[1 mark]
  • AData is removed only while the file is being transmitted
  • BData is permanently removed to reduce the file size
  • CData is restored exactly when it is decompressed
  • DData is stored using a dictionary of repeated patterns
Mark scheme
  • B Data is permanently removed to reduce the file size (1)
  • The only correct answer is B. The correct answer is data is permanently removed to reduce the file size.
  • A is not correct because the data removed by a lossy algorithm is not restored after transmission
  • C is not correct because that describes lossless compression, where the original file is rebuilt exactly
  • D is not correct because dictionary encoding is a lossless method that records repeated patterns once
Example answers and how they were marked
Full marks1/1

B Data is permanently removed to reduce the file size

Why: Correct option (1).

No marks0/1

C Data is restored exactly when it is decompressed

Why: Near miss: this describes lossless compression, so no mark.

No marks0/1

A Data is removed only while the file is being transmitted

Why: Misconception that compression only applies during transmission; the data is removed permanently, so no mark.

2Short recall1 markThe Internet Swap Remove

Data packets are sent across the internet.

Name the device that uses IP addresses to forward a data packet from one network to another.

[1 mark]
Mark scheme

Award one mark for:

  • Router (1)

Allow routers (plural).

Allow minor spelling errors that are clearly router, e.g. rooter.

Do not accept switch, hub (these forward data within a network, not between networks), modem or server.

Do not accept gateway on its own.

Example answers and how they were marked
Full marks1/1

Router

Why: Correct device named (1).

No marks0/1

Modem

Why: Modem is not accepted; it is not the device that forwards packets between networks (0).

No marks0/1

Server

Why: A server is not accepted; it does not forward packets between networks (0).

3Convert1 markBinary to Denary Conversion Swap Remove

Computers manipulate binary patterns.

Convert the binary pattern 1010 0100 to denary.

[1 mark]
Mark scheme

Award one mark for:

  • 164 (1)
Example answers and how they were marked
Full marks1/1

164

Why: Correct: 128 + 32 + 4 = 164 (1).

No marks0/1

37

Why: Reads the place values from the wrong end (the left-hand bit as 1), so the value is wrong.

No marks0/1

3

Why: Counts the 1s instead of adding their place values.

4Short recall2 marksCharacter Sets Swap Remove

ASCII is a character set that uses 7 bits to represent each character.

Give two limitations of 7-bit ASCII when it is used to represent text.

[2 marks]
Mark scheme

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

  • (Only) 128 different characters can be represented / 7 bits give 2^7 = 128 different codes (1)
  • It cannot represent characters from languages other than English / non-English alphabets, e.g. Greek, Chinese (1)
  • It cannot represent accented characters, e.g. é, ñ (1)
  • It cannot represent symbols or emoji that are not in the ASCII character set (1)

Award a maximum of one mark for the last three bullets, as they are all examples of characters that fall outside the 128 ASCII codes.

Allow 'it can only represent 128 characters, so some characters are missing' for the first bullet.

Do not accept 'it uses 7 bits' / 'it only uses 7 bits' on its own, without saying what this limits.

Do not accept 'it can only store a limited amount of text' / 'it can only store short messages', as 7 bits limits the number of characters available, not the length of a message.

Do not accept 'it can only represent the characters in the ASCII character set', as this repeats the question.

Do not accept 'it is old/out of date' or 'it cannot store numbers'.

Example answers and how they were marked
Full marks2/2

Only 128 different characters can be represented, so it cannot store characters from other languages such as Greek.

Why: 128 character limit (1) and characters from other languages (1); two separate creditworthy limitations.

Some marks1/2

It cannot show accented characters like é and it only uses 7 bits.

Why: Accented characters (1); 'only uses 7 bits' is not qualified, so scores 0.

No marks0/2

It only uses 7 bits, so it can only store a small amount of text.

Why: Scores 0: text length is not a limitation of 7-bit ASCII, and 'only uses 7 bits' is unqualified; both Do not accept lines apply.

5Short recall2 marksUnits & Conversion Swap Remove

A solid state drive has a capacity of 5 gibibytes.

Give an expression to calculate the number of bits in 5 gibibytes. You do not need to do the calculation.

[2 marks]
Mark scheme

Award one mark for each of:

  • 5 × 1024^3 / 5 × 1024 × 1024 × 1024 / 5 × 2^30, for the number of bytes (1)
  • A fully correct expression with × 8 to convert bytes to bits, in any order, e.g. 5 × 1024^3 × 8, 8 × 5 × 2^30 (1)

Accept 5 × 1 073 741 824 × 8.

Accept 5 × 2^33 or 42 949 672 960 as a fully correct expression (2 marks).

Do not accept 5 × 1000^3 × 8, which uses decimal multiples.

Do not accept ÷ 8, which converts bits to bytes.

Example answers and how they were marked
Full marks2/2

8 × 5 × 2^30

Why: 5 × 2^30 is the number of bytes (1) and × 8 converts bytes to bits (1).

Some marks1/2

5 × 2^30

Why: Correct number of bytes using the binary multiple 2^30 (1), but no conversion to bits.

No marks0/2

5 × 1000^3 × 8

Why: Uses decimal 1000^3 instead of binary 1024^3, so the expression is not fully correct; no creditworthy point.

6Describe2 marksUser Management Swap Remove

A computer can be used by more than one person.

Describe how an operating system uses access rights to protect each user's files.

[2 marks]
Mark scheme

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

  • Each user/file is given permissions/access rights (1) so other users cannot read/write/open/change that user's files (1)
  • A user may be given read-only/read access to a file (1) so they cannot edit/delete/change it (1)
  • Each file is given permissions/access rights for different users (1) so the operating system allows/refuses access depending on which user is logged in (1)
  • The operating system checks a user's permissions/access rights when a file is opened (1) so a user with read-only/read access cannot save/delete changes (1)

Do not accept responses about asking for a password/username, as this checks who the user is, not what they are allowed to do.

Do not accept 'files are protected/safe' or 'access rights protect files' without saying how access is limited (e.g. read-only access, permissions for different users).

Example answers and how they were marked
Full marks2/2

A user can be given read-only access to a file, so they can open it but cannot edit or delete it.

Why: Read-only/read access point (1) and linked development that the user cannot edit/delete the file (1).

Some marks1/2

A user can be given read-only access to a file.

Why: Read-only/read access point (1); no development saying what this prevents, such as being unable to edit/delete the file (0).

No marks0/2

The operating system asks for the password again before the file opens.

Why: Describes asking for a password, which checks who the user is, not access rights to the file; no creditworthy point.

7Describe2 marksLow and High Level Languages Swap Remove

A device driver is software that allows the operating system to control a piece of hardware. Device drivers are often written in a low-level programming language.

Describe one reason why a low-level programming language is suitable for writing a device driver.

[2 marks]
Mark scheme

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

  • Instructions can manipulate/control the hardware/memory/registers directly (1) so the driver can control the specific device it is written for (1)
  • The code is written for one specific processor/architecture (1) so it works with the exact hardware it will control (1)
  • The programmer controls exactly how memory/registers are used (1) so the code is efficient and needs little memory, which suits a device that has limited memory (1)
  • Each instruction maps to one machine code instruction (1) so the driver code is small enough to fit in the memory of the device (1)

Extra detail, such as naming the device the driver controls, is not needed to earn the marks.

Do not accept 'it is closer to machine code' on its own: it must be developed to show how this helps the driver, e.g. it can control the hardware directly.

Do not accept 'it is faster/quicker' with no link to the hardware/device, e.g. the device responds quickly.

Do not accept 'it is easier to learn', 'it is easier to debug' or 'it takes less time to write'.

Example answers and how they were marked
Full marks2/2

Low-level instructions can manipulate the hardware and memory directly (1) so the driver can control the specific device it was written for, such as a sound card (1).

Why: Point about direct control of hardware/memory (1) linked to controlling the specific device (1). The named device is extra detail and is not needed.

Some marks1/2

Low-level instructions can manipulate the hardware directly.

Why: Correct point (1) but no linked development saying how this helps the device driver.

No marks0/2

It is closer to machine code so it runs faster than a high-level language.

Why: 'Closer to machine code' is not developed into how this helps the driver, and 'runs faster' is not linked to the hardware/device, so no mark.

8Discuss6 marksEmbedded Systems Swap Remove

A delivery company is developing a drone to deliver small parcels to customers' homes. The drone has sensors, a camera, a GPS receiver and rotors, and it must fly autonomously and avoid obstacles.

Discuss the use of embedded systems in the delivery drone.

Your answer should include:

  • what embedded systems are used for in the drone
  • the benefits of using embedded systems in the drone
  • any drawbacks or limitations of using embedded systems in the drone
[6 marks]
Mark scheme

Indicative content

What embedded systems are used for in the drone

  • An embedded system is a computer built into a larger device that performs a single, dedicated function as part of that device.
  • The drone contains several embedded systems, and each one is dedicated to a task such as flight control, navigation, obstacle detection or battery monitoring rather than being a general-purpose computer.
  • The flight controller embedded system processes data from the drone's sensors and changes the signals sent to the rotors, so the drone stays stable and can be steered while carrying a parcel.
  • The GPS receiver embedded system works out the drone's position and uses it to navigate along the route to the customer's address.
  • The camera embedded system captures images or video that are processed to detect obstacles, such as trees, buildings or overhead cables, in the drone's path.
  • Sensor embedded systems, for example ultrasonic or infrared sensors, measure the distance to the ground and to obstacles so the drone can land and avoid collisions.
  • The battery management and communication embedded systems monitor the charge and send the drone's status and location to the control centre, and the rotor-control embedded systems drive the rotors so the drone can take off, hover and land.

Benefits of using embedded systems in the drone

  • Embedded systems use little power, so the drone can fly for longer and deliver more parcels on one charge.
  • They are small and light, which is important because a heavier drone needs more power to stay in the air.
  • Because each embedded system is dedicated to one task, it can respond quickly and reliably, so the drone can change direction in time to avoid an obstacle.
  • Combining the processor, memory and input/output in one unit reduces the number of separate components and the cost per drone, so a fleet of delivery drones is cheaper to build.
  • Embedded systems allow the drone to fly autonomously, so the company does not need a human pilot for every delivery.
  • Programs are held in ROM, so the drone's behaviour is consistent and predictable each time it flies.

Any drawbacks or limitations of using embedded systems in the drone

  • Each embedded system has limited processing power, so the drone may not be able to run complex obstacle-recognition software and could fail to identify an unusual obstacle.
  • They have limited storage and RAM, so the drone cannot store much flight data or video on board and must send it to the control centre.
  • The software is held in ROM and is difficult to update, so fixing a bug or adding a new feature may mean returning the drone or connecting it to a computer.
  • The embedded systems are dedicated to the drone, so they cannot easily be reused for a different task if the drone is retired.
  • If an embedded system fails, the drone may crash, which could injure people or damage property, so robustness is essential.
  • A general-purpose computer would be too large and heavy for the drone, so the drone has to use these limited dedicated systems and cannot run general-purpose software.

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 what embedded systems are used for in the drone and both benefits and drawbacks/limitations, with reasoning applied to the delivery drone. Do not accept general-purpose computer uses such as connecting to Wi-Fi to play videos, installing new software, apps or games, or using a server; do not accept the drone itself as a single embedded system unless a specific dedicated function is explained.
  • A definition of an embedded system on its own, with no application to the drone, cannot lift an answer above Level 1; limited storage and inability to be repurposed must be linked to the drone, for example little flight data can be stored or the system cannot be reused for another task, to gain credit.
Example answers and how they were marked
Full marks6/6

An embedded system is a computer built into a larger device that performs a dedicated function. The delivery drone contains several embedded systems. The flight controller is an embedded system that takes data from the drone's sensors and adjusts the speed of each rotor, so the drone stays level and stable while carrying a parcel. The GPS embedded system calculates the drone's position and works out the route to the customer's address. The camera embedded system takes images that are processed to spot obstacles such as trees or overhead cables, and the sensor embedded systems measure the distance to the ground so the drone can land safely. These systems are dedicated to one task each, so they respond quickly, which allows the drone to change direction in time to avoid an obstacle. They are also small and light and use little power, so the drone can fly further on one charge and deliver more parcels. Because each embedded system is built into the drone, the drone can fly autonomously and the company does not need a pilot for every delivery. However, the embedded systems have limited processing power and storage, so the drone may not be able to run complex obstacle-recognition software and might not recognise an unusual obstacle. Their software is held in ROM, so fixing a bug is difficult and the drone may have to be returned or connected to a computer to be updated. If an embedded system fails, the drone could crash, which could injure someone or damage property. Overall, embedded systems make the delivery drone possible because they are small, light and dedicated, but their limitations mean the drone cannot do every task that a general-purpose computer could.

Why: Definition of an embedded system (1); uses with reasons applied to the drone, including the flight controller, GPS, camera and sensors (1); benefits linked to weight, power, responsiveness and autonomous flight (1); drawbacks linked to limited processing/storage, ROM updates and crash risk (1); sustained lines of reasoning connect the uses, benefits and drawbacks to the delivery drone throughout, so Level 3, 6 marks.

Some marks3/6

An embedded system is a small computer inside a device that does one job. The drone uses a flight controller embedded system to keep it balanced and change the rotor speeds, and a GPS embedded system to find the address. The camera embedded system helps it avoid obstacles. Embedded systems are small and light and use little power, which is good for a drone because it has to stay in the air. A drawback is that they have limited processing power, so the drone might not recognise an obstacle.

Why: Definition (1); some uses with a little linkage to the drone, flight controller and GPS (1); a benefit linked to the drone staying in the air (1); one drawback linked to obstacle recognition (1). However, the points are brief and mostly asserted, with only some linkages, so Level 2, 3 marks.

No marks0/6

The drone uses embedded systems to connect to Wi-Fi and play videos. They are good because you can install games on them.

Why: No creditworthy point. The answer gives general-purpose computer uses (Wi-Fi and playing videos) that are not linked to the drone's delivery function, and claims that new software or games can be installed, which the mark scheme says not to accept. No drone-relevant use, benefit or drawback is given, 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.