Please enable JavaScript to use CodeHS

APCSP20: AAP-2.H.3

CodeHS Lessons

The exam reference sheet provides IF(condition) { <first block of statements> } ELSE { <second block of statements> } in which the code in first block of statements is executed if the Boolean expression condition evaluates to true; otherwise, the code in second block of statements is executed.

Standard
2.10 If Statements
Standard
1.11 If Statements
4.4 If Statements
Standard
10.11 If Statements
Standard
4.4 If Statements
Standard
3.4 If Statements
Standard
2.4 If Statements
Standard
1.10 If Statements
3.4 If Statements
Standard
1.10 If Statements
Standard
1.10 If Statements
Standard
1.10 If Statements
Standard
2.1 Booleans and Conditionals