Revision Library
Choose a subject
Menu
Computer Science
Need a new topic?
Missing a topic, found a bug, or want something added?
Grades 1-9

GCSE Computer Science Paper 1

Covers CPU and the Fetch-Execute Cycle, Memory and Storage, Networks, Topologies and Protocols and 9 more.

17 questions - 60 marks

Download PDF

Open GCSE Computer Science workspace

Questions

Question 1 [1 mark]

Representing Text, Images, Sound and Compression

A text file uses ASCII, where each character is stored using 1 byte.

State the file size, in bytes, of a text file containing exactly 250 characters (ignore any file header).

Question 2 [2 marks]

Operating Systems and Utility Software

A student compares two utility software programs: encryption software and disk cleanup software.

State the purpose of each of these two utility programs.

Question 3 [2 marks]

Cyber Security Threats and Measures

A school is running an assembly about online safety.

State two examples of malware.

Question 4 [2 marks]

Memory and Storage

A washing machine contains a small chip that stores its built-in wash programs.

Explain why ROM, rather than RAM, is used to store these wash programs.

Question 5 [3 marks]

CPU and the Fetch-Execute Cycle

The fetch-execute cycle describes how a CPU processes a single instruction.

State the three steps of the fetch-execute cycle, in order.

Question 6 [4 marks]

Algorithm Design and Trace Tables

The following pseudocode is run:

total = 0

for i = 1 to 5

if i mod 2 == 0 then

total = total + i

endif

next i

print total

State what is output by this pseudocode, explaining which values of i are added to total.

Question 7 [3 marks]

Ethics, Law and Environmental Impact

A UK law, the Freedom of Information Act 2000, gives the public a right to request information held by public authorities such as government departments, councils and state schools.

Explain the purpose of this Act, and state one type of organisation it does NOT usually apply to.

Question 8 [4 marks]

Number Systems: Binary and Hexadecimal

Add the two 8-bit unsigned binary numbers 01101100 and 00111001, giving your answer as an 8-bit binary number.

State whether an unsigned overflow error occurs.

Question 9 [4 marks]

Boolean Logic and Logic Gates

A security system unlocks a door only when a valid keycard is used (K) and the correct PIN is entered (P), or when a manager override is used (M).

Write a Boolean expression for unlock using K, P and M, and state whether the door unlocks when K=1, P=0 and M=1.

Question 10 [4 marks]

Networks, Topologies and Protocols

A cafe offers customers Wi-Fi using both a 2.4 GHz band and a 5 GHz band.

Explain one advantage of the 2.4 GHz band and one advantage of the 5 GHz band for customers using the cafe's Wi-Fi.

Question 11 [5 marks]

Programming Constructs

A programmer's code reads a number from the user as a string, and needs to convert it into an integer before doing a calculation. Later, the program needs to convert a calculated integer total back into a string so it can be joined with other text and displayed.

Explain why both of these conversions (casting) are needed, referring to what would go wrong without each one.

Question 12 [5 marks]

Searching and Sorting Algorithms

The sorted list [2, 5, 9, 13, 18, 24, 30, 37] is searched using a binary search for the value 30. When a list has an even number of items, take the lower of the two middle items as the middle.

State the checked values in order, explaining which remaining index interval is selected after each unsuccessful comparison. Use zero-based inclusive indices. State the total checked-item comparisons including the successful match.

Question 13 [3 marks]

CPU and the Fetch-Execute Cycle

A company is choosing hardware for a task that repeats the same simple calculation across millions of pieces of data at once. It is deciding between a CPU with 8 powerful cores and a graphics card (GPU) with thousands of simpler cores.

Discuss which processor is likely to be better suited to this task, referring to the number of cores and the nature of the task.

Question 14 [3 marks]

Networks, Topologies and Protocols

A remote worker connects to their company's internal network from home using a Virtual Private Network (VPN) over the public internet.

Discuss why the company requires staff to use a VPN rather than connecting directly over the public internet, referring to encryption and access to internal resources.

Question 15 [4 marks]

CPU and the Fetch-Execute Cycle

A server in a data centre runs continuously and must process many separate requests from different users at the same time, unlike a home desktop computer used by one person for one task at a time.

Discuss how the CPU requirements of this server are likely to differ from those of a typical home desktop computer, referring to the number of cores and reliability.

Question 16 [5 marks]

Ethics, Law and Environmental Impact

A UK-based company wants to sell software to customers in a different country, whose laws about data protection and copyright are less strict than the UK's.

Discuss the ethical and legal issues the company should consider, referring to which country's laws apply and whether following only the minimum legal requirement is enough.

Question 17 [6 marks]

