9th Class Computer Science — MCQs & Practice Questions

94 multiple-choice questions and 72 exam-style questions with mark schemes, organised by chapter, with answers you can check as you go. Free, no sign-up.

New to a topic? Read the 9th Class Computer Science notes first, then come back to practise.

01

Introduction to Systems

Multiple choice · 8

Q1Which of these is volatile?

  1. AHard disk
  2. BSSD
  3. CRAM
  4. DDVD
Show answer

Correct answer: C — RAM

RAM loses its contents the moment power is removed. The other three are all secondary storage and keep data without power.

Q2The part of the CPU that performs calculations is the:

  1. Acontrol unit
  2. BALU
  3. Cprogram counter
  4. Dcache
Show answer

Correct answer: B — ALU

The arithmetic and logic unit does the arithmetic and the comparisons. The control unit directs traffic but computes nothing itself.

Q3During which stage is the instruction brought from memory into the CPU?

  1. AFetch
  2. BDecode
  3. CExecute
  4. DStore
Show answer

Correct answer: A — Fetch

Fetch places the program counter's address on the address bus and the instruction returns on the data bus.

Q4The address bus is unidirectional because:

  1. Ait is faster that way
  2. Bmemory never sends addresses to the CPU
  3. Cit carries only one bit
  4. Dit is shorter
Show answer

Correct answer: B — memory never sends addresses to the CPU

The CPU always decides which location to access, so addresses only ever travel outward. Data, by contrast, must travel both ways.

Q5A computer with 4 GB of RAM slows badly when many programs are open because:

  1. Athe CPU overheats
  2. Bit swaps data to much slower storage
  3. Cthe monitor cannot keep up
  4. Dthe address bus fills
Show answer

Correct answer: B — it swaps data to much slower storage

When RAM is full the operating system moves pages out to disk. Disk is thousands of times slower than RAM, so every swap costs a long wait.

Q6Which is fastest?

  1. ARAM
  2. BCache
  3. CRegisters
  4. DSSD
Show answer

Correct answer: C — Registers

Registers sit inside the CPU itself, so access takes a single clock cycle. The order of the hierarchy is registers, cache, RAM, SSD, hard disk.

Q7A quad-core 2 GHz processor compared with a single-core 3 GHz one:

  1. Ais always slower
  2. Bcan execute four instruction streams at once
  3. Chas no cache
  4. Duses no RAM
Show answer

Correct answer: B — can execute four instruction streams at once

Four cores work simultaneously, so for anything that can be split across them the quad-core wins despite the lower clock speed. Clock speed alone is a poor comparison.

Q8The instruction register holds:

  1. Athe address of the next instruction
  2. Bthe instruction currently being decoded
  3. Cthe ALU result
  4. Dthe whole program
Show answer

Correct answer: B — the instruction currently being decoded

The address of the next instruction is in the program counter, and the ALU result goes to the accumulator. The instruction register holds only the one being worked on now.

Exam-style questions · 6

Q1[2 marks]
Differentiate between RAM and secondary storage.
Answer

RAM is volatile, fast and comparatively small; it holds the programs and data currently in use and loses everything when the power goes. Secondary storage such as an SSD is non-volatile, slower and much larger; it keeps data permanently.

Q2[2 marks]
Name the two main components of the CPU and state the function of each.
Answer

The control unit, which fetches and decodes instructions and sends control signals to the rest of the system; and the arithmetic and logic unit, which performs calculations and logical comparisons.

Q3[2 marks]
What is held in the program counter, and why must it change during every cycle?
Answer

It holds the address of the next instruction to be fetched. It increments during the fetch stage so that the following cycle picks up the next instruction rather than repeating the current one.

Q4[4 marks]
Describe the four stages of the fetch–execute cycle.
Mark scheme
  1. Fetch: the address in the program counter is placed on the address bus and the instruction is brought back along the data bus into the instruction registermention of a bus expected[1]
  2. Decode: the control unit interprets the instruction to determine the operation and its operands[1]
  3. Execute: the ALU carries out the operation[1]
  4. Store: the result is written back to a register or to memory, and the cycle repeatsthe repetition should be stated[1]

Fetch, decode, execute, store — repeated for every instruction.

Q5[4 marks]
Explain the purpose of the address bus, the data bus and the control bus, and state which of them is unidirectional.
Mark scheme
  1. The address bus carries the memory address being accessed[1]
  2. The data bus carries the actual data or instruction[1]
  3. The control bus carries signals such as read and write[1]
  4. The address bus is unidirectional — addresses only ever travel from the CPU to memory, whereas data travels both waysthe reason is required[1]

Address = where (one-way), data = what (two-way), control = read or write.

Q6[6 marks]
A student is choosing between two laptops. Laptop A has a 3.2 GHz single-core processor, 4 GB RAM and a 1 TB hard disk. Laptop B has a 2.4 GHz quad-core processor, 16 GB RAM and a 512 GB SSD.
  1. Explain which laptop is likely to feel faster in everyday use.
  2. Explain one advantage Laptop A still has.
  3. Explain why clock speed alone is a poor way to compare processors.
Mark scheme
  1. Laptop B[1]
  2. Four cores can execute four instruction streams at once, so it handles several programs far better than one faster core[1]
  3. 16 GB of RAM means far less swapping to disk, and the SSD has no moving parts so it reads much faster than a hard diskeither point accepted[1]
  4. Laptop A has 1 TB of storage against 512 GB, so it holds roughly twice as many filescapacity is the only advantage here[1]
  5. Clock speed measures cycles per second on ONE core, so it says nothing about how many cores there are[1]
  6. It also ignores cache size and the amount of RAM, both of which decide how often the CPU has to wait for data[1]

(a) Laptop B — more cores, far more RAM, and an SSD (b) twice the storage capacity (c) clock speed ignores cores, cache and RAM

02

Number Systems

Multiple choice · 8

Q11011₂ in decimal is:

  1. A9
  2. B11
  3. C13
  4. D23
Show answer

Correct answer: B — 11

Place values 8, 4, 2, 1: 8 + 0 + 2 + 1 = 11.

Q2How many values can 6 bits represent?

  1. A12
  2. B36
  3. C64
  4. D128
Show answer

Correct answer: C — 64

Each extra bit doubles the number of possibilities, so n bits give 2ⁿ values: 2⁶ = 64. Those values run from 0 to 63, not 1 to 64 — the count includes zero, which is why the largest value is always one less than the total.

Q3FF₁₆ in decimal is:

  1. A155
  2. B255
  3. C256
  4. D1515
Show answer

Correct answer: B — 255

F is 15, so FF = 15×16 + 15 = 255. It is also 11111111 in binary, the largest 8-bit value.

Q410110110₂ in hexadecimal is:

  1. AB6
  2. B6B
  3. CA6
  4. DB5
Show answer

Correct answer: A — B6

Group in fours from the right: 1011 = B and 0110 = 6, giving B6. Grouping from the left instead is the usual error.

Q5Decimal 13 in binary is:

  1. A1011
  2. B1101
  3. C1110
  4. D1001
Show answer

Correct answer: B — 1101

Dividing by 2 repeatedly gives remainders 1, 0, 1, 1 read upwards as 1101. Check: 8 + 4 + 1 = 13.

Q6ASCII uses 7 bits, so it can represent:

  1. A7 characters
  2. B49 characters
  3. C128 characters
  4. D256 characters
Show answer

Correct answer: C — 128 characters

2⁷ = 128. Option D would be 8-bit extended ASCII, which is a different code.

Q7Adding 11111111 and 00000001 in 8 bits produces:

  1. A100000000 stored correctly
  2. B00000000 with overflow
  3. C11111111
  4. Dan error message
Show answer

Correct answer: B — 00000000 with overflow

255 + 1 = 256, which needs 9 bits. The carry out of the last column is lost, leaving 00000000 stored — a wrong answer, which is exactly what overflow means.

Q8Why is hexadecimal preferred to binary for writing memory addresses?

  1. Ait is a different number system
  2. Bit is four times shorter and converts with no arithmetic
  3. Ccomputers store hex directly
  4. Dit uses fewer symbols
Show answer

Correct answer: B — it is four times shorter and converts with no arithmetic

Each hex digit replaces exactly four bits, so a 32-bit address becomes 8 characters. The machine still stores binary — hex is purely for human readability.

Exam-style questions · 6

Q1[2 marks]
Why do computers use the binary number system?
Answer

