What does the following line of reference language do?
DECLARE score AS INTEGER
Create a variable called score that can store decimal numbers
Create a variable called score that can store text
Create a variable called score that can store whole numbers
An IF statement is an example of which of the following?
A variable
A loop
A selection statement
What are the terms AND, OR and NOT examples of?
String handling
Logical operators
Standard algorithms
The following construct is an example of reference language for which form of loop?
WHILE score ≤ 0 OR score ≥ 50 DO
SEND “The score you entered is not valid. Please try again.” TO DISPLAY
RECEIVE score FROM KEYBOARD
END WHILE
Iteration
Fixed repetition
Conditional repetition
The square brackets shown beside the variable ‘TopScore’ indicate use of which of the following?
TopScore [ ]
A fixed loop
An array
An IF statement