Answer all the questions.
What does decomposition mean in computer science?
A solution to a problem is decomposed into its component parts.
Name and describe the component parts.
A computer system is to be developed to provide a modulo 11 check digit for numbers from 4 to 20 digits in length.
Provide a structure diagram for this computer system.
Explain what is meant by validation and verification.
A phone app is being developed to split the cost of a restaurant bill between a given number of people. It is being designed to work for up to 12 diners and for bills from $10 to $500.
a) What validation checks should be used for the number of diners and the size of the bill?[2]
b) Provide two sets of normal data and their expected results. [4]
c) Provide some abnormal/erroneous data. [1]
d) Identify the boundary data required and the expected results. [4]
The following data is to be entered onto an online form:
– Name [2]
– Date of birth [2]
– Password [2]
– Phone number [2]
For each item state, with reasons, the validation and verification checks that should be used on the input data.
The following algorithm written in pseudocode adds up 10 positive numbers and outputs the total. It contains several errors.


Complete the trace table for the input data:
5, 7, +, 6, 2, -, 4, 3, *, 7, 8, ?, 0, 0, /