A computer is built from electronic switches, each of which has only two reliable states — on and off, or high and low voltage. Binary has exactly two digits, so each digit maps directly onto one switch, making the hardware simple and resistant to electrical noise.

Q2[2 marks]
Convert 11010₂ to decimal.
Answer

Place values 16, 8, 4, 2, 1: 16 + 8 + 0 + 2 + 0 = 26.

Q3[2 marks]
State one advantage of hexadecimal over binary for a programmer.
Answer

It is far shorter and easier to read — one hex digit replaces four bits, so a 32-bit address takes 8 hex characters instead of 32 binary ones — while converting between the two needs no arithmetic at all.

Q4[4 marks]
Convert 2C₁₆ to binary and then to decimal.
Mark scheme
  1. 2 in hex is 0010 in binaryfour bits per hex digit[1]
  2. C is 12 in decimal, which is 1100A=10, B=11, C=12, D=13, E=14, F=15[1]
  3. Together: 00101100₂concatenate the groups, do not add them[1]
  4. Decimal: 32 + 8 + 4 = 44or 2×16 + 12 = 44 directly from hex[1]

2C₁₆ = 00101100₂ = 44₁₀

Q5[4 marks]
Add the 8-bit binary numbers 11001010 and 01110011. State whether overflow occurs.
Mark scheme
  1. Adds column by column from the right, carrying where a column totals 2[1]
  2. Result within 8 bits: 01000010 with a carry out of the leftmost column[1]
  3. In decimal 202 + 115 = 317, which exceeds the 8-bit maximum of 255[1]
  4. Overflow occurs — the true answer needs 9 bits, so the stored 8-bit result is incorrectthe consequence must be stated[1]

Carry out of the final column; overflow occurs because 317 > 255.

Q6[6 marks]
A system stores text using ASCII and images using 24-bit colour.
  1. How many different characters can 7-bit ASCII represent, and why is this insufficient for Urdu?
  2. How many distinct colours can 24-bit colour represent?
  3. Calculate the file size in KB of an uncompressed 100 × 200 pixel image in 24-bit colour.
Mark scheme
  1. 2⁷ = 128 characters[1]
  2. Urdu uses a different script with many additional letterforms, and 128 slots are already taken by English letters, digits and punctuation — so Unicode is used insteadnaming Unicode expected[1]
  3. 2²⁴ = 16 777 216 coloursaccept "about 16.7 million"[1]
  4. Total pixels = 100 × 200 = 20 000[1]
  5. Each pixel takes 24 bits = 3 bytes, so 20 000 × 3 = 60 000 bytesconverting bits to bytes is the step most often missed[1]
  6. 60 000 / 1024 = 58.6 KBaccept 58.6 or 60 KB if 1000 bytes per KB is stated[1]

(a) 128, too few for a second script (b) 16 777 216 (c) about 58.6 KB

03

Digital Systems and Logic Design

Multiple choice · 8

Q1A two-input AND gate outputs 1 when the inputs are:

  1. A0 and 0
  2. B0 and 1
  3. C1 and 0
  4. D1 and 1
Show answer

Correct answer: D — 1 and 1

AND requires every input to be 1. Any 0 forces the output to 0.

Q2A NOR gate outputs 1 when:

  1. Aboth inputs are 1
  2. Bboth inputs are 0
  3. Cthe inputs differ
  4. Dalways
Show answer

Correct answer: B — both inputs are 0

NOR is OR followed by NOT. OR gives 0 only when both inputs are 0, so NOR gives 1 only then.

Q3The expression (A + B)′ is equivalent to:

  1. AA′ + B′
  2. BA′ · B′
  3. CA · B
  4. DA ⊕ B
Show answer

Correct answer: B — A′ · B′

De Morgan's second law: complementing a sum turns it into a product of complements. Option A applies the law in the wrong direction.

Q4A truth table for a circuit with 4 inputs has how many rows?

  1. A4
  2. B8
  3. C16
  4. D32
Show answer

Correct answer: C — 16

2⁴ = 16. Each additional input doubles the number of combinations.

Q5Simplify A·B + A·B′.

  1. AA
  2. BB
  3. CA·B
  4. D0
Show answer

Correct answer: A — A

Factor out A to get A·(B + B′), and B + B′ = 1, leaving A · 1 = A. The value of B turns out not to matter at all.

Q6In a half adder, the Carry output is produced by:

  1. Aan XOR gate
  2. Ban AND gate
  3. Can OR gate
  4. Da NOT gate
Show answer

Correct answer: B — an AND gate

A carry occurs only when both bits are 1, which is exactly the AND condition. XOR produces the Sum.

Q7Which is TRUE in Boolean algebra?

  1. AA + A = 2A
  2. BA + 1 = 1
  3. CA · A = A²
  4. DA + A′ = 0
Show answer

Correct answer: B — A + 1 = 1

Once one input to an OR is 1 the output is 1 regardless of the other. There is no 2 and no squaring in Boolean algebra, and A + A′ = 1, not 0.

Q8NAND is described as a universal gate because:

  1. Ait is the fastest gate
  2. Bany logic circuit can be built from NAND gates alone
  3. Cit has the most inputs
  4. Dit uses no power
Show answer

Correct answer: B — any logic circuit can be built from NAND gates alone

NOT, AND and OR can all be constructed from NAND gates, and therefore so can anything else. It means a manufacturer can build a whole chip from one repeated gate design.

Exam-style questions · 6

Q1[2 marks]
Draw the truth table for a two-input NAND gate.
Answer

Inputs 00 → 1, 01 → 1, 10 → 1, 11 → 0. NAND is the inverse of AND, so it outputs 0 only when both inputs are 1.

Q2[2 marks]
State De Morgan's two laws.
Answer

(A · B)′ = A′ + B′ and (A + B)′ = A′ · B′. Complementing a whole expression swaps AND for OR and complements each variable.

Q3[2 marks]
Why are NAND and NOR called universal gates?
Answer

Because any logic function whatsoever can be built using copies of just one of them. NOT, AND, OR and every larger circuit can be constructed from NAND alone, or from NOR alone, which is why chip manufacturers can make a whole processor from one repeated gate design.

Q4[4 marks]
Construct the truth table for X = A′ · B + A · B′ and state which single gate it is equivalent to.
Mark scheme
  1. Four rows for two inputs, with columns for A′ and B′[1]
  2. A=0,B=0 → 0; A=0,B=1 → 1A′·B is 1 in the second row[1]
  3. A=1,B=0 → 1; A=1,B=1 → 0[1]
  4. Output is 1 exactly when the inputs differ, so this is an XOR gatethe identification is the point of the question[1]

The table matches XOR: output 1 when A and B differ.

Q5[4 marks]
Simplify X = (A + B) · (A + B′) using Boolean laws, naming each law you use.
Mark scheme
  1. Expand: A·A + A·B′ + B·A + B·B′distributive law[1]
  2. A·A = A (idempotent) and B·B′ = 0 (complement)[1]
  3. X = A + A·B′ + A·Bthe zero term disappears[1]
  4. By absorption A + A·anything = A, so X = Anaming the law is required by the question[1]

X = A

Q6[6 marks]
A half adder adds two single bits.
  1. Write the truth table showing Sum and Carry for the four input combinations.
  2. State which gate produces the Sum and which produces the Carry.
  3. Explain why a half adder cannot be used for the second column of a multi-bit addition.
Mark scheme
  1. 0+0 → Sum 0, Carry 0; 0+1 → Sum 1, Carry 0[1]
  2. 1+0 → Sum 1, Carry 0; 1+1 → Sum 0, Carry 1the last row is the whole point — 1+1 in binary is 10[1]
  3. Sum is produced by an XOR gateoutput 1 when the inputs differ[1]
  4. Carry is produced by an AND gateoutput 1 only when both are 1[1]
  5. A half adder has only two inputs, so it has nowhere to accept the carry produced by the previous column[1]
  6. A full adder is needed instead, taking three inputs — A, B and carry-innaming the full adder is expected[1]

(b) XOR for Sum, AND for Carry (c) it has no carry-in input, so a full adder is required

04

System Troubleshooting

Multiple choice · 8

Q1The first step in troubleshooting is to:

  1. Areplace the suspect part
  2. Bidentify exactly what the problem is
  3. Creinstall the operating system
  4. Drestart repeatedly
Show answer

