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

10 questions · 23 marks

Pick again
Print
1Short recall1 markProtocols & Layers Swap Remove

TCP is a protocol in the transport layer of the TCP/IP model.

State one role of TCP when data is transmitted over a network.

[1 mark]
Mark scheme

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

  • Breaks messages/data into packets (1)
  • Reassembles packets (at the destination) (1)
  • Detects errors (1)
  • Resends lost/missing packets/requests retransmission of lost packets (1)
  • Creates/establishes a connection between two computers/hosts/sets up a connection before data is sent (1)

Do not accept routing packets or using IP addresses, which is the role of IP.

Do not accept encrypting data or providing security.

Do not accept vague answers such as 'transmits data' or 'sends data' without saying how TCP does this.

Example answers and how they were marked
Full marks1/1

It splits data into packets.

Why: States that TCP breaks data into packets.

No marks0/1

It routes packets between IP addresses.

Why: Near-miss: routing packets is the role of IP, not TCP.

No marks0/1

It encrypts data so it is secure.

Why: Encryption is not a role of TCP, so no creditworthy point.

2Short recall2 marksManufacturing Technology Swap Remove

Digital devices are made from many materials.

State two environmental issues caused by manufacturing digital devices.

[2 marks]
Mark scheme

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

  • Use of fossil fuels/non-renewable energy to power factories (1)
  • Release of CO2/greenhouse gases (1)
  • Mining/extraction of raw materials damages land/causes erosion (1)
  • Use of large amounts of water (1)
  • Pollution of water/land from waste produced during manufacturing (1)
  • Transport of materials/parts causes emissions (1)

A single statement that names both a cause and its environmental effect can earn both marks, e.g. burning fossil fuels releases CO2.

Do not award both marks for two statements that describe the same issue in different words.

Do not accept disposal of devices at the end of their life/e-waste from discarded devices.

Do not accept 'energy consumption'/'uses electricity'/'uses energy' without a source or cause, such as fossil fuels or factories.

Do not accept vague references to 'rubbish'/'waste' without saying that it pollutes water/land.

Example answers and how they were marked
Full marks2/2

Manufacturing uses fossil fuels, which releases CO2.

Why: Fossil fuels (1) and release of CO2 (1), as a single cause-and-effect statement naming both.

Some marks1/2

It uses water and creates a lot of rubbish.

Why: Use of large amounts of water (1). 'Rubbish' is a vague waste reference that does not say it pollutes water/land, so is not credited.

No marks0/2

It uses electricity when you leave it on and it is hard to recycle.

Why: Energy in use and recycling are not environmental issues of manufacture, so no marks.

3Describe2 marksLow and High Level Languages Swap Remove

A programmer writes a program in a high-level language.

Describe why the program can be run on computers with different processors.

[2 marks]
Mark scheme

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

  • The same source code can be run on different types/makes of processor (1) with few or no changes being made to the program (1)
  • A compiler/interpreter is available for each type of processor (1) to translate the source code into the machine code for that processor (1)
  • The statements are not tied to one processor's instruction set (1) so the program is portable between different computers (1)

Do not accept 'it is translated by a compiler' on its own.

Do not accept 'the program does not need to be translated' or 'it is easier to use'.

Example answers and how they were marked
Full marks2/2

A compiler exists for each type of processor to translate the source code into the machine code for that processor.

Why: Names the translator for each processor (1) and links it to producing that processor's machine code (1).

Some marks1/2

The same program can be run on different computers.

Why: States that the same code runs on different machines (1) but does not develop it by saying that few or no changes are needed.

No marks0/2

Because it is translated by a compiler.

Why: A compiler on its own does not explain machine independence; the answer does not say that a translator exists for each type of processor.

4Describe2 marksSoftware Licences Swap Remove

Software can be licensed as open-source or proprietary.

Describe the purpose of a software licence.

[2 marks]
Mark scheme

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

  • A licence/license is a legal agreement between the developer/owner and the user/end user/customer (1) that sets out what the user is/is not allowed to do with the software (1)
  • It states how many devices/users may install or run the software (1) so the software is not installed/used on more devices/users than the developer allows (1)
  • It protects the developer's intellectual property/copyright (1) by stopping the software being copied/used/redistributed without permission (1)
  • It sets out the terms/conditions of use (1) that the user must agree to before using the software (1)

Allow a single unlinked point, such as 'it sets out what the user is allowed to do with the software', for one mark.

Do not accept 'it is a contract/a legal document' with no purpose given.

Do not accept descriptions of product keys, activation or how to install the software.

Do not accept answers that only describe copyright, patents or trademarks with no reference to a licence.

Example answers and how they were marked
Full marks2/2

It is a legal agreement between the developer and the user that says what the user is allowed to do with the software.

Why: Point that it is a legal agreement between the developer and the user (1) linked to it setting out what the user is allowed to do with the software (1).

Some marks1/2

It sets out what the user is allowed to do with the software.

