A solution to a problem is decomposed into its component parts.
Name and describe the component parts.
6 points
6
Question 3
3.
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.
4 points
4
Question 4
4.
Explain what is meant by validation and verification.
11 points
11
Question 5
5.
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]
8 points
8
Question 6
6.
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.
5 points
5
Question 7
7.
The following algorithm written in pseudocode adds up 10 positive numbers and outputs the total. It contains several errors.