Correct answer: B — identify exactly what the problem is

You cannot form a useful theory until you know precisely what happens and when. Replacing parts before that is guessing with money.

Q2A computer boots normally from a USB live operating system but not from its own disk. This suggests:

  1. Afaulty RAM
  2. Ba software or disk problem on the installed system
  3. Ca broken monitor
  4. Da network fault
Show answer

Correct answer: B — a software or disk problem on the installed system

The hardware is clearly working, since the machine ran fine from other media. The fault lies in the installed system or the disk holding it.

Q3Beep codes at startup usually indicate:

  1. Aa software update
  2. Ba hardware fault detected before the display works
  3. Clow battery
  4. Da virus
Show answer

Correct answer: B — a hardware fault detected before the display works

Beeps are how the firmware reports a fault when it cannot yet show anything on screen — most often RAM or a graphics card that is not seated properly.

Q4The 3-2-1 backup rule means:

  1. A3 backups every 2 days for 1 month
  2. B3 copies, 2 media types, 1 off-site
  3. C3 disks, 2 servers, 1 cloud
  4. Dback up 3 times a day
Show answer

Correct answer: B — 3 copies, 2 media types, 1 off-site

Three copies survive multiple failures, two media types survive a whole technology failing, and the off-site copy survives fire or theft at the main location.

Q5A machine slows down badly only when several programs are open. The most likely cause is:

  1. Aa virus
  2. Binsufficient RAM causing swapping
  3. Ca faulty monitor
  4. Da network problem
Show answer

Correct answer: B — insufficient RAM causing swapping

The fault appearing only under memory pressure points at RAM. When it fills, the OS swaps pages to much slower disk, which is exactly what a user experiences as sudden sluggishness.

Q6Which is a preventive rather than a corrective action?

  1. AReinstalling a crashed program
  2. BCleaning dust from the fans
  3. CReplacing a failed disk
  4. DRestoring from backup
Show answer

Correct answer: B — Cleaning dust from the fans

Cleaning happens before anything is broken. The other three all respond to a fault that has already occurred.

Q7Documenting a fault and its fix is worth doing because:

  1. Ait is required by law
  2. Bit saves time when the fault recurs
  3. Cit speeds up the computer
  4. Dit prevents viruses
Show answer

Correct answer: B — it saves time when the fault recurs

The next occurrence — on that machine or another — is diagnosed in minutes rather than from scratch. It is also the step most often left out of exam answers.

Q8A printer will not print. The best first check is:

  1. Areinstall the operating system
  2. Breplace the printer
  3. Ccheck power, paper, ink and the cable
  4. Dupdate the BIOS
Show answer

Correct answer: C — check power, paper, ink and the cable

Start with the simplest and most likely causes. A printer out of paper is far more common than a broken one, and checking costs nothing.

Exam-style questions · 6

Q1[2 marks]
Why should only one change be made at a time when troubleshooting?
Answer

So that the outcome identifies the cause. If several things are changed together and the fault disappears, you do not know which change fixed it — and if it does not, you have introduced new variables that must themselves be undone.

Q2[2 marks]
State two software-based preventive maintenance tasks.
Answer

Any two of: installing operating system and application updates; running antivirus scans; taking regular backups; uninstalling unused software; clearing temporary files.

Q3[2 marks]
A computer has started shutting down unexpectedly during heavy use. Suggest a likely cause and one check.
Answer

Overheating is the most likely cause, since the fault appears under load. Check whether the fans are running and whether the vents are blocked with dust, and monitor the CPU temperature.

Q4[4 marks]
Describe, in order, the stages of a systematic troubleshooting process.
Mark scheme
  1. Identify the problem — establish exactly what happens and what changed recently[1]
  2. Establish a theory of the probable cause, starting with the simplest and most likely[1]
  3. Test the theory by changing one thing, and implement the fix if confirmed[1]
  4. Verify that the fault is gone and nothing else has broken, then document the fault and the solutiondocumentation is regularly omitted and regularly marked[1]

Identify, theorise, test, fix, verify, document.

Q5[4 marks]
Explain how you would determine whether a fault is caused by hardware or by software.
Mark scheme
  1. Boot the machine from alternative media, such as a USB drive with a live operating system[1]
  2. If the fault disappears in that environment, the installed software is at fault; if it persists, the hardware isthe interpretation is the mark, not the action[1]
  3. Test the suspect component in a known-good machine, or a known-good component in this machinecomponent swapping[1]
  4. Check whether the same fault occurs in more than one application — a fault in only one program points to that program rather than the hardware[1]

Boot from other media, swap components, and check whether the fault is confined to one application.

Q6[6 marks]
A school laboratory has repeated problems: machines run slowly by the end of term, and one machine recently lost a teacher's files when its disk failed.
  1. Suggest two likely reasons for the machines slowing down over a term.
  2. Describe a backup strategy that would have protected the lost files.
  3. Suggest one hardware maintenance task the school should schedule.
Mark scheme
  1. Accumulated temporary files, downloads and unused installed software filling the disk[1]
  2. Too many programs configured to start automatically, consuming RAM, and dust build-up causing the CPU to slow itself to avoid overheatingany second sensible cause[1]
  3. Follow the 3-2-1 rule: three copies of the data[1]
  4. On two different types of media, with one copy kept off-site or in cloud storage[1]
  5. Backups should be automatic and scheduled rather than left to the user, and should be tested by restoring from theman untested backup is not known to work[1]
  6. Hardware maintenance: clean dust from fans, vents and heatsinks each term, and check that all fans still spinaccept surge protection or checking disk health[1]

(a) accumulated files and startup programs, plus dust causing thermal throttling (b) 3-2-1, automated and tested (c) scheduled cleaning of fans and vents

05

Software System

Multiple choice · 8

Q1Which of these is system software?

  1. ASpreadsheet
  2. BWeb browser
  3. CAntivirus
  4. DPhoto editor
Show answer

Correct answer: C — Antivirus

Antivirus maintains and protects the machine rather than doing the user's own work, so it is a utility — a kind of system software. The other three are applications.

Q2A compiler differs from an interpreter in that it:

  1. Aruns one line at a time
  2. Btranslates the whole program before running
  3. Cneeds no translation
  4. Dworks only with assembly
Show answer

Correct answer: B — translates the whole program before running

The compiler produces a complete executable in advance. An interpreter translates each statement as it reaches it, every time the program runs.

Q3A device driver is needed because:

  1. Adevices are slow
  2. Bthe OS cannot know the commands of every device model
  3. Cdrivers save memory
  4. Dhardware is proprietary
Show answer

Correct answer: B — the OS cannot know the commands of every device model

There are thousands of printer and card models. The driver translates the OS's general request into the commands that one device understands, which is why a new printer needs new driver software.

Q4Which is a reason to run a server from a command line?

  1. Ait looks more professional
  2. Bit uses fewer system resources and can be scripted
  3. Cit is the only option
  4. DGUIs cannot manage files
Show answer

Correct answer: B — it uses fewer system resources and can be scripted

No desktop to draw means more memory and CPU for the server's real work, and commands can be saved as scripts and repeated automatically.

Q5An interpreter stops at the first error it encounters, which means:

  1. Aerrors are always fixed faster
  2. Ba program may run for a while before failing
  3. Cno errors are possible
  4. Dthe program never runs
Show answer

Correct answer: B — a program may run for a while before failing

Statements before the bad line have already been executed, so the program appears to work until it reaches the fault. A compiler would have reported the error before anything ran.

Q6Memory management by an operating system means:

  1. Aincreasing the amount of RAM
  2. Ballocating RAM to programs and keeping them separate
  3. Ccompressing files
  4. Ddeleting old data
Show answer

Correct answer: B — allocating RAM to programs and keeping them separate

The OS decides which program gets which region of memory and enforces the boundaries, which is what stops one crashing program from corrupting another.

Q7One disadvantage of open-source software for a business is:

  1. Ait cannot be modified
  2. Bsupport may be limited to community forums
  3. Cit costs more
  4. Dit has no source code
Show answer

Correct answer: B — support may be limited to community forums

There is no company contractually obliged to fix a fault. For a business that needs a guaranteed response time, that is a genuine risk, whatever the cost saving.

Q8An application wanting to save a file:

  1. Awrites to the disk directly
  2. Basks the operating system to do it
  3. Cuses the BIOS
  4. Dneeds a compiler
Show answer

