total = 0
for counter in range (0, 10):
print("Please insert a number")
number = int(input())
while number < 0 or number > 10:
print("Try again")
number = int(input())
total = total + number
print(total)
for counter in range (1, 6):
print(counter)
Pseudocode was used to design the program. State another technique that could be used to design the program.
1 mark
2019 Q9(a)(i)
Sam is creating a program to calculate and display the total cost of laying new flooring. Flooring is charged at £15 per square meter and skirting boards are charged at £60 per room.
The total cost is calculated by multiplying the total floor area by 15, then adding the number of rooms
requiring skirting multiplied by 60.
Using the information above, design a user interface for the program.
3 marks
2022 10 a)
2022 Q6 a) i)
Line 3 RECEIVE score FROM KEYBOARD
Line 4 IF score = 5 OR score = 10 OR score = 15 THEN
Line 5 IF NOT(score >= 3 AND score <= 12) THEN
Line 6 SEND "Success" TO DISPLAY
Line 7 END IF
Line 8 END IF
State the score that should be input in Line 3 to display ‘Success’.
1 mark
2022 Q6
Apply a filter: