Skip to the content.

Big Idea 3 Unit 5

Big Idea 3 Unit 5

Summary

My group taught this lesson as well:

Relational Operators

These are used to test the relationship between two variables. They are used for comparisons and result in a Boolean value of True or False.

  • x == y (equals)
  • x != y (not equal to)
  • x > y (greater than)
  • x < y (less than)
  • x >= y (greater than or equal to)
  • x <= y (less than or equal to)

Logical Operators

These are used to test multiple conditions to produce a single Boolean value.

AND(&& or “and”): Returns true if both conditions are true. If either condition is false or if both are false, it returns false. OR( or “or”): Returns true if at least one condition is true. If both conditions are false, it returns false NOT(! or “not”): If the condition is false, then it returns true. If the condition is true, then it returns false. Click here to find our lesson: Link to 3.5