4 ♠What is a conditional?13
  • What is a conditional? What is branching?
  • What is an if statement? What's the difference between if and if-else?
  • List all comparison operators and say what they do.
  • List all logical operators and say what they do.
  • What is short-circuit evaluation? How does it differ between && and ||?
  • What is the difference between an expression and a statement? Give an example of each. Compare and contrast a ternary and if-statement.
  • Construct a truth table to demonstrate your understanding of boolean expression evaluation.