Professional Documents
Culture Documents
5th Form Monthly Test - Problem Solving - Basic Pseudocode
5th Form Monthly Test - Problem Solving - Basic Pseudocode
MONTHLY TEST
FEBRUARY 2024
INFORMATION TECHNOLOGY
This paper consists of ONE section. You are required to do ALL questions on this paper.
NAME: ______________________________________
TEACHER: ______________________________________
BLOCK: _______________
DATE: ______________________________________
DO NOT OPEN THIS BOOKLET UNTIL YOU ARE TOLD TO DO SO.
SECTION A
1. (a) Table 3 shows labels in Column1 and statements that represent the steps in problem solving
in Column2.
(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:
You were told that the number of storms for the last three years were 10, 8, and 12.
b) Year 1: ……………………………………………
c) Year 2: ……………………………………………
d) Year 3: ……………………………………………
e) Year 4: ……………………………………………
(ii) State the result for the ‘Average number of storms’. (1 mark)
…………………………………………………………………………………
(iii) Write an algorithm to input the numbers of storms given, to calculate the
average number of storms, and to output result. (4 marks)
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………
(iii) State TWO examples of data that would NOT be suitable to test the pseudocode.
Example 1…………………………………………………………………………………
Example 2…………………………………………………………………………………
(2 marks)
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
5. Write a pseudocode, using NESTED IF STATEMENTS, to do the following:
If the mark entered is greater than or equal to 70, then display the statement “GRADE A”.
Otherwise, if the mark entered is greater than or equal to 60, then display the statement “GRADE
B”. For all other marks entered, display the statement “GRADE NOT AVAILABLE”.
(10 marks)
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
* * * * END OF TEST * * * *
“May Good luck be in your favour and your preparation bring fantastic
outcomes.”
INFORMATION TECHNOLOGY
(ii) 10 1
TOTAL 15
Question Key Mark
2.
1
Example 1:
(iii)
Example 2: 1
TOTAL 6
Question Key Mark
3.
Start 1
Read A,B 2
C = A – B 2
TOTAL 9
Endif 1
Stop
Read mark 1
Else
2
If mark >= 60 then
Print “GRADE B”
Else
Endif [1] 2
Endif [1]
Stop
TOTAL 10