10th Class Computer Science — MCQs & Practice Questions
64 multiple-choice questions and 48 exam-style questions with mark schemes, organised by chapter, with answers you can check as you go. Free, no sign-up.
Q1The always-resident core of an operating system is called the:
Ashell
Bkernel
Cdriver
DBIOS
Show answer
Correct answer: B — kernel
The kernel manages the CPU, memory and devices and stays in memory throughout. The shell is the user interface and can be replaced.
Q2Twenty programs appear to run at once on one core because the OS:
Auses more cores
Bswitches between them very quickly
Ccompresses them
Druns them on the GPU
Show answer
Correct answer: B — switches between them very quickly
Time-slicing gives each a few milliseconds in turn. Only one instruction actually executes at any moment.
Q3A slow machine with constant disk activity most likely indicates:
Aa virus
BRAM is full and the OS is paging
Ca broken monitor
Dtoo few cores
Show answer
Correct answer: B — RAM is full and the OS is paging
The disk is busy because memory pages are being written out and read back. If the CPU were the bottleneck the processor, not the disk, would be saturated.
Q4Which operating system type guarantees a maximum response time?
AMulti-user
BReal-time
CSingle-tasking
DDistributed
Show answer
Correct answer: B — Real-time
A real-time OS is used where a late response is as dangerous as a wrong one — patient monitors, vehicle control, industrial machinery.
Q5File permissions typically control:
Afile size
Bread, write and execute rights
Cthe file format
Ddisk speed
Show answer
Correct answer: B — read, write and execute rights
Each is granted separately to the owner, a group and everyone else, which is how a system lets some users read a file while preventing them from changing it.
Q6Emptying the recycle bin means the data is:
Asecurely erased
Bstill on the disk until overwritten
Cmoved to the cloud
Dcompressed
Show answer
Correct answer: B — still on the disk until overwritten
Only the index entry is removed. Recovery software can retrieve the contents, which is why a disk being sold must be securely wiped.
Q7Virtual memory addressing allows the OS to:
Aincrease physical RAM
Bgive each program a private address space mapped onto real RAM
Cspeed up the CPU
Dremove the need for a disk
Show answer
Correct answer: B — give each program a private address space mapped onto real RAM
Programs are written without knowing where they will sit in memory, and the mapping is what prevents one program from reading another's data.
Q8Adding RAM helps a heavily paging machine more than a faster SSD because it:
Aremoves the need to page at all
Bmakes the disk faster
Creduces CPU load
Dincreases clock speed
Show answer
Correct answer: A — removes the need to page at all
A faster disk shortens each swap; more RAM means the swap never has to happen. Removing the cause beats reducing the symptom.
Exam-style questions · 6
Q1[2 marks]
What is the kernel of an operating system?
Answer
The core of the OS, permanently resident in memory, which manages the CPU, memory and devices and controls access to them. Other parts of the OS such as the user interface can be restarted or replaced; the kernel cannot.
Q2[2 marks]
Explain how a single-core processor appears to run several programs at once.
Answer
Through time-slicing: the operating system gives each program a few milliseconds of CPU time in turn and switches between them far faster than a person can perceive. Only one instruction is ever executing, so the simultaneity is an illusion.
Q3[2 marks]
Why should everyday work not be done from an administrator account?
Answer
Any program that runs inherits the permissions of the account that started it. Malware launched from an administrator account can therefore alter system files and install itself permanently, whereas the same malware run from a standard account is confined to that user's own files.
Q4[4 marks]
Describe four services provided by an operating system.
Mark scheme
Process management — scheduling which program uses the CPU and for how long[1]
Memory management — allocating RAM to each program and keeping them separate[1]
File management — organising storage into files and folders and controlling access to them[1]
Device management — communicating with hardware through drivers; also accept security and user accounts[1]
Process, memory, file and device management — plus security and the user interface.
Q5[4 marks]
A computer with 4 GB of RAM becomes extremely slow when many applications are open, and the disk activity light stays on. Explain the cause and suggest two solutions.
Mark scheme
RAM has filled, so the OS is moving pages of memory out to disk — paging or swappingthe constant disk light is the clue[1]
Disk access is thousands of times slower than RAM, so every switch between programs now waits on the diskthe speed gap is the explanation[1]
Solution: close unused applications and reduce the number of programs starting automatically[1]
Solution: install more RAM, which removes the need to page rather than merely making paging fasteran SSD helps but does not fix the cause[1]
RAM is full and the OS is paging to disk. Close programs, or add RAM.
Q6[6 marks]
A hospital uses computers for two very different jobs: office machines for administration, and a monitor attached to a patient that must raise an alarm within a guaranteed time.
State the type of operating system suited to each, with a reason.
Explain what "real-time" guarantees and why it matters here.
Explain one way file permissions protect patient records on the office machines.
Mark scheme
Office machines: a single-user multi-tasking operating system, since one person at a time runs several applications togetheraccept multi-user for shared machines[1]
Patient monitor: a real-time operating system[1]
Real-time guarantees that a response occurs within a fixed maximum time, not merely quickly on averagethe guarantee is the distinguishing feature[1]
For a patient monitor an alarm raised late is as dangerous as no alarm, so a predictable worst case matters more than average speed[1]
File permissions grant read, write and execute rights separately to the owner, a group and others[1]
So clinical staff can be given read access to records while administrative staff cannot open them at all, and only authorised users may alter themthe example must fit the hospital[1]
(a) multi-tasking for the office, real-time for the monitor (b) a guaranteed maximum response time (c) separate read and write rights per group
02
System Recovery and Advanced Maintenance
Multiple choice · 8
Q1A system restore point will recover:
Adeleted documents
Bsystem settings and installed programs
Ca failed hard disk
Da forgotten password
Show answer
Correct answer: B — system settings and installed programs
Restore points roll back system configuration. They do not touch user documents, which is why they are the wrong tool for data loss.
Q2A computer is stable in safe mode but crashes normally. This suggests:
Aa failed disk
Ba driver or startup program is at fault
Cinsufficient RAM
Da virus in the BIOS
Show answer
Correct answer: B — a driver or startup program is at fault
Safe mode omits exactly those items. If the fault vanishes when they are not loaded, one of them is responsible.
Q3Recovery media must be created:
Aafter the machine fails
Bwhile the machine still works
Cby the manufacturer only
Devery day
Show answer
Correct answer: B — while the machine still works
A machine that will not boot cannot be used to write its own rescue disk. Preparing it in advance is the entire point.
Q4Defragmenting an SSD is:
Aessential monthly
Bharmful and pointless
Cfaster than on a hard disk
Drequired before backup
Show answer
Correct answer: B — harmful and pointless
There is no seek time to save, and the millions of extra writes consume the flash cells' limited endurance.
Q5Storing a backup on a second partition of the same disk is inadequate because:
Apartitions are slower
Ba disk failure destroys both partitions
Cpartitions cannot hold backups
Dit uses more power
Show answer
Correct answer: B — a disk failure destroys both partitions
A partition is a logical division of one physical device. When the device fails, every partition on it fails together.
Q6Which recovers a machine after total disk failure with least effort?
AA file backup
BA restore point
CA system image
DSafe mode
Show answer
Correct answer: C — A system image
The image contains the operating system, programs and settings as well as the data, so the replacement disk is restored exactly rather than rebuilt from scratch.
Q7Disk health monitoring is useful because it:
Aspeeds up the disk
Boften warns of failure before it happens
Crecovers deleted files
Ddefragments automatically
Show answer
Correct answer: B — often warns of failure before it happens
Drives track their own error counters, and a rising count frequently gives days of notice — enough time to copy the data off.
Q8The most important property of a backup arrangement is that it is:
Alarge
Bautomatic and tested
Cstored on the same machine
Dcompressed
Show answer
Correct answer: B — automatic and tested
A backup depending on someone remembering will eventually be forgotten, and one never restored from is only assumed to work.
Exam-style questions · 6
Q1[2 marks]
Differentiate between a system restore point and a file backup.
Answer
A system restore point saves system files, settings and installed programs, and is used to undo a bad update or driver. A file backup copies the user's own documents. A restore point will not recover a deleted file, and a backup will not repair a broken operating system.
Q2[2 marks]
What is safe mode, and what does it tell you?
Answer
Safe mode starts the operating system with only essential drivers and no startup programs. If the machine is stable in safe mode, the fault must lie in one of the drivers or startup programs that safe mode did not load — which narrows the search considerably.
Q3[2 marks]
Why should an SSD not be defragmented?
Answer
An SSD has no moving parts and reaches every location equally quickly, so there is no time to be saved. Defragmentation performs a very large number of writes, and each flash cell tolerates only a limited number, so it shortens the drive's life for no benefit.
Q4[4 marks]
A user's computer will not start after installing a new graphics driver. Describe the steps to recover it.
Mark scheme
Boot into safe mode, which loads a basic display driver instead of the new one[1]
Uninstall the new driver, or use Device Manager to roll it back to the previous version[1]
Alternatively use a system restore point created before the driver was installedthis is exactly what restore points are for[1]
Restart normally and confirm the machine boots; then install a driver version known to workverification is part of the process[1]
Safe mode, then roll back or uninstall the driver — or restore to a point from before the installation.
Q5[4 marks]
Explain the difference between a system image and a file backup, and state when each should be used.
Mark scheme
A system image is a complete copy of the entire drive, including the operating system, programs and settings[1]
A file backup copies only the user's chosen documents and data[1]
Use an image after a total disk failure or major corruption, so the machine is restored exactly without reinstalling everything[1]
Use file backups frequently, since documents change daily, whereas an image is large and slow and is made occasionallythe frequency point is the practical insight[1]
An image restores the whole machine; a backup restores the documents. Image occasionally, files frequently.
Q6[6 marks]
A small office has ten computers with no backup arrangements. One has just failed, losing three years of records.
Recommend a backup strategy, explaining the role of each part.
Explain why storing the backup on a second partition of the same disk would be inadequate.
Suggest one maintenance task that might have given warning before the disk failed.
Mark scheme
Automatic daily file backups of documents, so no more than one day's work is ever lostautomatic, not left to the user[1]
Periodic system images so a failed machine can be restored without reinstalling everything[1]
Follow the 3-2-1 rule — three copies, two media types, one off-site or in the cloud — and test a restorean untested backup is an assumption[1]
A second partition is on the same physical disk, so a disk failure destroys both partitions at oncethe key point[1]
It also offers no protection against theft, fire or ransomware, all of which reach everything on the machine[1]
Disk health monitoring reports the drive's own error counters and often warns of impending failure days in advanceaccept regular disk checks[1]
(a) daily automatic file backups plus periodic images, following 3-2-1 and tested (b) a partition shares the physical disk, so both die together (c) disk health monitoring
03
Introduction to Python Programming
Multiple choice · 8
Q1What does input() return?
Aan integer
Ba string
Ca float
Dwhatever type was typed
Show answer
Correct answer: B — a string
Always a string. Python cannot know what you intended, so it hands back the characters and leaves the conversion to you.
Q2If the user types 4 and 6 into a = input(); b = input(); print(a + b), the output is:
A10
B46
Can error
D4 6
Show answer
Correct answer: B — 46
Both are strings, so + joins them into "46". No error is raised, which is why this bug is so easy to miss.
Q39 // 4 evaluates to:
A2.25
B2
C1
D2.0
Show answer
Correct answer: B — 2
Integer division discards the fractional part and returns a whole number. 9 / 4 would give 2.25.
Q410 % 3 evaluates to:
A3
B1
C3.33
D0
Show answer
Correct answer: B — 1
10 divided by 3 is 3 remainder 1, and % returns the remainder. This is how you test divisibility: a remainder of 0 means it divides exactly.
Q5Which is a valid Python variable name?
A2marks
Btotal marks
Ctotal_marks
Dprint
Show answer
Correct answer: C — total_marks
Names cannot start with a digit or contain spaces, and print is a built-in that should not be reused. Underscores are the usual way to join words.
Q6x = 5 followed by x = 8 results in:
Atwo variables
Bx holding 8
Can error
Dx holding 13
Show answer
Correct answer: B — x holding 8
The second assignment points the same name at a new value. The 5 is simply discarded.
Q7To compare whether two values are equal you use:
A=
B==
C=>
D!=
Show answer
Correct answer: B — ==
A single = assigns. A double == compares and produces True or False; != tests for inequality.
Q8Swapping the values of a and b requires:
Aa = b then b = a
Ba third temporary variable
Cnothing — Python swaps automatically
Da loop
Show answer
Correct answer: B — a third temporary variable
After a = b the original value of a is gone, so b = a just copies b back to itself. Saving the old value in temp first is what makes the swap work.
Exam-style questions · 6
Q1[2 marks]
What is a variable, and what does x = 10 do?
Answer
A variable is a named location in memory holding a value. x = 10 creates the name x and assigns the integer value 10 to it. Assigning again later replaces the value rather than creating a second variable.
Q2[2 marks]
Why must int() often be used with input()?
Answer
Because input() always returns a string, even when the user types digits. Without conversion, + would join the text instead of adding — "5" + "3" gives "53" — and comparisons would compare text rather than numeric value.
Q3[2 marks]
State the difference between = and ==.
Answer
= is the assignment operator, storing a value in a variable. == is the comparison operator, testing whether two values are equal and producing True or False.
Q4[4 marks]
Write a Python program that asks the user for the length and width of a rectangle and prints its area.
Mark scheme
length = float(input("Enter length: "))float rather than int allows decimal measurements[1]
width = float(input("Enter width: "))[1]
area = length * widtha meaningful variable name is expected[1]
print("The area is", area)output must be labelled, not a bare number[1]
Read both values as floats, multiply, and print with a label.
Q5[4 marks]
State the output of each: (i) print(7 // 2) (ii) print(7 % 2) (iii) print(7 / 2) (iv) print(2 ** 3)
Mark scheme
(i) 3 — integer division discards the remaindernot 3.5[1]
(ii) 1 — the remainder when 7 is divided by 2[1]
(iii) 3.5 — / always produces a floatnote the decimal point[1]
(iv) 8 — ** is the power operator2 cubed[1]
(i) 3 (ii) 1 (iii) 3.5 (iv) 8
Q6[6 marks]
A student writes this program to calculate a average of two test marks: a = input("Mark 1: "), b = input("Mark 2: "), avg = a + b / 2, print(avg)
Identify two errors in this program.
Write a corrected version.
Explain how you would test that your corrected version works.
Mark scheme
Error 1: the inputs are strings, so they are joined rather than addedint() or float() is missing[1]
Error 2: operator precedence — a + b / 2 divides b by 2 first, so brackets are needed: (a + b) / 2this error survives even after the type is fixed[1]
Corrected input lines using float(input(…))[1]
avg = (a + b) / 2 followed by a labelled print[1]
Test with normal data, such as 60 and 80, and check the answer is 70a value you can verify by hand[1]
Test with boundary data such as 0 and 100, and with erroneous data such as text, to see how it behavesall three kinds of test data[1]
(a) inputs not converted, and missing brackets (b) float(input(…)) and (a+b)/2 (c) normal, boundary and erroneous data
04
Control Structures in Python
Multiple choice · 8
Q1How many times does for i in range(3, 8): repeat?
A3
B5
C8
D6
Show answer
Correct answer: B — 5
i takes the values 3, 4, 5, 6, 7 — five values. The upper bound 8 is where it stops and is never used.
Q2Which loop suits "keep asking until the password is correct"?
Afor
Bwhile
Cif
Drange
Show answer
Correct answer: B — while
The number of attempts is unknown in advance and depends on what the user types, which is exactly the condition-controlled case.
Q3In Python, what determines which lines are inside an if block?
Acurly brackets
Bsemicolons
Cindentation
Dthe end keyword
Show answer
Correct answer: C — indentation
Indentation is grammatical in Python. Moving a line by four spaces changes which block it belongs to and therefore what the program does.
Q4With m = 90, the chain if m>=40 … elif m>=80 … prints the grade for 40 because:
A90 is not 80
BPython stops at the first true condition
Celif is not allowed
Dthe indentation is wrong
Show answer
Correct answer: B — Python stops at the first true condition
The first test succeeds, so the chain ends there and the later branches are never examined. Conditions must run from most restrictive to least.
Q5A while loop that never ends usually means:
Athe condition is too complex
Bnothing inside changes the condition variable
Cthe loop is nested
Drange was used
Show answer
Correct answer: B — nothing inside changes the condition variable
If the variable the condition tests is never modified, the condition stays true for ever. Every while loop needs something inside it that moves towards stopping.
Q6Two nested loops each running 5 times execute the inner body:
A5 times
B10 times
C25 times
Dunknown
Show answer
Correct answer: C — 25 times
The inner loop runs completely for every pass of the outer one, so 5 × 5 = 25.
Q7Where should total = 0 be placed when summing values in a loop?
Ainside the loop
Bbefore the loop
Cafter the loop
Dit does not matter
Show answer
Correct answer: B — before the loop
Inside, it would reset to zero on every pass and the final total would be just the last value added.
Q8break in a loop:
Askips one pass
Bexits the loop immediately
Crestarts the loop
Dcauses an error
Show answer
Correct answer: B — exits the loop immediately
It leaves the loop entirely. continue is the one that skips only the current pass.
Exam-style questions · 6
Q1[2 marks]
Name the three control structures and give one Python keyword for each.
Answer
Sequence — statements written one after another, needing no keyword. Selection — if. Iteration — for or while.
Q2[2 marks]
When should a while loop be used instead of a for loop?
Answer
When the number of repetitions is not known in advance and depends on a condition evaluated during the loop — for example repeating until the user enters valid input or types "quit". A for loop is used when the count is fixed beforehand.
Q3[2 marks]
How many times does the body of for i in range(2, 7): execute?
Answer
Five times, with i taking the values 2, 3, 4, 5 and 6. The upper bound 7 is where the sequence stops and is not itself used.
Q4[4 marks]
Write a Python program that prints the numbers from 1 to 20 that are divisible by 3.
Mark scheme
for n in range(1, 21): — the upper bound must be 21 to include 20the off-by-one is examined here[1]
if n % 3 == 0:the remainder test for divisibility[1]
print(n) correctly indented inside the ifindentation is part of the mark[1]
Output: 3, 6, 9, 12, 15, 18[1]
A for loop over range(1, 21) with an if n % 3 == 0 test inside.
Q5[4 marks]
This code is intended to count down from 5 to 1 but instead runs for ever. Identify the fault and correct it. count = 5 / while count > 0: / print(count)
Mark scheme
Nothing inside the loop changes count[1]
So the condition count > 0 is true on every pass and never becomes false — an infinite loopnaming it as infinite is expected[1]
It must be indented inside the loop; placed outside it would run only once, after the loopthe indentation point is a mark[1]
The loop variable is never decremented. Add count = count - 1 indented inside the loop.
Q6[6 marks]
A program should read ten test marks, count how many are 50 or above, and print both the count and the average.
State which loop type is appropriate and why.
Write the program.
Explain where the print statements must be placed and why.
Mark scheme
A for loop, because the number of marks is known in advance to be tenthe reason must be given[1]
Initialise total = 0 and passes = 0 before the loopaccumulators must start outside the loop[1]
for i in range(10): then read a mark and add it to total[1]
if mark >= 50: passes = passes + 1, correctly indented inside the loop[1]
After the loop: print(passes) and print(total / 10)[1]
The prints must be outside the loop, because inside they would run on every pass and print ten partial results instead of one final answerthe reason is the mark[1]
(a) for, since ten is known (b) accumulators before, loop reads and tests, prints after (c) outside, or they print ten partial results
05
Data Science
Multiple choice · 8
Q1The numbers 12, 45, 78 with no context are an example of:
Ainformation
Bdata
Cknowledge
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?
AGovernment census figures
BA survey you conducted yourself
CA published research paper
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:
Adrawing charts
Bremoving duplicates and correcting errors
Cwriting the report
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:
Arandom
Bstratified
Cbiased
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:
Aremoves the bias
Bmeasures the wrong thing more precisely
Cmakes it random
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?
APie chart
BLine graph
CScatter plot
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:
Aice cream causes drowning
Bthere is a correlation but not necessarily a cause
Cthe data is wrong
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:
Akept, as they may be real
Btreated as errors and removed
Creplaced with zero
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
Define the question or problem to be answeredcollecting before deciding what you want to know produces unusable data[1]
Collect the data from appropriate primary or secondary sources[1]
Clean it — remove duplicates, correct errors and handle missing valuesthe stage most often omitted[1]
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.
Explain why this sample may be biased.
Suggest a better sampling method and justify it.
Mark scheme
The first students to arrive are not typical — they may live nearby, travel by a particular route, or be in certain year groups[1]
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]
A stratified sample would divide students by year group and sample each in proportion to its sizeaccept random sampling from the full roll[1]
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.
Give two advantages of using a sensor rather than manual readings.
The dataset contains three days recorded as 400 °C and eleven days with no reading at all. Describe how you would handle each.
Suggest the most suitable chart for showing how temperature varied over the year, and justify your choice.
Mark scheme
A sensor records continuously and automatically, so no readings are forgotten and none are affected by human error in reading a scale[1]
It can record far more frequently than a person could, and at times when nobody is present[1]
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]
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]
A line graph, with date on the horizontal axis and temperature on the vertical[1]
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
06
Introduction to Artificial Intelligence and Machine Learning
Multiple choice · 8
Q1In machine learning, the computer produces:
Athe data
Bthe rules
Cthe hardware
Dthe labels
Show answer
Correct answer: B — the rules
You supply data and answers; the system derives the rules that connect them. That inversion is the whole idea.
Q2Training on photographs labelled "cat" or "dog" is:
Aunsupervised learning
Bsupervised learning
Creinforcement learning
Dnot machine learning
Show answer
Correct answer: B — supervised learning
The labels are the correct answers supplied with the data, which is precisely what makes learning supervised.
Q3Grouping customers into segments nobody defined in advance is:
Asupervised
Bunsupervised
Creinforcement
Doverfitting
Show answer
Correct answer: B — unsupervised
There are no labels; the structure is discovered by the system rather than specified by a person.
Q4A model scoring 99% on training data and 55% on new data is:
Aunderfitting
Boverfitting
Cwell trained
Dunsupervised
Show answer
Correct answer: B — overfitting
The gap shows it memorised its examples rather than learning the general pattern. A model that generalised would score similarly on both.
Q5Algorithmic bias mainly arises from:
Abugs in the code
Bpatterns present in the training data
Cslow hardware
Dtoo much test data
Show answer
Correct answer: B — patterns present in the training data
The model faithfully reproduces what it was shown. If the historical data recorded unfair decisions, the model learns to make them.
Q6The test set must be:
Apart of the training data
Bdata the model has never seen
Clabelled by the model
Das small as possible
Show answer
Correct answer: B — data the model has never seen
Only unseen data measures generalisation. Testing on training data measures memory, which is not what the model is for.
Q7The "black box" problem means a model:
Aruns too slowly
Bcannot explain how it reached a decision
Cneeds no data
Dhas no output
Show answer
Correct answer: B — cannot explain how it reached a decision
This is tolerable for a film recommendation and unacceptable for a loan refusal, where the person affected is entitled to a reason.
Q8Reinforcement learning improves by:
Abeing given the correct answers
Breceiving rewards and penalties for its actions
Cgrouping unlabelled data
Dcopying another model
Show answer
Correct answer: B — receiving rewards and penalties for its actions
It is told only how well it did, not what it should have done, and improves over very many attempts.
Exam-style questions · 6
Q1[2 marks]
Differentiate between artificial intelligence and machine learning.
Answer
Artificial intelligence is the broad field of making machines perform tasks that would ordinarily require human intelligence. Machine learning is a subset of AI in which the system learns patterns from data rather than being given explicit rules. All machine learning is AI; not all AI is machine learning.
Q2[2 marks]
What is supervised learning? Give an example.
Answer
Learning from data in which each example is labelled with the correct answer. The model learns to reproduce those labels on new data. Example: training on photographs already tagged "cat" or "dog" so the system can classify unseen photographs.
Q3[2 marks]
Why must a model be tested on data it has not been trained on?
Answer
Because a model can score perfectly on data it has effectively memorised, which says nothing about how it will behave on new examples. Only unseen data measures whether it has learned the general pattern — the property that actually matters in use.
Q4[4 marks]
Describe the difference between supervised, unsupervised and reinforcement learning, giving one use of each.
Mark scheme
Supervised: trained on labelled data — for example spam detection from emails already marked spam or not[1]
Unsupervised: trained on unlabelled data and finds structure itself — for example grouping customers into segments[1]
Reinforcement: learns by acting and receiving rewards or penalties — for example a program learning to play a game[1]
The distinguishing factor is what the training data contains: answers, no answers, or a reward signalthe unifying statement earns the fourth mark[1]
Labelled data, unlabelled data, and reward feedback respectively.
Q5[4 marks]
A bank uses a machine learning model trained on its past lending decisions to approve loans. Explain how bias could arise and state two ways to reduce it.
Mark scheme
The model learns the patterns in the historical decisions, including any that were unfair[1]
If certain groups were refused disproportionately in the past, the model reproduces that pattern while appearing objectivethe appearance of objectivity is part of the harm[1]
Reduce it by examining the training data for representativeness, and testing outcomes separately for each group[1]
And by keeping a human decision-maker for consequential decisions, with a documented route to appealaccept requiring the model to be explainable[1]
The model learns historical unfairness. Audit the data, test outcomes per group, and keep human oversight.
Q6[6 marks]
A school wants to use machine learning to predict which students are at risk of failing, so extra help can be offered.
Describe the data the system would need and how it would be trained.
Explain one way the system could produce unfair results.
Explain why a teacher should review every prediction before action is taken.
Mark scheme
Historical records of past students — attendance, assessment marks, homework completion — each labelled with whether that student ultimately passed or failedlabelled data, so this is supervised learning[1]
The data is split into a training set and a test set; the model learns from the first and is measured on the second[1]
Unfairness: if the historical data reflects a group that was under-supported in the past, the model predicts failure for that group and the prediction becomes self-fulfilling[1]
Or: a feature that correlates with background rather than ability — such as distance travelled to school — drives the predictioneither example accepted[1]
A prediction is a statistical likelihood about a group, not a fact about the individual student in front of the teacher[1]
The model cannot explain its reasoning, and being labelled "likely to fail" could itself affect how a student is treated and how they see themselves[1]
(a) labelled historical records, split into training and test sets (b) it reproduces past under-support as a prediction (c) a prediction is about likelihood, not about the individual, and cannot justify itself
07
Applications of AI
Multiple choice · 8
Q1AI is best suited to tasks involving:
Amoral judgement
Bfinding patterns in large amounts of data
Cunfamiliar novel situations
Dexplaining its reasoning
Show answer
Correct answer: B — finding patterns in large amounts of data
That single capability underlies every successful application. The other three are precisely where these systems are weakest.
Q2Using AI to flag scans for a radiologist to review is an example of:
Areplacement
Btriage
Creinforcement learning
Doverfitting
Show answer
Correct answer: B — triage
The system sorts by likely urgency and the human still decides, so its errors are caught while the speed benefit is kept.
Q3A legitimate transaction blocked by a fraud system is a:
Afalse negative
Bfalse positive
Cbias
Dblack box
Show answer
Correct answer: B — false positive
The system positively identified fraud where there was none. A false negative would be real fraud allowed through.
Q4A model trained on data from one country may fail elsewhere because:
Athe code is different
Bthe population it learned from differs from the one it is used on
Cthe hardware differs
Dthe language differs
Show answer
Correct answer: B — the population it learned from differs from the one it is used on
A model reproduces patterns from its training data. If the new population differs in ways that matter, those patterns may not hold.
Q5The strongest argument against fully automating a benefits decision is:
Ait would be slower
Bthe applicant could not be told why they were refused
Ccomputers are expensive
Dit needs internet
Show answer
Correct answer: B — the applicant could not be told why they were refused
A consequential decision affecting a person requires a reason they can understand and challenge. Speed and consistency do not compensate for its absence.
Q6Deskilling means:
Aworkers are retrained
Ba skill is lost because it is always automated
Cthe AI becomes less accurate
Djobs are created
Show answer
Correct answer: B — a skill is lost because it is always automated
A capability nobody exercises eventually disappears, which matters most at the moment the automated system fails and someone must step in.
Q7Which is a genuine environmental cost of AI?
Ae-waste from sensors
Bthe electricity used to train large models
Cpaper use
Dwater in data entry
Show answer
Correct answer: B — the electricity used to train large models
Training a large model consumes a substantial amount of electricity, which is an increasingly common point in exam answers about drawbacks.
Q8When AI applies the same rule to every applicant, the benefit is:
Acreativity
Bconsistency
Cempathy
Dexplainability
Show answer
Correct answer: B — consistency
Human assessors vary between themselves and across a working day. Consistency is a real advantage — though it also means a flawed rule is applied uniformly to everyone.
Exam-style questions · 6
Q1[2 marks]
Give one application of AI in healthcare and state its main benefit.
Answer
AI can analyse medical images such as chest X-rays and flag those most likely to show disease, so a radiologist reviews the urgent cases first. The benefit is speed and consistency: it works continuously without fatigue, letting a small number of specialists cover a large population.
Q2[2 marks]
State two disadvantages of using AI in decision-making.
Answer
It usually cannot explain how it reached a decision, so a person affected cannot be told why. And it reproduces the biases in its training data while appearing objective, which can make unfair outcomes harder to challenge.
Q3[2 marks]
Explain one way AI can help farmers.
Answer
A farmer can photograph an affected leaf with a phone and a model identifies the crop disease and suggests treatment. This reaches farms that an agricultural extension officer could not visit often enough, and gives an answer within seconds rather than days.
Q4[4 marks]
Describe two benefits and two risks of self-driving vehicles.
Mark scheme
Benefit: they do not tire, become distracted or drive under the influence, and human error causes most collisions[1]
Benefit: they can give independent mobility to people unable to drive, and can coordinate to reduce congestion[1]
Risk: an unfamiliar situation not represented in training may be handled badly, and roads present many such situations[1]
Risk: responsibility for a collision is unclear — the owner, the manufacturer or the software developer — and the vehicle is a target for interferenceaccept job losses among professional drivers[1]
Benefits: no fatigue or distraction, and mobility for non-drivers. Risks: unfamiliar situations, and unclear liability.
Q5[4 marks]
A bank introduces an AI system to detect fraudulent transactions. Explain why this suits AI, and state one problem it may cause customers.
Mark scheme
There are millions of transactions, far more than any human team could examine[1]
Fraud shows as an unusual pattern, and finding patterns in large volumes of data at speed is exactly what these systems do well[1]
Problem: false positives — a legitimate but unusual transaction is blocked, such as a card used abroad on holiday[1]
The customer is inconvenienced and may not be told why, since the system cannot explain the pattern it reacted tothe inability to explain is the sharper point[1]
The volume and the pattern-matching suit AI; the cost is blocked legitimate transactions with no explanation.
Q6[6 marks]
A government department proposes using AI to decide which applicants receive financial assistance, replacing the current human assessors.
Give two arguments in favour of the proposal.
Give two arguments against.
Recommend how the system should be used, with justification.
Mark scheme
In favour: decisions would be made far faster and applicants would wait less[1]
In favour: the same rules would be applied to every applicant, removing the inconsistency between individual assessors[1]
Against: trained on past decisions, it would reproduce any historical unfairness while appearing objective[1]
Against: an applicant refused assistance could not be told why, and would have no meaningful basis for appealthe accountability point[1]
Recommendation: use the system to sort and prioritise applications, with a human assessor making every final decision[1]
Justified because the speed and consistency are gained while accountability and the right to an explanation are preserved, and unusual cases still reach a personthe justification must address both sides[1]
(a) speed and consistency (b) inherited bias and no explanation (c) AI prioritises, humans decide — keeping the benefit and the accountability
08
Digital Entrepreneurship
Multiple choice · 8
Q1A minimum viable product is:
Aa cheap low-quality product
Bthe smallest version that delivers real value and tests an assumption
Cthe final product
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?
AE-commerce
BSubscription
CAdvertising
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:
Amaking a profit of 50 000
Bmaking a loss of 50 000
Cbreaking even
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:
Amaking a loss only
Bprofitable, if money arrives later than it leaves
Cnot selling anything
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:
Afree users cost money and few upgrade
Bnobody tries the product
Cit is illegal
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:
Awastes time
Bvalidates demand cheaply before committing to development
Cis dishonest
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:
Areducing hosting costs
Battracting visitors who searched for what it offers
Cencrypting data
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?
Amany social media likes
Bfriends saying it is a good idea
Ccustomers paying for it
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
An existing online marketplace or social media page provides an audience and a shopfront[1]
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]
A digital payment gateway accepts card and mobile paymentsaccept cloud hosting or free design tools[1]
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.
Calculate the monthly profit.
Explain why the business may still run out of money.
Mark scheme
Profit = revenue − costs = 400 000 − 350 000[1]
= Rs 50 000 per monththe business is profitable[1]
Money leaves the business immediately for wages but arrives 60 days later from customers[1]
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.
Describe how they could test the idea before building the app.
Suggest a suitable business model and justify it.
Identify two risks the business faces.
Mark scheme
Talk to farmers first to establish that identifying diseases is genuinely a problem they face and currently handle badlyvalidating the assumption[1]
Build an MVP where farmers send a photograph by WhatsApp and an agricultural expert replies manuallydelivers the value with no app[1]
Measure whether farmers use it repeatedly and whether they will pay, before writing any software[1]
A freemium or low-cost subscription model: a few free identifications, then a small monthly feeaccept any justified model[1]
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]
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 10th Class Computer Science lessons — each topic has its own notes, worked examples and an interactive diagram.