Correct answer: B — asks the operating system to do it

Applications never touch hardware directly. The request goes to the OS, which handles the file system and the device driver — which is exactly why an OS must be installed first.

Exam-style questions · 6

Q1[2 marks]
Differentiate between system software and application software, giving one example of each.
Answer

System software manages and maintains the computer itself — for example Windows, an operating system. Application software performs tasks for the user — for example a word processor. The test is who the software serves: the machine, or the person using it.

Q2[2 marks]
State two functions of an operating system.
Answer

Any two of: process management (scheduling which program uses the CPU), memory management (allocating RAM and keeping programs separate), file management, device management through drivers, and providing a user interface.

Q3[2 marks]
What is utility software? Give one example.
Answer

Utility software is system software that maintains, analyses or protects the computer rather than doing the user's own work. Examples: antivirus, backup software, disk defragmenter, file compression.

Q4[4 marks]
Compare a compiler and an interpreter, giving two differences and one situation where each is preferable.
Mark scheme
  1. A compiler translates the entire program at once, producing an executable file; an interpreter translates and runs one line at a time[1]
  2. A compiler reports all errors together at the end of compilation; an interpreter halts at the first error it reaches[1]
  3. A compiler is preferable for finished software being distributed, since it runs faster and the source code need not be shipped[1]
  4. An interpreter is preferable while learning or testing, because a change can be run immediately with no compilation step[1]

Whole program vs line by line; all errors vs first error; compiled for distribution, interpreted for development.

Q5[4 marks]
A school is choosing between a proprietary office suite and an open-source one. Give two advantages of each.
Mark scheme
  1. Proprietary: professional technical support is guaranteed, with someone responsible for fixing faults[1]
  2. Proprietary: releases are formally tested, and compatibility with other schools and offices is more predictable[1]
  3. Open source: no licence cost, which for a school with many machines is a substantial saving[1]
  4. Open source: the source code can be inspected and modified, and the school is not locked into one supplier[1]

Proprietary: support and tested compatibility. Open source: no cost and freedom to modify.

Q6[6 marks]
A computer is being set up for a school computer laboratory.
  1. Explain why an operating system must be installed before any application software.
  2. Explain the role of a device driver, using a printer as an example.
  3. The laboratory manager wants to use a command-line interface on the server. Give two reasons this may be sensible.
Mark scheme
  1. Applications cannot access hardware directly — they make requests to the operating system, which carries them out[1]
  2. Without an OS there is nothing to load the application into memory, allocate it CPU time, or give it access to files[1]
  3. A device driver is software that translates general operating system requests into the specific commands one particular device understands[1]
  4. So the OS can say "print this page" without knowing anything about that printer model; installing a new printer means installing its driver[1]
  5. A CLI uses far fewer system resources than a graphical desktop, leaving more memory and CPU for the server's actual work[1]
  6. Commands can be written into scripts and repeated automatically, and a CLI works well over a slow remote connectioneither reason accepted[1]

(a) applications reach hardware only through the OS (b) a driver translates OS requests for one specific device (c) lighter on resources and scriptable

06

Introduction to Computer Networks

Multiple choice · 6

Q1Data is split into packets before transmission mainly because:

  1. APackets travel faster than whole files
  2. BLost data can be resent in small pieces and links can be shared
  3. CComputers cannot store whole files
  4. DIt encrypts the data
Show answer

Correct answer: B — Lost data can be resent in small pieces and links can be shared

Packet switching means a single lost packet costs one retransmission rather than a whole file, and many conversations can interleave on one link. Packets do not travel faster than anything — the medium sets the speed — and splitting provides no encryption at all.

Q2Which protocol would a live video call most likely use?

  1. ATCP, because reliability matters most
  2. BUDP, because late data is useless anyway
  3. CHTTP, because it is a web application
  4. DSMTP, because it streams
Show answer

Correct answer: B — UDP, because late data is useless anyway

A retransmitted video frame arrives after the moment it belonged to, so TCP's guarantees buy nothing and its waiting causes stalls. UDP tolerates a brief glitch to keep the call live. SMTP is for email.

Q3A MAC address differs from an IP address in that it is:

  1. AAssigned by your router each time you connect
  2. BFixed to the hardware and used only on the local network
  3. CAlways a public internet address
  4. DUsed to encrypt traffic
Show answer

Correct answer: B — Fixed to the hardware and used only on the local network

The MAC address is burned into the network interface and only has meaning within one local network segment. The IP address is assigned by the network you join and is what routing across the internet uses.

Q4The purpose of DNS is to:

  1. AEncrypt web traffic
  2. BTranslate domain names into IP addresses
  3. CSplit data into packets
  4. DChoose the fastest route
Show answer

Correct answer: B — Translate domain names into IP addresses

DNS is the internet's phone book, turning a human-readable name into the numeric address routing actually needs. Encryption is TLS, packetising is the transport layer, and route selection is the job of routers running IP.

Q5In the layered model, the main benefit of layers is that:

  1. AData travels faster
  2. BEach layer can be changed without disturbing the others
  3. CFewer packets are needed
  4. DIt removes the need for addresses
Show answer

Correct answer: B — Each layer can be changed without disturbing the others

Layering isolates concerns. Swapping ethernet for wifi replaces the data-link and physical layers entirely, and TCP, IP and your browser never notice. Layers add a little overhead rather than removing any.

Q6TCP establishes a connection using:

  1. AA single SYN message
  2. BA three-way handshake: SYN, SYN-ACK, ACK
  3. CA DNS lookup
  4. DAn encrypted certificate exchange
Show answer

Correct answer: B — A three-way handshake: SYN, SYN-ACK, ACK

Three messages confirm that both sides can send and receive before real data flows. The certificate exchange is the separate TLS handshake, which happens after the TCP connection is already up.

Exam-style questions · 6

Q1[2 marks]
State the difference between a LAN and a WAN.
Answer

A LAN covers a small geographical area such as one building and its hardware is usually owned by the organisation. A WAN covers a large area and typically uses third-party communication links.

Q2[2 marks]
Explain the purpose of an IP address and a MAC address.
Answer

An IP address identifies a device on a network and can change when the device moves to a different network. A MAC address is fixed in the hardware and uniquely identifies the network adapter itself.

Q3[3 marks]
Describe what happens when data is split into packets for transmission.
Answer

The data is divided into equal-sized blocks. Each packet carries a header with the source and destination addresses and its sequence number, and packets may travel by different routes and are reassembled in order at the destination.

Q4[8 marks]
A school is setting up a network for 30 computers in one building.
  1. State whether a LAN or a WAN is appropriate and justify your choice. [2]
  2. Describe the function of a router and of a switch in this network. [4]
  3. State two advantages of networking the computers rather than leaving them standalone. [2]
Mark scheme
  1. A LAN[1]
  2. The computers are all within a single building and the school owns the cabling[1]
  3. A switch connects devices within the LAN[1]
  4. It forwards each frame only to the port of the intended recipient, using MAC addresses[1]
  5. A router connects the LAN to another network, usually the internet[1]
  6. It forwards packets between networks using IP addresses[1]
  7. Advantage: files and printers can be shared[1]
  8. Advantage: software and backups can be managed centrally[1]
Q5[7 marks]
A student enters a web address into a browser and the page loads.
  1. Describe the role of the DNS in this process. [3]
  2. Explain the difference between HTTP and HTTPS. [2]
  3. State two reasons a school might use a firewall on this connection. [2]
Mark scheme
  1. The browser sends the domain name to a DNS server[1]
  2. The server looks up the matching IP address[1]
  3. The IP address is returned and the browser requests the page from that server[1]
  4. HTTPS encrypts the data in transit, HTTP sends it in plain text[1]
  5. So HTTPS protects information such as passwords from being read if intercepted[1]
  6. To block access to unsuitable or unauthorised sites[1]
  7. To inspect incoming traffic and block unauthorised access to the network[1]
Q6[5 marks]
A company is choosing between a wired and a wireless network for its office.
  1. Give one advantage of a wired connection. [1]
  2. Give one advantage of a wireless connection. [1]
  3. The company handles confidential data. Describe one security measure it should apply to a wireless network and explain how it helps. [3]
Mark scheme
  1. Faster and more reliable, with less interference[1]
  2. Devices can be moved freely and no cabling is needed[1]
  3. Use WPA encryption on the wireless network[1]
  4. Data sent over the air is scrambled[1]
  5. So anyone intercepting the signal cannot read it without the keyaccept MAC filtering or a strong passphrase, explained[1]
