Please enable JavaScript to use CodeHS

TN HS: CS.PC.3

CodeHS Lessons

Create and refine programs with Boolean conditionals to demonstrate the use of branches and logical operators.

Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
6.1 Booleans
6.2 If/Else Statements
6.3 Logical Operators
6.4 Comparison Operators
6.5 Graphics and Conditionals
Standard
5.1 Booleans
5.2 If Statements
5.3 Comparison Operators
5.4 Logical Operators
25.18 If Statements
25.19 If/Else Statements
Standard
3.1 Boolean Expressions and if Statements
3.2 if Statements and Control Flow
3.3 if-else Statements
Standard
4.1 Booleans
4.2 Logical Operators
4.3 Comparison Operators
4.4 If Statements
Standard
4.1 Booleans
4.2 Logical Operators
4.3 Comparison Operators
4.4 If Statements
Standard
9.5 Booleans
9.6 Logical Operators
9.7 Comparison Operators
9.8 If Statements
9.12 While Loops
9.13 Loop and a Half
Standard
4.1 Booleans
4.2 Logical Operators
4.3 Comparison Operators
4.4 If Statements
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
5.1 Booleans
5.2 If/Else Statements
5.3 Logical Operators
5.4 Comparison Operators
5.5 Graphics and Conditionals
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
6.1 Booleans
6.2 If/Else Statements
6.3 Logical Operators
6.4 Comparison Operators
6.5 Graphics and Conditionals
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
6.1 Booleans
6.2 If/Else Statements
6.3 Logical Operators
6.4 Comparison Operators
6.5 Graphics and Conditionals
Standard
8.1 Conditionals and State Change
8.2 Conditionals using Parameters
Standard
8.1 Conditionals and State Change
8.2 Conditionals using Parameters
Standard
7.1 If Statements
7.2 If/Else Statements
Standard
7.1 If Statements
7.2 If/Else Statements
Standard
4.3 Booleans
4.4 If/Else Statements
Standard
4.1 If Statements and Conditionals
4.2 If/Else Statements
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.14 More Karel Examples and Testing
2.16 Karel Challenges
3.16 If Statements
3.17 If/ Else Statements
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.14 More Karel Examples and Testing
2.16 Karel Challenges
6.16 If Statements
6.17 If/ Else Statements
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
13.16 If Statements
13.17 If/ Else Statements
Standard
7.8 Comparison Operators
7.9 Logical Operators
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
Standard
1.3 Conditional Statements
1.4 Loops
Standard
1.16 If Statements
1.17 If/ Else Statements
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
7.2 If/Else Statements
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
6.1 Booleans
6.2 Logical Operators
6.3 Comparison Operators
6.4 If Statements
6.9 While Loops
6.10 Loop and a Half
10.2 If/Else Statements
Standard
6.1 If Statements
6.2 If/ Else Statements
7.4 If/Else Statements
Standard
7.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.6 Booleans
2.7 Logical Operators
2.8 Comparison Operators
2.11 If Statements
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.9 While Loops
5.10 Loop and a Half
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.9 While Loops
5.10 Loop and a Half
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.9 While Loops
5.10 Loop and a Half
Standard
5.1 If Statements
5.2 If/ Else Statements
Standard
2.16 If Statements
2.17 If/ Else Statements
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
Standard
1.10 If Statements
1.11 If/Else Statements
2.6 Booleans
2.7 Logical Operators
2.8 Comparison Operators
2.9 If Statements
Standard
6.5 Booleans
6.6 Logical Operators
6.7 Comparison Operators
6.8 If Statements
Standard
4.1 Boolean Expressions and if Statements
4.2 if Statements and Control Flow
4.3 if-else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
8.1 Booleans
8.2 Logical Operators
8.3 Comparison Operators
8.4 If Statements
8.9 While Loops
8.10 Loop and a Half
Standard
2.18 If Statements
2.19 If/ Else Statements
6.1 Booleans
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
8.1 Booleans
8.2 Logical Operators
8.3 Comparison Operators
8.4 If Statements
8.9 While Loops
8.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
9.1 Booleans
9.2 Logical Operators
9.3 Comparison Operators
9.4 If Statements
9.9 While Loops
9.10 Loop and a Half
Standard
3.16 If Statements
3.17 If/ Else Statements
Standard
2.11 If Statements and Conditionals
2.12 If/Else Statements
14.1 Booleans
14.3 Logical Operators
14.4 Comparison Operators
14.2 If/Else Statements
14.5 Graphics and Conditionals
Standard
4.1 Booleans
4.2 Logical Operators
4.3 Comparison Operators
4.4 If Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
14.1 Booleans
14.2 Logical Operators
14.3 Comparison Operators
14.4 If Statements
14.9 While Loops
14.10 Loop and a Half
Standard
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
18.16 If Statements
18.17 If/ Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
15.1 Booleans
15.2 Logical Operators
15.3 Comparison Operators
15.4 If Statements
15.9 While Loops
15.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
6.10 If Statements
6.11 If/Else Statements
6.12 While Loops in Karel
6.13 Control Structures Example
6.14 More Karel Examples and Testing
6.16 Karel Challenges
9.4 If/Else Statements
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
4.1 Booleans
4.2 If/Else Statements
4.3 Logical Operators
4.4 Comparison Operators
4.5 Graphics and Conditionals
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
10.1 Booleans
10.2 Logical Operators
10.3 Comparison Operators
10.4 If Statements
10.9 While Loops
10.10 Loop and a Half
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
10.1 Booleans
10.2 Logical Operators
10.3 Comparison Operators
10.4 If Statements
10.9 While Loops
10.10 Loop and a Half
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
6.1 Booleans
6.2 Logical Operators
6.3 Comparison Operators
6.4 If Statements
6.9 While Loops
6.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
6.13 If Statements
6.14 If/ Else Statements
8.7 Booleans
8.9 Logical Operators
8.10 Comparison Operators
7.6 Booleans
7.7 If Statements
7.8 Comparison Operators
7.9 Logical Operators
8.8 If/Else Statements
Standard
8.13 If Statements
8.14 If/ Else Statements
9.6 Booleans
9.7 If Statements
9.8 Comparison Operators
9.9 Logical Operators
10.7 Booleans
10.9 Logical Operators
10.10 Comparison Operators
10.8 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
3.1 Booleans
3.2 Logical Operators
3.3 Comparison Operators
3.4 If Statements
Standard
3.1 Booleans
3.2 Logical Operators
3.3 Comparison Operators
3.4 If Statements
Standard
1.16 If Statements
1.17 If/ Else Statements
14.10 If Statements
14.11 If/Else Statements
14.12 While Loops in Karel
14.13 Control Structures Example
14.14 More Karel Examples and Testing
14.16 Karel Challenges
6.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
3.16 If Statements
3.17 If/ Else Statements
8.10 If Statements
8.11 If/Else Statements
8.12 While Loops in Karel
8.13 Control Structures Example
8.14 More Karel Examples and Testing
8.16 Karel Challenges
Standard
3.17 If Statements
3.18 If/ Else Statements
Standard
2.11 If Statements and Conditionals
2.12 If/Else Statements
7.1 Booleans
7.2 If/Else Statements
7.3 Logical Operators
7.4 Comparison Operators
7.5 Graphics and Conditionals
Standard
5.10 If Statements and Conditionals
5.11 If/Else Statements
9.1 Booleans
9.2 If/Else Statements
9.3 Logical Operators
9.4 Comparison Operators
9.5 Graphics and Conditionals
Standard
3.1 Booleans
3.2 Logical Operators
3.3 Comparison Operators
3.4 If Statements
Standard
2.10 If Statements and Conditionals
2.11 If/Else Statements
6.1 Booleans
6.2 If/Else Statements
6.3 Logical Operators
6.4 Comparison Operators
6.5 Graphics and Conditionals
Standard
1.17 If Statements
1.18 If/ Else Statements
Standard
1.17 If Statements
1.18 If/ Else Statements
Standard
1.11 If Statements
1.12 If/Else Statements
1.13 While Loops in Karel
1.14 Control Structures Example
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.9 While Loops
5.10 Loop and a Half
Standard
2.1 Booleans
2.2 Logical Operators
2.3 Comparison Operators
2.4 If Statements
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
3.1 Booleans
3.2 Logical Operators
3.3 Comparison Operators
3.4 If Statements
Standard
1.16 If Statements
1.17 If/ Else Statements
12.10 If Statements
12.11 If/Else Statements
12.12 While Loops in Karel
12.13 Control Structures Example
12.14 More Karel Examples and Testing
12.16 Karel Challenges
14.4 If/Else Statements
Standard
6.1 Booleans
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
16.18 If Statements
16.19 If/Else Statements
Standard
2.1 Booleans
2.2 Logical Operators
2.3 Comparison Operators
2.4 If Statements
Standard
6.1 Booleans
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
16.18 If Statements
16.19 If/Else Statements
Standard
2.1 Booleans
2.2 Logical Operators
2.3 Comparison Operators
2.4 If Statements
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
13.1 Booleans
13.2 Logical Operators
13.3 Comparison Operators
13.4 If Statements
13.9 While Loops
13.10 Loop and a Half
Standard
13.5 Booleans
13.6 Logical Operators
13.7 Comparison Operators
13.8 If Statements
13.12 While Loops
13.13 Loop and a Half
Standard
14.5 Booleans
14.6 Logical Operators
14.7 Comparison Operators
14.8 If Statements
14.12 While Loops
14.13 Loop and a Half
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
Standard
4.11 If Statements
4.12 If/Else Statements
4.13 While Loops in Karel
4.14 Control Structures Example
6.1 Booleans
6.2 Logical Operators
6.3 Comparison Operators
6.4 If Statements
6.9 While Loops
6.10 Loop and a Half
Standard
2.10 If Statements and Conditionals
2.11 If/Else Statements
8.2 If/Else Statements
8.3 Logical Operators
8.4 Comparison Operators
8.5 Graphics and Conditionals
Standard
5.1 If Statements
5.2 If/ Else Statements
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
9.1 Boolean Expressions and if Statements
9.2 if Statements and Control Flow
9.3 if-else Statements
Standard
9.1 Boolean Expressions and if Statements
9.2 if Statements and Control Flow
9.3 if-else Statements
Standard
7.2 If/Else Statements
Standard
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
Standard
4.3 Booleans
4.4 If/Else Statements
Standard
7.1 If Statements
7.2 If/Else Statements
Standard
7.1 If Statements
7.2 If/Else Statements
Standard
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
Standard
4.1 Booleans
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
11.18 If Statements
11.19 If/Else Statements
Standard
8.5 Booleans
8.6 Logical Operators
8.7 Comparison Operators
8.8 If Statements
8.12 While Loops
8.13 Loop and a Half
Standard
12.5 Booleans
12.6 Logical Operators
12.7 Comparison Operators
12.8 If Statements
12.12 While Loops
12.13 Loop and a Half
Standard
4.7 Booleans
4.8 Logical Operators
4.9 Comparison Operators
4.12 If Statements
Standard
22.1 Booleans
22.2 Logical Operators
22.3 Comparison Operators
22.4 If Statements
22.9 While Loops
22.10 Loop and a Half
Standard
7.1 If Statements
7.2 If/Else Statements
Standard
1.16 If Statements
1.17 If/ Else Statements
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.4 If/Else Statements
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.9 While Loops
7.10 Loop and a Half