Please enable JavaScript to use CodeHS

Chapter 3

Boolean Expressions and if Statements

3.5 Compound Boolean Expressions

What Are Logical Operators?

The AND Operator

The OR Operator

Short Circuit Evaluation

The NOT Operator

Order of Operations

Light Switch

Number in Range

Pizza Slices

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Compound Roller Coaster