Why: Gives the purpose of setting out what the user may do, but not the point it develops (that it is a legal agreement between the developer and the user), so it is credited as a single unlinked point (1).

No marks0/2

It is a file that you have to type a product key into.

Why: Describes activating the software, not the purpose of a licence; the scheme's 'Do not accept' line rules out product keys and activation, so no mark is awarded.

5Explain2 marksSound Swap Remove

Analogue sound is converted to binary by sampling at regular intervals.

Explain one reason why increasing the sample rate improves the quality of a digitised sound.

[2 marks]
Mark scheme

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

  • More samples are taken every second / the sample rate is higher (1) so the digital wave follows the shape of the analogue wave more closely (1)
  • The amplitude is measured more often / at shorter intervals (1) so fewer changes in the sound are missed between measurements (1)
  • The sample interval is shorter (1) so less of the sound wave is lost/goes unrecorded between samples (1)
  • More data points are recorded for the same length of sound (1) so the digital representation is a closer copy of the original sound (1)

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

Do not accept 'the quality is better/higher' or 'the sound is clearer' as a point on its own without a reason such as more samples or more detail.

Do not accept 'the samples are more accurate' or 'more data is collected' without saying what becomes more accurate or what the extra data records.

Do not accept 'the file size is larger' as a reason for improved quality.

Do not accept answers about using more bits per sample, as these describe bit depth, not the sample rate.

Example answers and how they were marked
Full marks2/2

More samples are taken every second, so the digital representation follows the shape of the analogue wave more closely.

Why: Point (more samples each second) (1) with linked reason (follows the analogue wave more closely) (1).

Some marks1/2

More samples are taken every second.

Why: Creditworthy point (1) but no linked reason about what the extra samples achieve, so stays on one mark.

No marks0/2

Each sample is stored using more bits, so every measurement is more accurate.

Why: This describes bit depth, not the sample rate, so neither mark is awarded.

6Explain2 marksSoftware Basics Swap Remove

An operating system manages the files stored on a computer.

Explain one purpose of file management in an operating system.

[2 marks]
Mark scheme

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

  • Files can be organised into folders/directories (1) so users can find/store files easily (1)
  • Files can be located/opened/saved (1) because the operating system keeps track of where each file is stored (1)
  • Access permissions can be set on files (1) so only allowed users can read/modify them (1)
  • Files can be copied/moved/deleted (1) because the operating system controls where data is written/removed on a storage device (1)
  • Free disk space can be monitored/managed (1) so storage does not run out / files are stored efficiently (1)

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

Do not accept 'manages files' or 'organises files' on its own as it repeats the question.

Allow 'makes it easier to find files' as the linked reason for organising files into folders.

Example answers and how they were marked
Full marks2/2

File management lets the operating system organise files into folders so that users can find the files they need more easily.

Why: Point (1) for organising files into folders and linked reason (1) for making files easier to find.

Some marks1/2

It organises files into folders.

Why: Point (1) for organising files into folders; no linked reason.

No marks0/2

It manages the files on the computer so the files are managed properly.

Why: Repeats the question; no purpose or linked reason credited.

7Explain2 marksPreventing Network Security Risks Swap Remove

A company encrypts customer data before sending it over a public network such as the Internet.

Explain one reason why encryption helps keep customer data secure.

[2 marks]
Mark scheme

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

  • If the data is intercepted, it cannot be read/understood (1) because it is scrambled and the attacker does not have the key (1)
  • Only the intended receiver can decrypt the data (1) because they have the secret/shared decryption key (1)
  • Data cannot be read if it is stolen/lost (1) because it can only be decrypted with the key (1)

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

A point on its own earns one mark; the second mark is only awarded for a reason linked to that point.

Do not accept 'because it is encrypted' as the reason, as this repeats the point.

Do not accept 'it stops the data being intercepted' because encryption does not prevent interception.

Do not accept 'it stops hackers' on its own without saying why the data cannot be read or used.

Do not accept vague answers such as 'it is more secure' or 'it keeps data safe' without saying how the data is protected, e.g. that it cannot be read without the key.

Example answers and how they were marked
Full marks2/2

If the data is intercepted, it cannot be read because it is scrambled and the attacker does not have the key.

Why: Linked point (1) and reason (1).

Some marks1/2

If the data is intercepted, it cannot be read.

Why: Point only (1); no linked reason is given, and 'because it is encrypted' would not be accepted as one.

No marks0/2

It stops hackers intercepting the data.

Why: No credit: encryption does not stop interception; it makes intercepted data unreadable.

8Explain2 marksSocial Engineering Swap Remove

Shoulder surfing is a social engineering method.

Explain how shoulder surfing can be used to carry out a cyberattack.

[2 marks]
Mark scheme

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

  • (The attacker) watches/observes the user (1) as they type in their password/PIN (1)
  • (The attacker) uses a camera/CCTV to record/film the user (1) as they type in their password/PIN (1)
  • (The attacker) looks at the user's screen (1) and sees their password/account details (1)
  • (The attacker) obtains the user's password/PIN by watching/observing them (1) so they can log in to the user's account (1)
  • (The attacker) stands close to the user in a public place (1) so they can watch them type in their password/PIN (1)

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

