Please enable JavaScript to use CodeHS

AP CSA: CON-1.F.3

CodeHS Lessons

When the result of a logical expression using && or || can be determined by evaluating only the first Boolean operand, the second is not evaluated. This is known as short-circuited evaluation.

Standard
3.5 Compound Boolean Expressions
Standard
2.13 Short-Circuit Evaluation
Standard
4.5 Compound Boolean Expressions
Standard
4.14 Short-Circuit Evaluation
Standard
9.5 Compound Boolean Expressions
Standard
9.5 Compound Boolean Expressions
Standard
4.14 Short-Circuit Evaluation