Representing Text, Images, Sound and Compression

A video game developer must decide how to represent the game's user-interface icons: as bitmap images or as vector images, given the icons must display correctly on screens ranging from a small phone to a very large 4K television.

Discuss which format is more suitable for these icons, referring to how each format is affected by displaying the same image at very different sizes.

Model solutions

Mark scheme for Question 1 [1 mark]
Question 1[1 mark]
Answer or workingMarks
250 bytes (250 characters * 1 byte per character), with no header included.B1
Final answer: 250 bytes
Mark scheme for Question 2 [2 marks]
Question 2[2 marks]
Answer or workingMarks
encryption converts plaintext to ciphertext requiring the appropriate key to read, protecting confidentialityB1
disk cleanup removes unnecessary/temporary files to reclaim storage spaceB1
Final answer: Encryption software transforms plaintext to ciphertext readable with the appropriate key, protecting confidentiality. Disk cleanup removes unneeded/temporary files to reclaim storage space; it does not generally defragment or guarantee faster CPU execution.
Mark scheme for Question 3 [2 marks]
Question 3[2 marks]
Answer or workingMarks
one correct example, for example a virus, worm, trojan, ransomware or spywareB1
a second different correct example from the list aboveB1
Final answer: Any two of: virus, worm, trojan, ransomware, spyware, adware
Mark scheme for Question 4 [2 marks]
Question 4[2 marks]
Answer or workingMarks
ROM retains wash programs without power, whereas RAM would lose themB1
fixed wash-control programs do not normally change, so persistent read-only firmware is suitableB1
Final answer: ROM retains the wash programs after power is removed. These fixed programs must be available at startup and should resist accidental modification; RAM is volatile and would lose them when switched off.
Mark scheme for Question 5 [3 marks]
Question 5[3 marks]
Answer or workingMarks
fetch, firstB1
decode, secondB1
execute, thirdB1
Final answer: Fetch the next instruction from memory, decode its meaning, then execute it, in that order.
Mark scheme for Question 6 [4 marks]
Question 6[4 marks]
Answer or workingMarks
the loop runs with i taking the values 1, 2, 3, 4 and 5 in turnB1
the if statement only adds i to total when i mod 2 equals 0, meaning i is evenB1
so only i = 2 and i = 4 are added to total, giving 2 + 4 = 6B1
the output is 6A1
Final answer: 6 (only the even values, 2 and 4, are added)
Mark scheme for Question 7 [3 marks]
Question 7[3 marks]
Answer or workingMarks
the purpose is transparency and accountability, enabling scrutiny of public decisions/spendingB1
authorities normally respond to recorded-information requests subject to applicable exemptions, so the right is not unlimitedB1
an ordinary private business, such as a private retailer, is a type not usually covered; accept another appropriate non-public organisationB1
Final answer: The Act promotes transparency and accountability through scrutiny of recorded information held by public authorities, subject to exemptions. Ordinary private businesses are not usually covered merely by operating in the UK.
Mark scheme for Question 8 [4 marks]
Question 8[4 marks]
Answer or workingMarks
correctly adding the rightmost 4 bits of each number, carrying where neededM1
correctly adding the leftmost 4 bits of each number, including any carried bitM1
the result 10100101A1
stating that no unsigned overflow occurs, since 165 is within the unsigned 8-bit range 0 to 255B1
Final answer: 10100101; no unsigned overflow, since 165 is within the unsigned 8-bit range 0 to 255.
Mark scheme for Question 9 [4 marks]
Question 9[4 marks]
Answer or workingMarks
combining K and P with AND, for example (K AND P)M1
combining this with M using OR, for example unlock = (K AND P) OR MM1
evaluating (K AND P) = (1 AND 0) = 0 when K=1 and P=0M1
evaluating 0 OR 1 = 1, so the door unlocksA1
Final answer: unlock = (K AND P) OR M; with K=1, P=0, M=1 the door unlocks (output 1)
Mark scheme for Question 10 [4 marks]
Question 10[4 marks]
Answer or workingMarks
one 2.4 GHz advantage, such as typically greater range/wall penetrationB1
linked application, such as coverage for customers farther away or behind an obstacleB1
one 5 GHz advantage, such as typically higher throughput or less congestion with suitable equipmentB1
linked application, such as faster large transfers nearby or less interference; accept other sound paired explanationsB1
Final answer: 2.4 GHz typically reaches customers farther away or behind walls; 5 GHz can offer higher throughput for nearby customers with suitable devices. Accept reduced congestion as an alternative 5 GHz advantage with explanation.
Mark scheme for Question 11 [5 marks]
Question 11[5 marks]
Answer or workingMarks
Numeric input initially has string typeB1
Casting to integer enables numeric arithmeticB1
Without casting addition may concatenate or raise a type errorB1
Cast integer total to string for text concatenationB1
Without a supported implicit conversion mixed-type concatenation may failB1
Final answer: Cast numeric input text to an integer so arithmetic uses its numerical value: int("12") + 3 is 15. Without conversion a language may concatenate to form "123" or raise a type error. Cast a calculated total back with str(total) when joining it to text, for example "Total: " + str(15) gives "Total: 15"; a language without implicit conversion may otherwise reject the mixed types. Exact behaviour depends on the language.
Mark scheme for Question 12 [5 marks]
Question 12[5 marks]
Answer or workingMarks
First check 13 at index 3B1
After 13 keep indices 4..7 and check 24 at index 5B1
After 24 keep indices 6..7B1
Next check 30 at index 6 and stopB1
Total is three checked-item comparisonsB1
Final answer: Using lower midpoints at zero-based indices 3,5,6 checks 13,24,30. There are 3 comparisons including the successful one. After 13, low becomes 4; after 24, low becomes 6.
Mark scheme for Question 13 [3 marks]
Question 13[3 marks]
Answer or workingMarks
independent repetitions can be divided across many GPU cores and processed simultaneouslyB1
the GPU can therefore offer higher throughput for this workload than eight CPU coresB1
powerful CPU cores suit complex sequential/control-heavy work better, but that strength is less relevant to these simple parallel calculationsB1
Final answer: The GPU is suited to many independent identical calculations: thousands of simple cores can execute across many data elements simultaneously, giving high throughput. CPU cores are stronger for complex sequential/control-heavy tasks but eight offer less parallelism. Data transfer and non-parallel portions may limit GPU gains.
Mark scheme for Question 14 [3 marks]
Question 14[3 marks]
Answer or workingMarks
a VPN establishes an encrypted tunnel between the remote device and company endpointB1
interception over the public network then exposes encrypted rather than readable company trafficB1
authenticated/authorised VPN users can reach permitted internal resources without exposing those services directly to the public internetB1
Final answer: A VPN encrypts traffic to the company endpoint, protecting it from reading in transit, and gives authorised remote workers access to permitted internal resources. It does not replace authentication or endpoint security.
Mark scheme for Question 15 [4 marks]
Question 15[4 marks]
Answer or workingMarks
many independent requests can run on different cores, so more cores can increase server throughputB1
a desktop with mainly sequential interactive work may benefit more from per-core speed than a large core countB1
continuous server service needs stable operation and adequate cooling under sustained loadB1
failures can interrupt many users, so dependable hardware/error handling and redundancy are more valuable than in a single-user machineB1
Final answer: A server benefits from many cores for concurrent independent requests and stable continuous operation with appropriate cooling and error handling. Desktop workloads may benefit more from per-core responsiveness; reliability also depends on supporting hardware and redundancy.
Mark scheme for Question 16 [5 marks]
Question 16[5 marks]
Answer or workingMarks
countries can impose different data-protection/copyright obligationsB1
establish applicable jurisdictions from business activities, processing/data flows and customers rather than assuming foreign sale removes UK dutiesB1
more than one jurisdiction may apply, so the company must comply with relevant overlapping duties/licencesB1
lawful minimum conduct can still harm privacy, fairness or creators and need not be ethically sufficientB1
consistent higher protections can reduce harm and sustain trust/reputation, balanced against implementation costsB1
Final answer: Determine which jurisdictions and licence terms apply; overseas sales do not automatically remove UK obligations and more than one law may apply. Legal minima may still permit harm, so consider consistent protections for privacy and creators alongside costs and customer trust.
Mark scheme for Question 17 [6 marks]
Question 17[6 marks]
Answer or workingMarks
Bitmap images store a fixed grid of pixel values.B1
Enlarging a bitmap beyond its stored pixel dimensions may blur or pixelate it.B1
Higher-resolution or multiple bitmap assets can preserve detail at target sizes but may cost extra storage or downloads; no unreasonable size is assumed from 4K alone.B1
Vector images store geometric shapes and properties as instructions.B1
Vectors can be rasterised at the required pixel dimensions, preserving clean geometric edges across sizes.B1
Justified choice: vectors usually suit simple scalable icons; accept bitmaps for detailed artwork or suitably sized multiple assets with a valid trade-off.B1
Final answer: Vectors usually suit simple icons because their geometry can be rendered sharply at different sizes. Bitmaps can also work with sufficient pixel dimensions or multiple assets, with storage trade-offs. Screen size alone does not determine the best format.

Build a free practice pack.

Pick the topics, add the student's name and print one PDF.