The first mark is for the attacker watching/recording the user, or looking at their screen. The second mark is for naming what is obtained (a password/PIN or other information that is typed/displayed) or for how it is then used, e.g. to log in to the user's account.

Allow the first mark for watching/recording the user, or looking at their screen, even when the answer does not state what is typed or displayed.

Allow the second mark where the answer says what information is seen; the answer does not have to go on to describe the attack itself, e.g. logging in to an account.

Do not accept 'shoulder surfing' or 'looking over someone's shoulder' on its own, with no password/PIN or other information seen, as this repeats the question.

Do not accept 'the attacker steals/gets the password' without saying that it was obtained by watching/observing the user.

Do not accept other social engineering methods, such as phishing or baiting, that do not involve observing the user.

Example answers and how they were marked
Full marks2/2

The attacker stands behind the user in a cafe and watches them type their PIN, then uses the PIN to log in to their online banking.

Why: Linked point (1) that the user is watched as they type and reason (1) that the PIN is then used to access the account.

Some marks1/2

The attacker watches the user while they type on the keyboard.

Why: Point (1) for watching the user, but the answer does not say what information is obtained (a password/PIN) or how it is used, so the linked mark is not earned.

No marks0/2

Shoulder surfing means the attacker can get the user's password.

Why: Repeats the question and says a password is obtained without saying how it was observed, which the mark scheme says earns nothing.

9Calculate2 marksBinary Shifts Swap Remove

Computer systems manipulate bit patterns.

Complete the table with the result of applying the shift to the binary pattern.

[2 marks]
Binary patternShift8-bit binary result
0011 0100Logical shift left by 3
Mark scheme

Award one mark for each correct nibble in the correct order:

  • 1010 (1)
  • 0000 (1)

0 marks if the response is not 8-bit binary.

Example answers and how they were marked
Full marks2/2

1010 0000

Why: Every bit moves 3 places left, with 0s in from the right: both nibbles are correct (2).

Some marks1/2

1101 0000

Why: Shifts 2 places instead of 3. The second nibble is correct (1); the first is not.

No marks0/2

0000 0110

Why: Shifts the bits the wrong way. Neither nibble is correct.

10Discuss6 marksCompression Swap Remove

A software company stores the source code of its programs and large text documents on its file server. The company decides to use lossless compression on these files.

Discuss the use of lossless compression for the company's files.

Your answer should include:

  • why lossless compression is suitable for these files
  • how lossless compression makes a file smaller
  • the benefits to the company
[6 marks]
Mark scheme

Indicative content

Why lossless compression is suitable

  • No data is removed, so the original file can be restored exactly when it is decompressed.
  • Source code must be reproduced exactly, because a single missing or changed character would stop the program working when it is run.
  • A text document must keep every character, so that the meaning of the document is not changed.

How lossless compression makes a file smaller

  • Run length encoding stores a repeated value once, together with a count of how many times it appears, so long runs of the same character are held in less space.
  • Dictionary encoding finds patterns or words that are repeated in the text, stores each one once in a dictionary and replaces every occurrence with a short code.
  • The more repetition there is in a file, the greater the reduction in size that can be achieved.

Benefits to the company

  • The compressed files take up less space on the file server, so more programs and documents can be stored.
  • There is less data to transfer, so backing the files up to another location finishes sooner.
  • The company does not need to keep a separate uncompressed copy as well, because the compressed file can be restored exactly, which saves more storage space.
  • The files must be decompressed before they are used, which takes time each time a file is opened.

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 cover both why lossless compression is suitable and how it makes a file smaller.

Do not accept the idea that lossless compression removes data that is not needed.

Example answers and how they were marked
Full marks6/6

Lossless compression is suitable because no data is removed, so the source code can be restored exactly. If even one character were lost or changed the program would not run correctly, and a text document would no longer mean the same thing. Run length encoding can store a run of the same character once with a count of how many times it appears, and dictionary encoding stores each repeated word once in a dictionary and replaces every occurrence with a short code, so a document with lots of repetition becomes much smaller. The compressed files take up less room on the file server, so more programs and documents can be stored, and there is less data to send when the company backs the files up, so the backup finishes sooner.

Why: Explains suitability with a consequence for source code, describes two lossless methods, and applies the benefits to the company's server and backups, so Level 3.

Some marks3/6

Lossless compression does not lose any data, so the file can be decompressed back to the original. This is good for source code because the code will still work. It also saves space on the file server.

Why: Correct definition applied to the code plus one benefit (AO1/AO2), but the method of compression is not described and the benefits are not developed, so Level 2.

Some marks1/6

Lossless compression removes the parts of the file that are not needed so it becomes smaller. The company should use it because the files will be smaller on the server.

Why: One basic point about the files being smaller; the explanation of lossless compression is wrong because data is not removed, so Level 1.

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.