Numera L Program Statement Term
Numera L Program Statement Term
Numera L Program Statement Term
2.
a) Define the term flowchart. (1 mark)
(ii)
(iii)
(iv)
Yes
No
(v)
1 1
(5 marks)
Label Statements
s
S1 Select the most efficient solution.
S2 Test and validate the solution.
S3 Definition of the problem.
S4 Develop the algorithm.
S5 Propose and evaluate solutions.
a. Table 3 show labels in Column 1 and statements that represent the steps in
problem solving in Column 2.
Arrange the labels to show the correct order in which the steps in problem solving
occur. Write that order in your answer sheet.
(5 marks)
b. You are using a program to calculate the average number of storms that have
recently passed through the Caribbean. This is calculated by adding the number
of storms and then dividing by the number of years. The screen for the program
looks like the one below:
STORM
Average Number of
You were told that the number of storms for the last three years were 10, 8, and
12.
2. Year 1
3. Year 2
4. Year 3
5. Year 4 (5 marks)
(ii) State the result for the Average number of storms. (1 mark)
(iii) Write an algorithm using pseudocode to input the number of storms for
EACH of three years, calculate the average number of storms, and output
the result. (4 marks)
Total 15 marks
4. Each of the following programming statements contains ONE error. Rewrite EACH
statement, correcting the error.
i. IF X = 3 TRY Y := 8;
b.
i. Integer
ii. Real
iii. Character