What is a switch statement?
A switch statement is an efficient way to select a code block to execute based on the value of a variable or expression.
What is a conditional operator?
This is a ternary operator that evaluates a simple if..else statement.
What are the different types of control? Define them.
Sequential (default), selection (conditionals), and repetition (loops).
What are the logical operators?
Negation (!x), AND (&&), and OR (||).
What is the conditional operator?
The testExpression ? ifTrue : ifFalse.
What is a global variable?
Declared outside all the scopes and can be used anywhere with :: .