Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

MUNRO COLLEGE

MONTHLY TEST
FEBRUARY 2024
INFORMATION TECHNOLOGY

FIFTH FORM DURATION: 1Hr & 30mins


INSTRUCTIONS TO CANDIDATES

This paper consists of ONE section. You are required to do ALL questions on this paper.

SCORE: _______ / 50 PERCENTAGE: _______ %

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.

Arrange the labels to


show the correct
order in which the
steps in problem
solving occur.
TABLE 3
(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:
You were told that the number of storms for the last three years were 10, 8, and 12.

(i) State the data that is required to input (5 marks)

a) The number of years: ………………….................

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)

INPUT PROCESSING OUTPUT


2. Consider the following algorithm:

INPUT WEIGHT, YEAR


IF (WEIGHT < 180.0) AND (YEAR = 1990)
THEN PRINT “PERFECT”
ELSE PRINT “NOT FIT”
ENDIF

(i) Explain the purpose of the program. (3 marks)

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

(ii) State the data type of the variable WEIGHT. (1 mark)

………………………………………………………………………………………

(iii) State TWO examples of data that would NOT be suitable to test the pseudocode.

Example 1…………………………………………………………………………………

Example 2…………………………………………………………………………………
(2 marks)

3. Write a pseudocode algorithm that performs the following:


 Prompt the user to enter two unequal integers.
 Read the numbers entered and store them into two variables name A and B
respectively.
 Subtract B from A and store it into a variable called C.
 Output the value of C with a message “The result is”.
(9 marks)
4. You are hired as a programmer by Stennet Marketing Company, to write a pseudocode for a
supermarket. This pseudocode would be presented to the company, before the source code is
written. The requirements for the pseudocode are as follows:
• Prompt the cashier to enter the price and quantity of items.
• Calculate the discount amount at 5% of the total, if the total is greater than $500.
• Otherwise, calculate the discount amount at 10% of the total.
• The algorithm should output the total and discount.
Write the pseudocode with the requirements as outlined above.
(10 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

MARK SCHEME – MONTHLY TEST

Question Key Mark


1.

(a) S3 Definition of the problem 1


S4 Develop the algorithm 1
S5 Propose and evaluate solutions 1
S1 Select the most efficient solution 1
S2 Test and validate the solution 1

(b) (i) (a) 3 1


(b) 10 1
(c) 8 1
(d) 12 1
(e) 0 / No data provided 1

(ii) 10 1

(iii) INPUT PROCESSING OUTPUT


Num1 Avg = (Num1+Num2+Num3)/3 Avg
Num2 4
Num3
[1] [2] [1]

(Only suitable variable name must be accepted)

TOTAL 15
Question Key Mark
2.

(i) The purpose of the program is to evaluate a


person's fitness based on two input criteria: their
weight and the year. The program takes the person's 3
weight and the year as inputs and then checks if
the weight is less than 180.0 and if the year is
1990. If both conditions are met, the program
prints "PERFECT." However, if either the weight is
180.0 or greater, or the year is not 1990, it
prints "NOT FIT."

(Similar/suitable responses are acceptable)

(ii) Real/Floating Point 1

1
Example 1:
(iii)
Example 2: 1

(Similar/suitable responses are acceptable)

TOTAL 6
Question Key Mark
3.
Start 1

Print “Please enter two numbers.” 1

Read A,B 2

C = A – B 2

Print ”The result is ”,C 2


[1] [1]
Stop 1

(Only stated variable name must be given)

TOTAL 9

Question Key Mark


4.
Start

Print “Enter the price and quantity of items.” 1

Read price, quantity 1

Total = price * quantity 2

If Total > 500 then 2


Disc_Amt = Total * 0.05
Else
Disc_Amt = Total * 0.1 1

Endif 1

Print “The total amount is ”,Total 1

Print “The discount amount is ”,Disc_Amt 1

Stop

(Only suitable variable name must be accepted)

(Similar/suitable responses are acceptable)


TOTAL
10
Question Key Mark
5.
Start

Print “Please enter the mark.” 1

Read mark 1

If mark >= 70 then 2


Print “GRADE A”

Else
2
If mark >= 60 then
Print “GRADE B”

Else

Print “GRADE NOT AVAILABLE” 2

Endif [1] 2
Endif [1]

Stop

(Similar/suitable responses are acceptable)

TOTAL 10

You might also like