As part of the examination, it is necessary to be able to do what with standard reference language?
Read and understand reference language
Write full answers using reference language
Complete missing parts of an algorithm using reference language
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 \[\leq\] 0 OR score \[\geq\] 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
Which of the following is an example of concatenation when using reference language?
SET fullname TO first_name AND surname
fullname = first_name + surname
SET fullname TO first_name & surname
Explain the purpose of 'counter' within the following reference language example.
FOR counter FROM 0 TO 9 DO
To set the upper and lower bounds of the loop and act as an index value when iterating over the array
To keep an incremental total of the number of times that the maximum number changes
To terminate a conditional loop
Which of the following states the names of the three functions that are defined as part of Reference Language?
INTEGER, RANDOM, AVERAGE
AVERAGE, ROUND, INTEGER
ROUND, RANDOM, LENGTH
Which of the following is not a use for elision?
To indicate that a section of code may require further refinement
To clarify part of the reference language listing that is necessary but perhaps not relevant to the scenario/question
To comment on a particular line of code to explain its function
The square brackets shown beside the variable 'TopScore' indicate use of which of the following?
TopScore []
A fixed loop
An array
An IF statement