Mock 25 CS 9618 P2 Insert
Mock 25 CS 9618 P2 Insert
INFORMATION
● This insert contains all the resources referred to in the questions.
● You may annotate this insert and use the blank spaces for planning. Do not write your answers on the
insert.
[Turn over
2
Pseudocode Functions
Pseudocode Operators
Operator Description
Used to concatenate (join) two strings
&
Example: "Summer" & " " & "Pudding" produces "Summer Pudding"
Used to perform a logical AND on two Boolean values
AND
Example: TRUE AND FALSE produces FALSE
Used to perform a logical OR on two Boolean values
OR
Example: TRUE OR FALSE produces TRUE
Used to perform a logical NOT on a Boolean value
NOT
Example: NOT FALSE produces TRUE
4
BLANK PAGE