07

Computational Thinking

Multiple choice · 8

Q1Breaking a large problem into smaller parts is called:

  1. Aabstraction
  2. Bdecomposition
  3. Citeration
  4. Dvalidation
Show answer

Correct answer: B — decomposition

Decomposition splits the problem up. Abstraction is a different habit — removing irrelevant detail from whatever you are looking at.

Q2Which flowchart symbol has two exits?

  1. ARectangle
  2. BParallelogram
  3. CDiamond
  4. DRounded box
Show answer

Correct answer: C — Diamond

The decision diamond asks a yes/no question, so exactly two branches leave it and both must be labelled.

Q3An algorithm must be finite, meaning it:

  1. Auses few steps
  2. Balways stops
  3. Cfits on one page
  4. Dhas one input
Show answer

Correct answer: B — always stops

Finiteness is about termination. An algorithm may have thousands of steps and still be finite, provided it eventually stops.

Q4A metro map omitting real distances is an example of:

  1. Adecomposition
  2. Babstraction
  3. Can algorithm
  4. Dvalidation
Show answer

Correct answer: B — abstraction

Irrelevant detail — actual geography — has been removed so the useful information, the order of stations and the connections, stands out.

Q5For a rule "age must be 18 to 65", boundary test data would include:

  1. A30 and 40
  2. B18 and 65
  3. Cabc and −1
  4. D100 only
Show answer

Correct answer: B — 18 and 65

Boundary data sits exactly at the limits. Option A is normal data and option C is erroneous data — all three types should be tested, but only B is boundary.

Q6In a flowchart, an arrow without an arrowhead:

  1. Ais acceptable
  2. Bdoes not show the direction of flow and loses a mark
  3. Cmeans a loop
  4. Dindicates an error
Show answer

Correct answer: B — does not show the direction of flow and loses a mark

The whole purpose of the flow line is to say which way the logic runs. Without a head it says nothing, and examiners mark it as incomplete.

Q7Where should OUTPUT largest be placed when finding the biggest of ten numbers?

  1. Ainside the loop
  2. Bafter the loop
  3. Cbefore the loop
  4. Dit does not matter
Show answer

Correct answer: B — after the loop

Inside the loop it prints on every pass, giving ten lines. After the loop it runs once, with the final answer — which is what was asked for.

Q8A trace table is used to:

  1. Adraw a flowchart
  2. Bfollow an algorithm by hand and find logic errors
  3. Ccompile a program
  4. Dmeasure execution speed
Show answer

Correct answer: B — follow an algorithm by hand and find logic errors

Recording every variable at every step exposes errors on paper, long before the program is written and at a fraction of the cost.

Exam-style questions · 6

Q1[2 marks]
Define an algorithm.
Answer

A finite sequence of unambiguous instructions that solves a problem or completes a task, with clearly defined inputs and outputs.

Q2[2 marks]
Explain what is meant by abstraction, with an example.
Answer

Abstraction is removing the details that are not relevant to the problem being solved, so that the essential structure is easier to work with. A metro map shows the order of the stations and the connections between lines, but omits real distances and street layout — which makes it more useful for planning a journey, not less.

Q3[2 marks]
State two differences between a flowchart and pseudocode.
Answer

A flowchart is graphical, using standard shapes and arrows, and shows the flow of control visually. Pseudocode is textual, resembles program code and is quicker to write and to translate into a real language. Flowcharts become unwieldy for long algorithms, where pseudocode stays readable.

Q4[4 marks]
Write an algorithm in pseudocode that reads a student's marks out of 100 and prints "Pass" if the mark is 40 or more and "Fail" otherwise. Include validation that rejects marks outside 0–100.
Mark scheme
  1. INPUT mark[1]
  2. Validation: WHILE mark < 0 OR mark > 100 → OUTPUT "Invalid" and INPUT mark againa loop, not a single if — the user may enter a bad value twice[1]
  3. IF mark >= 40 THEN OUTPUT "Pass"the >= is required; > alone fails a mark of exactly 40[1]
  4. ELSE OUTPUT "Fail" ENDIF[1]

Input with a validation loop, then IF mark >= 40 output Pass ELSE output Fail.

Q5[4 marks]
Complete a trace table for this algorithm with input 4: SET total = 0; SET i = 1; WHILE i <= n DO total = total + i; i = i + 1; ENDWHILE; OUTPUT total
Mark scheme
  1. Columns for n, i, total, and outputone column per variable[1]
  2. After pass 1: i = 2, total = 1; after pass 2: i = 3, total = 3[1]
  3. After pass 3: i = 4, total = 6; after pass 4: i = 5, total = 10[1]
  4. The loop ends because 5 > 4; output is 10the algorithm sums 1 to n[1]

Output 10 — the algorithm computes 1 + 2 + 3 + 4.

Q6[6 marks]
A school wants a program that records attendance for every class each day and produces a monthly report.
  1. Describe how decomposition would be applied to this problem.
  2. Give one example of abstraction in this system.
  3. Explain why the algorithm should be tested with boundary data, giving one example of such data.
Mark scheme
  1. Break the system into separate sub-problems, such as: record one student's attendance; store a day's records; calculate one student's monthly totalat least two named sub-problems[1]
  2. And: produce the report; handle login. Each is small enough to be designed and tested on its ownthe reason for decomposing is part of the answer[1]
  3. Abstraction: store only what the task needs — a student's roll number and present/absent flag — and ignore irrelevant details such as their address or hobbies[1]
  4. The unnecessary detail would make the system larger and slower without improving the report[1]
  5. Boundary data tests the values at the edges of what is acceptable, which is where most errors occur[1]
  6. Example: a month with 31 days, or a class with exactly one student, or an attendance percentage of exactly 75% if that is the pass thresholdany sensible boundary value[1]

(a) split into recording, storing, calculating and reporting (b) store only roll number and present/absent (c) edges are where errors hide — e.g. exactly 75% attendance

08

Web Development with HTML, CSS and JavaScript

Multiple choice · 8

Q1Which language controls the appearance of a web page?

  1. AHTML
  2. BCSS
  3. CJavaScript
  4. DSQL
Show answer

Correct answer: B — CSS

CSS handles colour, layout and spacing. HTML defines what the content is, not how it looks.

Q2Which nesting is correct?

  1. A<b><i>text</b></i>
  2. B<b><i>text</i></b>
  3. C<b><i>text</b>
  4. D<b>text</i>
Show answer

Correct answer: B — <b><i>text</i></b>

The element opened last must close first. Option A crosses the tags over, which produces an invalid tree.

Q3A CSS selector beginning with # selects:

  1. Aall elements of that type
  2. Belements with that class
  3. Cthe one element with that id
  4. Dnothing
Show answer

Correct answer: C — the one element with that id

A hash selects by id, and an id must be unique on the page. A dot would select by class, which may repeat.

Exam-style questions · 6

Q1[2 marks]
State the purpose of HTML, CSS and JavaScript in a web page.
Answer

HTML defines the structure and content. CSS controls the presentation — colour, layout and spacing. JavaScript adds behaviour, responding to user actions after the page has loaded.

Q2[2 marks]
Why should the alt attribute be included on every image?
Answer

It provides a text description that a screen reader announces to a visually impaired user, and it is displayed if the image fails to load. It also gives search engines something to index.

Q3[2 marks]
Differentiate between a CSS class and an id.
Answer

A class is written with a leading dot and may be applied to many elements on a page. An id is written with a leading hash and must identify exactly one element.

Q4[4 marks]
Give two advantages of using an external stylesheet rather than inline styles, and state how it is linked to a page.
Mark scheme
  1. One change in the stylesheet updates every page that links to it, instead of editing each page individuallyconsistency and maintenance[1]
  2. The browser caches the file, so it is downloaded once rather than repeated inside every page — pages load faster[1]
  3. The HTML stays shorter and easier to read, with structure and presentation kept separateany third valid advantage accepted for this mark[1]
  4. Linked with <link rel="stylesheet" href="style.css"> inside the <head>the tag must be in the head[1]

Site-wide changes from one file, caching, and cleaner HTML; linked with a tag in the head.

