Give 6 examples of comparison operators.
Strictly equal to, not strictly equal to, greater than, less than, greater than or equal to, less than or equal to.
What data type do comparison expressions evaluate to?
Boolean
What is the purpose of an if statement?
Evaluates a given expression and makes a decision based on that.
Is else required in order to use an if statement?
Else is not required.
Describe the syntax (structure) of an if statement.
If keyword, condition, optional code block and return statement
What are the three logical operators?
OR, AND & NOT
How do you compare two different expressions in the same condition?
OR and AND