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 one reason for using data compression.

[1 mark]
  • ATo increase the number of packets sent
  • BTo reduce the time taken to transmit a file
  • CTo improve the quality of the file
  • DTo make the file harder to open
Mark scheme
  • B To reduce the time taken to transmit a file (1)
  • The only correct answer is B. The correct answer is to reduce the time taken to transmit a file.
  • A is not correct because compression reduces file size, which can reduce the number of packets sent
  • C is not correct because lossy compression can reduce the quality of a file
  • D is not correct because encryption, not compression, can make a file harder to open
Example answers and how they were marked
Full marks1/1

B To reduce the time taken to transmit a file

Why: Correct option (1).

No marks0/1

A To increase the number of packets sent

Why: Near miss: compression reduces the number of packets sent, so no mark.

No marks0/1

C To improve the quality of the file

Why: Misconception that compression improves quality; no mark.

2Multiple choice1 markProcess Management Swap Remove

Identify the term for the fixed, short period of CPU time that each process is given.

[1 mark]
  • AProcess
  • BRound robin
  • CScheduler
  • DTime slice
Mark scheme
  • D Time slice (1)
  • The only correct answer is D. The correct answer is time slice.
  • A is not correct because a process is a program that is being run
  • B is not correct because round robin is a scheduling method that takes turns, not the period of CPU time itself
  • C is not correct because a scheduler decides which process runs next
Example answers and how they were marked
Full marks1/1

D Time slice

Why: Correct option: a time slice is the fixed, short period of CPU time given to each process (1).

No marks0/1

C Scheduler

Why: Near miss: the scheduler decides which process runs next, but it does not name the period of CPU time given to a process (0).

No marks0/1

A Process

Why: A process is a program that is being run, not the CPU time it is given (0).

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

4Describe2 marksCompression Swap Remove

A school compresses its text documents before backing them up.

Describe how lossless compression reduces the size of a text file.

[2 marks]
Mark scheme

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

  • Repeated words/patterns are found (1) and stored once in a dictionary with a code (1)
  • Each repeated word/pattern is replaced by a shorter code (1) so fewer bits are needed to store the text (1)
  • No data is removed (1) so the original text can be recreated exactly (1)
  • The compressed file is smaller (1) but all the original characters can still be restored (1)

Do not accept answers that say data is permanently removed or quality is reduced.

Example answers and how they were marked
Full marks2/2

It finds repeated words in the document (1) and stores them once in a dictionary with a code (1).

Why: Linked point: repeated words found (1) and development: stored once in a dictionary (1).

Some marks1/2

It makes the file smaller without losing any of the data.

Why: States that no data is lost (1); no linked method or exact restoration is given (1).

No marks0/2

It removes repeated characters permanently so the file takes up less space.

Why: Describes permanent removal, which is lossy, not lossless; no credit.

5Explain2 marksSound Swap Remove

Each sample of a sound wave is stored in binary using a fixed number of bits.

Explain one limitation of representing an analogue sound wave in binary when only a small number of bits is available for each sample.

[2 marks]
Mark scheme

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

  • Only a limited number of different amplitude values can be stored (1) so each sample is rounded to the nearest available value and the digital wave does not match the analogue wave exactly (1)
  • The wave is continuous but only a limited set of values can be represented (1) so amplitude detail/accuracy is lost (1)
  • Quiet and loud parts of the sound may be stored as the same value (1) because there are too few values to tell them apart (1)
  • The range of amplitudes that can be represented is limited (1) so the loudest/quietest parts of the sound cannot be stored accurately (1)

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

Do not award marks for answers that say the sound cannot be stored or heard at all.

Do not award answers about the number of samples taken/sample rate, as the number of bits limits the amplitude values, not how often the wave is sampled.

Do not accept 'lower quality'/'less accurate'/'less detail' on its own without a link to the amplitude values that can be stored/the number of bit combinations.

Do not accept 'the file size is smaller' without a link to the accuracy or the range of values that can be stored.

Example answers and how they were marked
Full marks2/2

Only a small number of amplitude values can be stored, so each sample is rounded to the nearest value and does not match the original wave exactly.

Why: Point (limited number of amplitude values) (1) with linked reason (samples are rounded and the wave is not exact) (1).

Some marks1/2

Only a small number of amplitude values can be stored.

Why: Creditworthy point (1) but no linked limitation such as rounding or lost accuracy, so only one mark.

No marks0/2

The sound cannot be stored at all because there are not enough bits to hold every sample.

Why: Misconception: the sound can still be stored, just less accurately, so no mark is awarded.

6Explain2 marksLow and High Level Languages Swap Remove

Device drivers are programs that allow the operating system to communicate with hardware.

Explain one reason why a device driver is often written in a low-level language.

[2 marks]
Mark scheme

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

  • The programmer can control/manipulate the hardware directly (1) because low-level instructions can access registers/memory addresses/hardware features (1)
  • The code can be made to work efficiently with a specific device (1) because low-level languages are processor/chipset specific, so the instructions match that hardware (1)
  • The code produced is fast to execute (1) because it is optimised for the specific processor/uses few instructions (1)
  • The code produced is small (1) so it fits in the limited memory/ROM available in the device (1)

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

Fast execution and small code size are typical advantages of low-level languages; award them only where the linked reason relates to the device.

Do not accept 'it is easier to write/learn/understand' or 'it is faster to write' as a point or as the expansion, because low-level languages are not easier for these.

Do not accept 'it is close to the hardware' or 'it works with hardware' without expansion of what that allows the program to do.

Do not accept 'because it is low-level' as the expansion; the answer must say what the language/hardware allows.

Example answers and how they were marked
Full marks2/2

It can control the hardware directly (1) because the instructions can read and write to the device's registers and memory addresses (1).

Why: Linked point (1) of direct hardware control and reason (1) that low-level instructions access registers and memory addresses.

Some marks1/2

It runs quickly (1) because it is a low-level language.

Why: Point (1) of fast execution, but 'because it is a low-level language' is not accepted as the linked reason.

No marks0/2

Because it is easier to write programs for a particular device.

Why: Misconception that low-level languages are easier to write; no creditworthy point or linked reason about hardware control or efficiency.

7Explain2 marksThe Internet Swap Remove

Routers on the internet choose a route for each packet.

Explain one benefit of a router being able to choose a different route for a packet.

[2 marks]
Mark scheme

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

  • Data can avoid a busy/congested link (1) because the router can choose another path (1)
  • Data can still arrive if a link fails (1) because the router sends it another way (1)
  • Data can take the shortest/fastest path (1) because the router compares the routes and chooses the one with the fewest hops/least traffic (1)

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

Allow other valid benefits with a linked reason, e.g. traffic can be shared across routes/load balanced (1) because the router can send some packets by another path (1)

Do not accept 'the route is always the same' as this is not a benefit of choosing a route.

Do not accept 'routers are fast' or 'packets are sent faster' on its own: the reason must say how the route is chosen, e.g. avoiding congestion or using a routing table.

Example answers and how they were marked
Full marks2/2

If one route is busy, the data can still get there (1) because the router can choose a different path (1).

Why: Linked point (1) and reason (1): a different path avoids the busy route.

Some marks1/2

It can choose the fastest route (1) because routers are quick (1).

Why: Point (1) for choosing the fastest route, but 'routers are quick' is a speed statement that does not say how the route is chosen, so it does not earn the second mark.

No marks0/2

It means more devices can connect to the internet.

Why: No link to choosing a route for a packet; does not answer the question.

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