Q5[4 marks]
Write the HTML for an unordered list of three subjects, where the first item links to physics.html.
Mark scheme
  1. Opens with <ul> and closes with </ul>ul for unordered; ol would be numbered[1]
  2. Three <li> … </li> items, each properly closed[1]
  3. First item contains <a href="physics.html">Physics</a>the href attribute is required[1]
  4. The anchor is nested inside the li, not wrapped around itcorrect nesting[1]

<ul><li><a href="physics.html">Physics</a></li><li>Maths</li><li>Computer</li></ul>

Q6[6 marks]
A student builds a school website. It works on their laptop but users complain that it is unusable on a phone, and that a form accepts invalid email addresses.
  1. Explain what responsive design is and why it matters here.
  2. Explain how JavaScript could check the email field before the form is submitted.
  3. Explain why that check alone is not enough.
Mark scheme
  1. Responsive design means the layout adapts to the size of the screen it is being viewed on[1]
  2. Achieved with relative units, flexible layouts and media queries rather than fixed pixel widths[1]
  3. Most visitors browse on phones, so a fixed desktop layout fails the majority of the audiencethe reason must connect to the users[1]
  4. JavaScript can listen for the form's submit event, read the value of the email field and test its format[1]
  5. If it is invalid, the script cancels the submission and displays a message — with no trip to the server, so the response is immediate[1]
  6. Client-side validation can be bypassed: a user can disable JavaScript or send the request directly, so the data must also be validated on the serverthe security point is the mark[1]

(a) layout adapts to screen size, and most visitors are on phones (b) listen for submit, test the value, cancel if invalid (c) client-side checks can be bypassed, so the server must validate too

09

Data Science and Data Gathering

Multiple choice · 8

Q1The numbers 12, 45, 78 with no context are an example of:

  1. Ainformation
  2. Bdata
  3. Cknowledge
  4. Danalysis
Show answer

Correct answer: B — data

They are raw facts with no meaning attached. Adding context — "marks out of 100 in a test" — turns them into information.

Q2Which is primary data?

  1. AGovernment census figures
  2. BA survey you conducted yourself
  3. CA published research paper
  4. DLast year's school records
Show answer

Correct answer: B — A survey you conducted yourself

Primary data is gathered by you for your own question. The other three already existed and were collected for other purposes.

Q3Data cleaning includes:

  1. Adrawing charts
  2. Bremoving duplicates and correcting errors
  3. Cwriting the report
  4. Dchoosing a sample
Show answer

Correct answer: B — removing duplicates and correcting errors

Cleaning happens between collection and analysis, and it typically takes longer than the analysis itself.

Q4A survey of internet use asks only people in an internet café. This sample is:

  1. Arandom
  2. Bstratified
  3. Cbiased
  4. Dtoo large
Show answer

Correct answer: C — biased

Everyone asked is already an internet user, so people without access — the group whose answers would differ most — are excluded entirely.

Q5Increasing a biased sample from 100 to 5000 people:

  1. Aremoves the bias
  2. Bmeasures the wrong thing more precisely
  3. Cmakes it random
  4. Dhas no effect at all
Show answer

Correct answer: B — measures the wrong thing more precisely

Bias is a fault in who is included. A larger sample narrows the uncertainty around an answer that is still systematically wrong.

Q6Which chart best shows monthly rainfall across one year?

  1. APie chart
  2. BLine graph
  3. CScatter plot
  4. DVenn diagram
Show answer

Correct answer: B — Line graph

The data is ordered in time and continuous, so a line graph reveals the seasonal trend. A pie chart would show proportions and hide the pattern.

Q7A scatter plot shows ice cream sales rising with drowning deaths. This means:

  1. Aice cream causes drowning
  2. Bthere is a correlation but not necessarily a cause
  3. Cthe data is wrong
  4. Ddrowning causes ice cream sales
Show answer

Correct answer: B — there is a correlation but not necessarily a cause

Hot weather increases both independently. Correlation shows two things move together; establishing a cause needs a separate investigation.

Q8In a dataset of daily temperatures, three readings of 400 °C should be:

  1. Akept, as they may be real
  2. Btreated as errors and removed
  3. Creplaced with zero
  4. Daveraged with the others
Show answer

Correct answer: B — treated as errors and removed

They are physically impossible and are sensor faults. Averaging them in would raise the mean substantially and produce a confident, wrong conclusion.

Exam-style questions · 6

Q1[2 marks]
Differentiate between data and information, with an example.
Answer

Data is raw unprocessed facts with no context, such as the numbers 45, 62, 71. Information is data that has been given meaning — those are three students' marks out of 100 in a physics test.

Q2[2 marks]
State one advantage and one disadvantage of secondary data.
Answer

Advantage: it already exists, so it is quick and cheap to obtain and often covers a far larger population than you could survey. Disadvantage: it was collected for a different purpose, so it may be out of date or may not exactly answer your question, and you cannot verify how carefully it was gathered.

Q3[2 marks]
What is meant by bias in a sample?
Answer

Bias occurs when the sample is not representative of the population, so certain groups are over- or under-represented and the results are systematically wrong. For example, surveying only smartphone owners about internet access excludes exactly the people whose answers would differ.

Q4[4 marks]
Describe the stages of the data science process.
Mark scheme
  1. Define the question or problem to be answeredcollecting before deciding what you want to know produces unusable data[1]
  2. Collect the data from appropriate primary or secondary sources[1]
  3. Clean it — remove duplicates, correct errors and handle missing valuesthe stage most often omitted[1]
  4. Analyse it, then present the findings in a suitable visual form[1]

Define the question, collect, clean, analyse, present.

Q5[4 marks]
A school surveys students about canteen food by asking the first 30 students to arrive one morning.
  1. Explain why this sample may be biased.
  2. Suggest a better sampling method and justify it.
Mark scheme
  1. The first students to arrive are not typical — they may live nearby, travel by a particular route, or be in certain year groups[1]
  2. Their views on the canteen may differ systematically from those of students who arrive later, so the sample is unrepresentativethe link to unrepresentativeness is the mark[1]
  3. A stratified sample would divide students by year group and sample each in proportion to its sizeaccept random sampling from the full roll[1]
  4. This ensures every year group is represented in the correct proportion, so the results reflect the whole schoolthe justification is required[1]

(a) early arrivals are not typical of the school (b) stratified sampling by year group, so each is represented proportionally

Q6[6 marks]
A researcher collects daily temperature readings from an automatic sensor for one year.
  1. Give two advantages of using a sensor rather than manual readings.
  2. The dataset contains three days recorded as 400 °C and eleven days with no reading at all. Describe how you would handle each.
  3. Suggest the most suitable chart for showing how temperature varied over the year, and justify your choice.
Mark scheme
  1. A sensor records continuously and automatically, so no readings are forgotten and none are affected by human error in reading a scale[1]
  2. It can record far more frequently than a person could, and at times when nobody is present[1]
  3. The 400 °C values are clearly impossible and are sensor errors, so they should be removed or marked as invalid rather than analysedidentifying them as outliers or errors[1]
  4. The missing days should be recorded as missing, not as zero — entering 0 °C would drag the mean down and invent a cold spell that never happenedthis is the key insight[1]
  5. A line graph, with date on the horizontal axis and temperature on the vertical[1]
  6. Because the data is continuous and ordered in time, a line graph shows the trend and the seasonal pattern that separate bars would obscurethe justification is the mark[1]

(a) continuous automatic recording, no human error (b) discard the impossible values; mark the gaps as missing, never as zero (c) a line graph, because the data is continuous over time

10

Emerging Technologies in Computer Science

Multiple choice · 8

Q1Renting server capacity by the hour over the internet is:

  1. Athe Internet of Things
  2. Bcloud computing
  3. Cblockchain
  4. Dbig data
Show answer

Correct answer: B — cloud computing

Cloud computing means renting computing resources from a provider instead of owning hardware.

Q2Gmail is an example of which cloud model?

  1. AIaaS
  2. BPaaS
  3. CSaaS
  4. DNone
Show answer

Correct answer: C — SaaS

You use the finished application without managing any platform or infrastructure — software as a service.

Q3The main security weakness of IoT devices is:

  1. Athey are too fast
  2. Bdefault passwords and a lack of updates
  3. Cthey use too much power
  4. Dthey cannot connect
Show answer

Correct answer: B — default passwords and a lack of updates

Cheap devices ship with known default credentials and often receive no firmware updates, leaving vulnerabilities open for the life of the device.

