Cambridge O Level Computer Science 2210 · 8.1 Programming concepts

Q8 · 2210/23/O/N/20 Q3

Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.

Q82210/23/O/N/20original Q3Structured · 4 marks
Question 3 from 2210/23/O/N/20

Worked solution

(a)

Match each concept to its meaning.

Validation → An automatic check to ensure that data input is reasonable and sensible [1]

Verification → A check to ensure that data input matches the original [1]

Procedure → A subroutine that does not have to return a value [1]

Function → A subroutine that always returns a value [1]

The description 'An overview of a program or subroutine' is not used.

KEY IDEAValidation checks data is sensible, verification checks it matches the original, a function returns a value and a procedure need not.
TOTAL 4 marks

Official mark scheme

Mark scheme for 2210/23/O/N/20 question 3
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.