2210/21/M/J/20 question 3: worked solution (May/June 2020, paper 21)
Show as plain textHide plain text
Cambridge O Level Computer Science 2210 · 7.5 Validation and verification checks Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 4 of 8. Q16 2210/21/M/J/20 original Q3 Structured · 7 marks Worked solution (a) Name two different validation checks and say why each is used. Range check [1] Purpose: to make sure the data entered falls within a set of allowed values [1] Length check [1] Purpose: to make sure the data entered is not longer (or shorter) than allowed [1] Other checks that score: type check (data follows rules about numbers or letters) and check digit (an identification code is genuine or possible). (b) Write one verification check: double entry [1] A visual check also scores. (c) Validation checks that the data entered is possible and sensible. It cannot tell if the data is correct. [1] Verification checks that the data entered matches the data that was meant to be entered (the source). It does not check the data against set rules. [1] KEY IDEA Validation checks data is reasonable; verification checks it was typed in the way it was meant to be. TOTAL 7 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.