Q4In a blockchain, each block contains:

  1. Aa copy of all previous blocks
  2. Ba hash of the previous block
  3. Cthe user's password
  4. Dnothing but transactions
Show answer

Correct answer: B — a hash of the previous block

The chained hashes are what make tampering detectable: altering an old record changes its hash and breaks every block after it.

Q5Blockchain is a poor choice when:

  1. Ano party can be trusted
  2. Brecords must be tamper-evident
  3. Cone trusted organisation owns the data
  4. Dmany parties share a ledger
Show answer

Correct answer: C — one trusted organisation owns the data

Its whole purpose is removing the need for a trusted party. If you already have one, an ordinary database does the job far faster and more cheaply.

Q6Which is the strongest business argument for cloud computing?

  1. Ait is always cheaper
  2. Bcapacity can grow and shrink on demand
  3. Cit needs no internet
  4. Ddata is more private
Show answer

Correct answer: B — capacity can grow and shrink on demand

Scalability avoids buying hardware for a peak that lasts three days a year. It is not always cheaper, it requires connectivity, and privacy is a risk rather than a benefit.

Q7A key limitation of AI systems is that they:

  1. Awork too slowly
  2. Breflect the biases in their training data
  3. Ccannot store data
  4. Dneed no electricity
Show answer

Correct answer: B — reflect the biases in their training data

A model learns the patterns in what it was shown, including unfair ones, and generally cannot explain the reasoning behind a decision.

Q8Augmented reality differs from virtual reality in that it:

  1. Areplaces the real world entirely
  2. Boverlays information onto the real world
  3. Cneeds no hardware
  4. Dis only for games
Show answer

Correct answer: B — overlays information onto the real world

AR adds to what you can already see; VR substitutes a wholly simulated environment for it.

Exam-style questions · 6

Q1[2 marks]
Define cloud computing and state one advantage.
Answer

Cloud computing is the delivery of computing resources — storage, processing power, software — over the internet, rented from a provider rather than owned. One advantage is scalability: capacity can be increased for a busy period and reduced afterwards, so you pay only for what you use.

Q2[2 marks]
Give two disadvantages of cloud computing for a business.
Answer

It depends entirely on internet connectivity — an outage stops all work. And the data is stored on hardware the business does not control, raising security and legal questions about who can access it and in which country it is held.

Q3[2 marks]
What is the Internet of Things? Give one example.
Answer

The Internet of Things is the network of everyday physical objects fitted with sensors and network connections, which collect and exchange data automatically. Example: a smart thermostat that reports the temperature and can be adjusted remotely.

Q4[4 marks]
Explain why Internet of Things devices are a security concern, and state two measures that reduce the risk.
Mark scheme
  1. IoT devices are cheap and produced in huge numbers, and many ship with default passwords that users never change[1]
  2. They often receive no security updates after release, so a known vulnerability remains exploitable for the life of the devicethis is the core of the problem[1]
  3. Measure: change default credentials immediately and apply any firmware updates the manufacturer provides[1]
  4. Measure: place IoT devices on a separate network from computers holding important data, so a compromised device cannot reach themnetwork segmentation[1]

Default passwords and absent updates; fix with changed credentials and a separate network.

Q5[4 marks]
Explain how a blockchain makes records tamper-evident, and give one situation where an ordinary database would be a better choice.
Mark scheme
  1. Records are grouped into blocks, and each block stores a cryptographic hash of the previous block[1]
  2. Changing an old record changes its hash, which invalidates every block after it, so the alteration is immediately detectable[1]
  3. The ledger is copied across many computers, so a single altered copy disagrees with the rest and is rejecteddistribution is essential to the argument[1]
  4. An ordinary database is better when one trusted organisation owns the data — it is far faster, cheaper and uses vastly less energy[1]

Chained hashes plus many copies make tampering detectable; a normal database is better when there is a trusted owner.

Q6[6 marks]
A hospital is considering moving its patient records to a cloud provider.
  1. Give two benefits the hospital would gain.
  2. Give two risks it must consider.
  3. Suggest one measure that would reduce those risks.
Mark scheme
  1. Records become accessible from any authorised device in the hospital, and from other sites if a patient is transferred[1]
  2. The provider handles backup, redundancy and hardware maintenance, so the hospital needs no server room or specialist staff[1]
  3. Risk: a loss of internet connectivity would make patient records unavailable, which in a hospital could be dangerous[1]
  4. Risk: highly sensitive personal data is stored on a third party's hardware, possibly in another country with different privacy laws[1]
  5. Measure: encrypt all records both in transit and at rest, so intercepted or stolen data is unreadable[1]
  6. And keep a local cached or offline copy of critical records so care can continue during an outageaccept a contract specifying the country of storage[1]

(a) access anywhere, and no maintenance burden (b) outage risk and loss of control over sensitive data (c) encryption plus a local copy for outages

11

Ethical, Social and Legal Concerns in Computer Usage

Multiple choice · 8

Q1Selling users' data in a way disclosed only in clause 47 of long terms is:

  1. Aillegal and unethical
  2. Bpossibly legal but ethically questionable
  3. Clegal and ethical
  4. Dneither
Show answer

Correct answer: B — possibly legal but ethically questionable

Disclosure in the terms may satisfy the law, but consent buried where nobody reads it is not meaningful agreement — the distinction between legal and ethical is exactly the point.

Q2The most reliable defence against ransomware is:

  1. Aantivirus software
  2. Ba strong password
  3. Coffline backups
  4. Dpaying the ransom
Show answer

Correct answer: C — offline backups

A disconnected backup cannot be encrypted, so files can be restored without paying. Paying is unreliable — there is no guarantee a key is supplied.

Q3Phishing works primarily by attacking:

  1. Athe operating system
  2. Bthe network cable
  3. Cthe person
  4. Dthe antivirus
Show answer

Correct answer: C — the person

It relies on deceiving a human into handing over credentials. No software vulnerability is required, which is why training matters as much as technical defences.

Q4Data minimisation means:

  1. Acompressing files
  2. Bcollecting only what is needed for the stated purpose
  3. Cdeleting all data
  4. Dusing small databases
Show answer

Correct answer: B — collecting only what is needed for the stated purpose

It is a privacy principle, not a storage technique. Data never collected cannot be leaked, misused or stolen.

Q5Copyright on a piece of software:

  1. Amust be registered to exist
  2. Bexists automatically when the work is created
  3. Clasts one year
  4. Dapplies only to printed material
Show answer

Correct answer: B — exists automatically when the work is created

Copyright arises automatically on creation. A licence is separate — it states what others are permitted to do with the copyrighted work.

Q6Two-factor authentication protects against:

  1. Aa stolen password being enough to log in
  2. Bviruses
  3. Cslow internet
  4. Dhardware failure
Show answer

Correct answer: A — a stolen password being enough to log in

Even with the correct password, an attacker still needs the second factor — typically a code on the owner's phone.

Q7The digital divide describes:

  1. Athe gap between fast and slow computers
  2. Bthe gap between those with and without access to technology
  3. Cthe split between hardware and software
  4. Ddifferences between operating systems
Show answer

Correct answer: B — the gap between those with and without access to technology

It is about access to devices, connectivity and skills. It matters most when essential services move online and assume everyone can reach them.

Q8Using an image from the internet in your own published work without permission is:

  1. Aalways allowed
  2. Bcopyright infringement unless licensed or permitted
  3. Cplagiarism only
  4. Dlegal if you change it slightly
Show answer

Correct answer: B — copyright infringement unless licensed or permitted

The image is copyrighted from the moment it was created. Altering it slightly does not create a new work you own, and "it was on the internet" is not a licence.

Exam-style questions · 6

Q1[2 marks]
Differentiate between a legal issue and an ethical issue in computing, with an example of each.
Answer

A legal issue concerns what the law permits — for example copying licensed software without paying, which breaches copyright. An ethical issue concerns what is right regardless of the law — for example a company legally selling users' browsing histories to advertisers without making that clear.

Q2[2 marks]
What is phishing, and state one way to recognise it?
Answer

Phishing is an attempt to obtain personal information such as passwords by sending a message that imitates a trusted organisation. Recognise it by checking the sender's actual address and the real destination of any link, and by treating urgency — "your account will be closed today" — as a warning sign rather than a reason to hurry.

Q3[2 marks]
What is meant by the digital divide?
Answer

The digital divide is the gap between people who have reliable access to computers and the internet and those who do not — whether because of cost, location, or lack of skills. It matters because as services move online, those without access are excluded from them.

