Question 1
The table contains four statements about programming languages.
Tick (β) one box in each row to identify whether each statement describes a low-level programming language or a high-level programming language.
[4]
The variables num1 and num2 store integers.
Write pseudocode to add the integers stored in num1 and num2. Store the result in a variable with the identifier total
[1]
Three incomplete pseudocode algorithms are given with a description of the purpose of each algorithm.
Write the missing arithmetic operator for each algorithm.
Outputting 12 to the power of 2.
[1]
Working out if a number is odd or even.
number = 53 if number β¦β¦β¦β¦β¦β¦ 2 == 0 then print("Even number") else print("Odd number")
endif
[1]
Finding the difference between two measurements.
measurement1 = 300 measurement2 = 100
difference = measurement1 β¦β¦β¦β¦β¦β¦ measurement2
[1]
Read the following pseudocode algorithm:
01 start = 3 02 do 03 print(start) 04 start = start - 1 05 until start == -1 06 print("Finished")
Complete the following trace table for the given algorithm.
[3]