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

Year 10 Paper 5: Mixed Topics

Covers the CPU and the fetch-execute cycle, memory and storage, binary and hexadecimal number systems, logic gates and boolean logic, operating systems and utility software, networks, topologies and protocols, and algorithm design and trace tables.

22 questions - 80 marks

Year 10 follows a typical teaching order. No exam board defines what belongs to Year 10, and schools sequence the course differently. Check it against your own scheme of work before using it to decide what a class has covered.

Download PDF

Open GCSE Computer Science workspace

Questions

Question 1 [2 marks]

Memory and Storage

A student is asked to name examples of secondary storage.

State two examples of secondary storage devices.

Question 2 [2 marks]

Boolean Logic and Logic Gates

An XOR gate has two inputs, A and B, and outputs 1 only when exactly one of its inputs is 1.

State the output of the XOR gate for A=1,B=1, and for A=1,B=0.

Question 3 [3 marks]

Number Systems: Binary and Hexadecimal

Convert the 8-bit binary number 00101101 into denary.

Question 4 [4 marks]

Networks, Topologies and Protocols

A small office network uses a switch, a router, a network interface card (NIC) and a wireless access point (WAP).

State the function of each of these four pieces of network hardware.

Question 5 [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 6 [4 marks]

CPU and the Fetch-Execute Cycle

A teacher lists four special-purpose registers used during the fetch-execute cycle: the Program Counter (PC), the Memory Address Register (MAR), the Memory Data Register (MDR) and the Current Instruction Register (CIR).

State the purpose of each of these four registers.

Question 7 [2 marks]

Number Systems: Binary and Hexadecimal

Subtract the 8-bit binary number 00011010 from the 8-bit binary number 01000101, giving your answer as an 8-bit binary number.

Question 8 [2 marks]

CPU and the Fetch-Execute Cycle

A quad-core CPU has four cores, each with the same clock speed as an otherwise identical single-core CPU.

Explain why running an application that has been written to use only one core may not be much faster on the quad-core CPU than on the single-core CPU.

Question 9 [3 marks]

Memory and Storage

A film production company archives finished projects that are unlikely to be needed again for many years, using magnetic tape rather than SSDs.

Explain why magnetic tape is often used for this kind of long-term archival storage.

Question 10 [4 marks]

Boolean Logic and Logic Gates

A NAND gate has two inputs, C and D, and its output is the opposite of what an AND gate would give for the same inputs.

Write a Boolean expression for the NAND gate's output using C and D, and state its output when C=1 and D=1.

Question 11 [4 marks]

Algorithm Design and Trace Tables

The following pseudocode is intended to output the largest of three numbers, a, b and c, but contains a logic error.

largest = a

if b > largest then

largest = a

endif

if c > largest then

largest = c

endif

print largest

Identify the line containing the error, explain why it is wrong, and state the correction needed.

Example initial values: a = 2, b = 9, c = 4.

Question 12 [5 marks]

Operating Systems and Utility Software

An operating system must allow several programs to run at once on a computer with only one CPU core.

Explain how the operating system's process management makes this possible, referring to how CPU time is shared between processes.

Question 13 [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 14 [4 marks]

Number Systems: Binary and Hexadecimal

A single parity bit is added to each 7-bit binary code sent between two computers, set so that the total number of 1 bits, including the parity bit, is always even.

The 7-bit code 1011001 is sent. State the value the parity bit should be set to, and explain how the receiving computer could use the parity bit to detect a single-bit transmission error.

Question 15 [4 marks]

Boolean Logic and Logic Gates

A fire alarm sounds when a smoke sensor detects smoke (S) and the alarm is switched on (P), or when a manual call point is pressed (M), regardless of the other inputs.

Write a Boolean expression for alarm using S, P and M, and state whether the alarm sounds when S=0, P=1 and M=1.

Question 16 [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 17 [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 18 [4 marks]

Operating Systems and Utility Software

A company is choosing between an operating system with a highly customisable command line interface aimed at experienced technical staff, and one with a simple graphical user interface aimed at general office staff.

Discuss which operating system would be more suitable for the company's general office staff, and which would be more suitable for its IT support team, justifying your answer.

Question 19 [4 marks]

Boolean Logic and Logic Gates

A half adder circuit has two inputs, A and B, and two outputs, Sum and Carry. Sum is produced by an XOR gate, and Carry is produced by an AND gate.

Complete a truth table for the half adder for all four combinations of A and B, giving Sum and Carry for each.

Question 20 [5 marks]

Memory and Storage

A user's laptop runs slowly when many browser tabs and a photo-editing program are open at once. A technician suggests upgrading either the RAM or the SSD.

Discuss which upgrade, more RAM or a larger/faster SSD, is more likely to solve this specific problem, and explain your reasoning by referring to virtual memory.

Question 21 [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 22 [6 marks]

Memory and Storage

A hospital is deciding how to store MRI scan images. Each scan is very large, scans must be retrievable within seconds for a doctor treating a patient, and scans must legally be kept for at least 10 years even if never viewed again after the first year.

Discuss how the hospital could use a combination of different storage types to meet these requirements, referring to speed, capacity and cost.

Model solutions

Mark scheme for Question 1 [2 marks]
Question 1[2 marks]
Answer or workingMarks
one correct example, for example a hard disk drive (HDD), a solid-state drive (SSD), a USB flash drive, an optical disc (DVD/Blu-ray), or magnetic tapeB1
a second different correct example from the list aboveB1
Final answer: Any two of: HDD, SSD, USB flash drive, optical disc (DVD/Blu-ray), magnetic tape
Mark scheme for Question 2 [2 marks]
Question 2[2 marks]
Answer or workingMarks
A=1, B=1 gives output 0 (both inputs are the same)B1
A=1, B=0 gives output 1 (the inputs are different)B1
Final answer: A=1,B=1: 0. A=1,B=0: 1
Mark scheme for Question 3 [3 marks]
Question 3[3 marks]
Answer or workingMarks
identifying the place values of each 1 bit: 32, 8, 4 and 1M1
correctly adding these place values togetherM1
45A1
Mark scheme for Question 4 [4 marks]
Question 4[4 marks]
Answer or workingMarks
a switch forwards LAN frames using destination MAC addresses and its forwarding table; unknown/broadcast frames may be floodedB1
a router forwards packets between different networks using network addresses/routesB1
a NIC provides the device network interface for sending/receiving frames, wired or wirelessB1
a WAP allows wireless devices to join the local networkB1
Final answer: Switch: forwards LAN frames using MAC information. Router: forwards packets between networks. NIC: device interface for sending/receiving network data. WAP: wireless access to the LAN.
Mark scheme for Question 5 [4 marks]
Question 5[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 6 [4 marks]
Question 6[4 marks]
Answer or workingMarks
PC holds the address of the next instruction to be fetchedB1
MAR holds the address of the memory location currently being accessedB1
MDR holds the data or instruction that is being transferred to or from memoryB1
CIR holds the instruction currently being decoded and executedB1
Final answer: PC: address of next instruction. MAR: address being accessed. MDR: data/instruction being transferred. CIR: instruction being decoded/executed
Mark scheme for Question 7 [2 marks]
Question 7[2 marks]
Answer or workingMarks
Valid subtraction method: binary borrowing, adding the two's complement, or 69-26=43 followed by conversion.M1
00101011; accept a correct answer without working for both marks.A1
Final answer: 00101011
Mark scheme for Question 8 [2 marks]
Question 8[2 marks]
Answer or workingMarks
the application cannot split its sequential work across the extra cores, so only one core executes its instructions at a timeB1
that core has the same clock speed as the single-core CPU, so application execution is similar; other cores can help background tasks but do not give a fourfold application speedupB1
Final answer: Only one core executes this application at a time. With the same per-core speed, the other three cores cannot substantially accelerate its sequential work, although they can run background tasks.
Mark scheme for Question 9 [3 marks]
Question 9[3 marks]
Answer or workingMarks
tape provides high bulk capacity at relatively low media cost per GBB1
sequential access makes retrieval slower, acceptable for rarely accessed archivesB1
correctly stored and maintained tape can support long retention, with integrity checks and migration as neededB1
Final answer: Tape has high capacity and low cost per GB for bulk archives, and can be removed for offline storage with little standby power. Sequential access makes retrieval slow, acceptable for rarely needed material; long retention needs suitable conditions, checks and migration rather than guaranteed permanence.
Mark scheme for Question 10 [4 marks]
Question 10[4 marks]
Answer or workingMarks
Combines C and D with AND, or uses an equivalent De Morgan form.M1
Negates the whole conjunction: NOT (C AND D), accepting NOT C OR NOT D.M1
Evaluates C AND D as 1 for C=D=1, or correctly substitutes into an equivalent expression.M1
Gives output 0; full evaluation credit for the correct stated output.A1
Final answer: output = NOT (C AND D); with C=1, D=1 the output is 0
Mark scheme for Question 11 [4 marks]
Question 11[4 marks]
Answer or workingMarks
Locate largest = a inside the first ifB1
The condition establishes b exceeds the current largestB1
Assigning a fails to update largest to bB1
Replace that line with largest = bB1
Final answer: The assignment largest = a inside the first if is wrong. When b exceeds the current largest, it must store b, not a. Replace that assignment with largest = b. For a=2,b=9,c=4, the original prints 4 whereas the correction prints 9. Corrected pseudocode: largest = a if b > largest then largest = b endif if c > largest then largest = c endif print largest
Mark scheme for Question 12 [5 marks]
Question 12[5 marks]
Answer or workingMarks
one CPU core executes only one process instruction at an instantB1
scheduler rapidly assigns short CPU time slices to different ready processesB1
rapid interleaving gives users the appearance of simultaneous application executionB1
context switching saves/restores process execution state so each process continues correctlyB1
a process waiting for input/I/O can yield CPU time to another ready processB1
Final answer: The scheduler divides CPU time into short slices among ready processes, using timer interrupts and context switches. It saves/restores execution state as it switches rapidly, giving the appearance of concurrency on one core; only one process executes instructions at a particular instant.
Mark scheme for Question 13 [4 marks]
Question 13[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 14 [4 marks]
Question 14[4 marks]
Answer or workingMarks
Counts four 1 bits in 1011001.M1
Parity bit 0; the correct parity answer earns the counting mark.A1
Receiver counts the 1 bits in the whole received code including the parity bit.B1
A single flipped bit changes even parity to odd, so an odd total signals an error; does not locate or correct it.B1
Final answer: Parity bit = 0 (the code already has four 1 bits, an even number); the receiver recounts the 1 bits including the parity bit, and an odd total reveals a single-bit error
Mark scheme for Question 15 [4 marks]
Question 15[4 marks]
Answer or workingMarks
Combines S and P with AND.M1
Uses alarm = (S AND P) OR M, accepting logically equivalent forms.M1
Correct substitution: (0 AND 1) OR 1, or observes that M=1 forces the OR output.M1
Output 1, so the alarm sounds; award both evaluation marks for a correct conclusion.A1
Final answer: alarm = (S AND P) OR M; with S=0, P=1, M=1 the alarm sounds (output 1), because M=1 alone is enough
Mark scheme for Question 16 [3 marks]
Question 16[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 17 [3 marks]
Question 17[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 18 [4 marks]
Question 18[4 marks]
Answer or workingMarks
GUI menus/icons make common office tasks discoverable without memorising commandsB1
reduced training/syntax-error burden makes the GUI a suitable choice for general office staffB1
CLI scripts can automate repeated precise administration tasks across computersB1
technical staff can use that control efficiently, justifying CLI access for support despite the expertise required; interfaces may coexistB1
Final answer: GUI menus suit general office staff by making everyday actions discoverable with less command training. CLI scripting suits skilled IT staff automating precise repeated administration. These interfaces can coexist on one OS.
Mark scheme for Question 19 [4 marks]
Question 19[4 marks]
Answer or workingMarks
A=0, B=0 gives Sum=0, Carry=0.B1
A=0, B=1 gives Sum=1, Carry=0.B1
A=1, B=0 gives Sum=1, Carry=0.B1
A=1, B=1 gives Sum=0, Carry=1.B1
Final answer: A=0,B=0: Sum 0, Carry 0. A=0,B=1: Sum 1, Carry 0. A=1,B=0: Sum 1, Carry 0. A=1,B=1: Sum 0, Carry 1
Mark scheme for Question 20 [5 marks]
Question 20[5 marks]
Answer or workingMarks
several active programs/tabs can exhaust available RAMB1
the OS may move inactive pages to secondary storage and load them again when neededB1
these secondary-storage transfers are slower than RAM access and can cause the reported slowdownB1
more RAM can retain more active data and reduce paging, so it is likely to help if memory pressure is confirmedB1
a faster SSD may reduce paging delay but extra SSD capacity alone does not speed it up or remove RAM pressureB1
Final answer: More RAM is likely to help if monitoring confirms RAM pressure and paging. A faster SSD can reduce paging delays; a larger SSD alone does not necessarily improve paging speed. Other causes of slowdown remain possible.
Mark scheme for Question 21 [4 marks]
Question 21[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 22 [6 marks]
Question 22[6 marks]
Answer or workingMarks
scans that must be retrieved in seconds require an online accessible copy throughout the ten yearsB1
SSD storage can provide low-latency access for recent/frequently used scansB1
large online HDD storage can provide cheaper capacity for older scans if tested to meet the retrieval deadlineB1
an offline tape archive alone cannot meet seconds retrieval, although tape can provide additional backupB1
maintain integrity checks, backups/redundancy and migrations so retained scans remain recoverable over ten yearsB1
justified combined design weighs verified retrieval speed and total retained capacity/cost, rather than putting all scans on costly SSDsB1
Final answer: Keep all retained scans online with retrieval tested to meet the seconds requirement: SSD for hot data and adequate-capacity online HDD storage for colder data can balance speed and cost. Tape can provide backup but cannot be the only copy of older scans. Maintain integrity and recovery over ten years.

Build a free practice pack.

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