Q4[4 marks]
State four principles that should govern an organisation's handling of personal data.
Mark scheme
  1. Collect only the data needed for a clearly stated purpose (data minimisation)[1]
  2. Use it only for that stated purpose, and obtain informed consent[1]
  3. Keep it accurate, secure and protected against unauthorised access[1]
  4. Retain it no longer than necessary, and allow individuals to see and correct what is held about them[1]

Minimise, use only for the stated purpose, keep secure and accurate, and delete when done.

Q5[4 marks]
Explain how ransomware works and why offline backups are the most effective protection.
Mark scheme
  1. Ransomware is malware that encrypts the victim's files so they cannot be opened[1]
  2. It then demands payment in exchange for the decryption key, with no guarantee the key will be supplied[1]
  3. It encrypts everything it can reach, including attached backup drives and automatically synchronised cloud foldersthis is why ordinary backups fail[1]
  4. A backup kept disconnected cannot be reached and therefore cannot be encrypted, so the files can be restored without paying[1]

It encrypts files and demands payment; only a disconnected backup is out of its reach.

Q6[6 marks]
A social media company collects users' location data continuously and sells summaries of it to advertisers. Its terms and conditions mention this in clause 47 of a 40-page document.
  1. Explain whether this is a legal issue, an ethical issue, or both.
  2. Explain what "informed consent" would require here.
  3. Describe two harms that could result from this data being leaked.
Mark scheme
  1. It may well be legal, since the practice is disclosed in the terms the user agreed to[1]
  2. But it is ethically questionable, because burying it in clause 47 of a document nobody reads means users have not meaningfully agreedboth categories must be addressed[1]
  3. Informed consent requires the user to be told clearly, in plain language and before agreeing, exactly what is collected and who it is shared with[1]
  4. It must be a genuine choice — the service should not be withheld unless the user agrees to data collection unrelated to providing it[1]
  5. Harm: a continuous location history reveals home and workplace addresses, daily routines and religious or medical visits, enabling stalking or burglary[1]
  6. Harm: it could be used for identity theft, blackmail, or discrimination by employers or insurersany second concrete harm[1]

(a) probably legal but ethically poor (b) plain language, in advance, a genuine choice (c) stalking or burglary from routine data; blackmail or discrimination

12

Entrepreneurship in the Digital Age

Multiple choice · 8

Q1A minimum viable product is:

  1. Aa cheap low-quality product
  2. Bthe smallest version that delivers real value and tests an assumption
  3. Cthe final product
  4. Da prototype nobody uses
Show answer

Correct answer: B — the smallest version that delivers real value and tests an assumption

It is deliberately narrow, not unfinished. Its whole purpose is to learn whether the idea works before the full product is built.

Q2Which model charges a recurring fee for ongoing access?

  1. AE-commerce
  2. BSubscription
  3. CAdvertising
  4. DMarketplace
Show answer

Correct answer: B — Subscription

Subscription suits products whose value continues over time, such as software or a service used every month.

Q3A business with revenue of Rs 900 000 and costs of Rs 950 000 is:

  1. Amaking a profit of 50 000
  2. Bmaking a loss of 50 000
  3. Cbreaking even
  4. Dprofitable but illiquid
Show answer

Correct answer: B — making a loss of 50 000

Profit = revenue − costs = −50 000. High revenue says nothing about profitability on its own.

Q4Cash flow problems can close a business that is:

  1. Amaking a loss only
  2. Bprofitable, if money arrives later than it leaves
  3. Cnot selling anything
  4. Dtoo small
Show answer

Correct answer: B — profitable, if money arrives later than it leaves

If wages are due on the first and customers pay in sixty days, the account can be empty while the business is profitable on paper. This is a very common cause of failure.

Q5The main risk of a freemium model is that:

  1. Afree users cost money and few upgrade
  2. Bnobody tries the product
  3. Cit is illegal
  4. Dit needs no marketing
Show answer

Correct answer: A — free users cost money and few upgrade

Serving free users has a real cost, and typical conversion rates are a few per cent. Growth in users can mean growth in losses.

Q6Testing an idea by running the service manually before building software:

  1. Awastes time
  2. Bvalidates demand cheaply before committing to development
  3. Cis dishonest
  4. Donly works for shops
Show answer

Correct answer: B — validates demand cheaply before committing to development

The customer receives the actual value and you learn what to build. If nobody wants it, you have lost days rather than months.

Q7SEO helps a business by:

  1. Areducing hosting costs
  2. Battracting visitors who searched for what it offers
  3. Cencrypting data
  4. Dautomating payments
Show answer

Correct answer: B — attracting visitors who searched for what it offers

People searching for a solution are already interested, which is why search traffic converts better than untargeted advertising.

Q8Which is the strongest evidence that an idea has demand?

  1. Amany social media likes
  2. Bfriends saying it is a good idea
  3. Ccustomers paying for it
  4. Da large sign-up list
Show answer

Correct answer: C — customers paying for it

Likes, encouragement and free sign-ups cost the customer nothing. Payment is the only signal that someone valued the product above the money.

Exam-style questions · 6

Q1[2 marks]
What is digital entrepreneurship?
Answer

Identifying a problem and building a business that solves it using digital tools and platforms — cloud services, online marketplaces, digital payments — rather than traditional premises and infrastructure. The entrepreneur takes the risk in exchange for the potential reward.

Q2[2 marks]
Explain the freemium business model and one risk it carries.
Answer

Freemium offers a basic version free and charges for an upgraded one. The risk is that free users still cost money to serve while only a small percentage ever upgrade, so the business can grow its user numbers and its losses at the same time.

Q3[2 marks]
What is a minimum viable product?
Answer

The smallest version of a product that still delivers real value to a real user and generates feedback. Its purpose is to test the central assumption cheaply, before the full product is built.

Q4[4 marks]
A student plans an online shop selling handmade crafts. State two digital tools that reduce start-up costs and explain how each helps.
Mark scheme
  1. An existing online marketplace or social media page provides an audience and a shopfront[1]
  2. So there is no need to build a website or pay for premises before the first salethe explanation is the mark, not the naming[1]
  3. A digital payment gateway accepts card and mobile paymentsaccept cloud hosting or free design tools[1]
  4. So the seller can take money from anywhere without setting up merchant infrastructure of their own[1]

A marketplace supplies audience and shopfront; a payment gateway supplies the ability to take money.

Q5[4 marks]
A business has monthly revenue of Rs 400 000 and monthly costs of Rs 350 000, but customers pay 60 days after invoicing while staff are paid monthly.
  1. Calculate the monthly profit.
  2. Explain why the business may still run out of money.
Mark scheme
  1. Profit = revenue − costs = 400 000 − 350 000[1]
  2. = Rs 50 000 per monththe business is profitable[1]
  3. Money leaves the business immediately for wages but arrives 60 days later from customers[1]
  4. So the account can be empty even though the business is profitable — this is a cash flow problem, and it can force closurenaming cash flow is expected[1]

Profit Rs 50 000/month, but a 60-day gap between paying costs and receiving revenue creates a cash flow problem.

Q6[6 marks]
A group of students has an idea for an app that helps farmers identify crop diseases from a photograph.
  1. Describe how they could test the idea before building the app.
  2. Suggest a suitable business model and justify it.
  3. Identify two risks the business faces.
Mark scheme
  1. Talk to farmers first to establish that identifying diseases is genuinely a problem they face and currently handle badlyvalidating the assumption[1]
  2. Build an MVP where farmers send a photograph by WhatsApp and an agricultural expert replies manuallydelivers the value with no app[1]
  3. Measure whether farmers use it repeatedly and whether they will pay, before writing any software[1]
  4. A freemium or low-cost subscription model: a few free identifications, then a small monthly feeaccept any justified model[1]
  5. Justified because the value is ongoing across a growing season, and farmers may be unwilling to pay before seeing it workthe justification must fit the customer[1]
  6. Risks: farmers may have limited smartphone access or connectivity in rural areas; a wrong identification could destroy a crop and the business's reputationtwo risks needed[1]

(a) interview farmers, then run it manually over WhatsApp (b) freemium or low subscription, since value is ongoing (c) rural connectivity, and the consequences of a wrong diagnosis

These questions come from the 9th Class Computer Science lessons — each topic has its own notes, worked examples and an interactive diagram.