Please enable JavaScript to use CodeHS

MA 6-8: 6-8.CT.b2

CodeHS Lessons

Use logical reasoning to predict outputs given varying inputs.

Standard
3.3 User Input
6.3 Logical Operators
6.7 The Break Statement
Standard
3.3 User Input
5.2 If Statements
5.3 Comparison Operators
5.4 Logical Operators
7.1 While Loops
7.2 For Loops
25.4 For Loops
25.13 User Input
25.16 Using i in For Loops
25.17 Extended Loop Control
25.18 If Statements
25.19 If/Else Statements
25.20 While Loops
25.21 Putting Together Control Structures
Standard
9.6 Logical Operators
9.3 User Input
9.13 Loop and a Half
Standard
19.3 User Input
Standard
13.3 Looping
Standard
12.4 User Input
13.2 If Statements
13.3 Comparison Operators
13.4 Logical Operators
Standard
2.3 User Input
5.3 Logical Operators
5.7 The Break Statement
Standard
3.3 User Input
6.3 Logical Operators
6.7 The Break Statement
Standard
3.3 User Input
6.3 Logical Operators
6.7 The Break Statement
Standard
6.2 Updating State with onPress
8.1 Conditionals and State Change
Standard
6.2 Updating State with onPress
8.1 Conditionals and State Change
Standard
3.4 Under the Sea
5.8 While Loops
9.5 Variables
9.10 The Physics of Sprites
Standard
4.4 Under the Sea
Standard
1.8 While Loops
5.5 Variables
5.10 The Physics of Sprites
Standard
2.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
22.2 Under the Sea
Standard
2.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 Variables
3.5 The Physics of Sprites
Standard
2.9 For Loops
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.4 For Loops
3.12 User Input
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.9 For Loops
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.3 User Input
6.4 For Loops
6.14 Using i in For Loops
6.15 Extended Loop Control
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
6.12 User Input
Standard
1.9 For Loops
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.4 For Loops
13.14 Using i in For Loops
13.15 Extended Loop Control
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
13.12 User Input
Standard
7.8 Comparison Operators
7.9 Logical Operators
7.11 For Loops
Standard
1.9 For Loops
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.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
2.3 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
7.1 Loops
7.2 If/Else Statements
7.3 Arithmetic, Comparison, and Logical Operators
7.4 Functions
12.1 Arduino Challenges
Standard
3.3 User Input
6.2 Logical Operators
6.10 Loop and a Half
10.1 Loops
10.2 If/Else Statements
10.3 Arithmetic, Comparison, and Logical Operators
10.4 Functions
14.1 Arduino Challenges
Standard
2.2 For Loops
4.2 User Input
4.4 Using i in For Loops
4.5 Extended Loop Control
6.1 If Statements
6.2 If/ Else Statements
6.3 While Loops
7.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
8.1 Putting Together Control Structures
9.1 micro:bit Challenges
Standard
7.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
10.1 micro:bit Challenges
Standard
2.1 For Loops
2.2 While Loops
2.3 Operators
2.4 If/Else Statements
2.5 Functions
3.1 micro:bit Challenges
Standard
2.1 Loops
2.2 If/Else Statements
2.3 Arithmetic, Comparison, and Logical Operators
2.4 Functions
3.1 Arduino Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.4 For Loops
2.12 User Input
2.14 Using i in For Loops
2.15 Extended Loop Control
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
3.3 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
Standard
6.3 User Input
6.6 Logical Operators
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
2.4 Under the Sea
Standard
6.4 User Input
8.2 Logical Operators
8.10 Loop and a Half
Standard
2.4 For Loops
2.13 User Input
2.16 Using i in For Loops
2.17 Extended Loop Control
2.18 If Statements
2.19 If/ Else Statements
2.20 While Loops
2.22 Putting Together Control Structures
5.3 User Input
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
7.1 While Loops
7.2 For Loops
Standard
6.3 User Input
6.6 Logical Operators
Standard
6.3 User Input
8.2 Logical Operators
8.10 Loop and a Half
Standard
4.7 For Loops
4.8 While Loops
4.9 Operators
4.10 If/Else Statements
4.11 Functions
4.12 micro:bit Challenges
Standard
1.8 While Loops
5.5 Variables
5.10 The Physics of Sprites
Standard
2.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
6.3 User Input
6.6 Logical Operators
Standard
1.4 Variables
3.5 The Physics of Sprites
11.1 For Loops
11.2 While Loops
11.3 Operators
11.4 If/Else Statements
11.5 Functions
12.1 micro:bit Challenges
Standard
6.3 User Input
9.2 Logical Operators
9.10 Loop and a Half
Standard
12.1 Loops
12.2 If/Else Statements
12.3 Arithmetic, Comparison, and Logical Operators
12.4 Functions
Standard
3.4 For Loops
3.12 User Input
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
10.4 User Input
15.3 Logical Operators
15.7 The Break Statement
Standard
5.3 User Input
14.2 Logical Operators
14.10 Loop and a Half
Standard
3.4 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
18.4 For Loops
18.14 Using i in For Loops
18.15 Extended Loop Control
18.16 If Statements
18.17 If/ Else Statements
18.18 While Loops
18.19 Putting Together Control Structures
18.12 User Input
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
6.9 For Loops
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.1 For Loops
9.2 While Loops
9.3 Operators
9.4 If/Else Statements
9.5 Functions
10.1 micro:bit Challenges
Standard
3.3 User Input
5.2 If Statements
5.3 Comparison Operators
5.4 Logical Operators
7.1 While Loops
7.2 For Loops
10.19 While Loops
10.20 Putting Together Control Structures
10.18 If/ Else Statements
10.17 If Statements
10.13 User Input
10.16 Extended Loop Control
15.3 Logical Operators
15.7 The Break Statement
12.3 User Input
10.15 Using i in For Loops
10.5 For Loops
Standard
2.3 User Input
4.3 Logical Operators
4.7 The Break Statement
Standard
1.4 Under the Sea
Standard
1.8 While Loops
4.5 Variables
4.10 The Physics of Sprites
Standard
8.4 User Input
10.2 Logical Operators
10.10 Loop and a Half
Standard
8.4 User Input
10.2 Logical Operators
10.10 Loop and a Half
Standard
4.4 User Input
Standard
4.3 User Input
6.2 Logical Operators
6.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
6.4 For Loops
6.11 User Input
6.13 If Statements
6.14 If/ Else Statements
6.15 While Loops
8.3 User Input
8.9 Logical Operators
7.3 User Input
7.7 If Statements
7.8 Comparison Operators
7.9 Logical Operators
7.11 While Loops
7.12 For Loops
Standard
8.4 For Loops
8.11 User Input
8.13 If Statements
8.14 If/ Else Statements
8.15 While Loops
9.3 User Input
9.7 If Statements
9.8 Comparison Operators
9.9 Logical Operators
9.11 While Loops
9.12 For Loops
12.9 Logical Operators
12.3 User Input
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.3 User Input
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.9 For Loops
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.1 For Loops
6.2 While Loops
6.3 Operators
6.4 If/Else Statements
6.5 Functions
7.1 micro:bit Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
3.4 For Loops
3.12 User Input
3.14 Using i in For Loops
3.15 Extended Loop Control
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
8.9 For Loops
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.4 For Loops
3.13 User Input
3.15 Using i in For Loops
3.16 Extended Loop Control
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
Standard
3.3 User Input
7.3 Logical Operators
7.7 The Break Statement
Standard
2.8 While Loops
Standard
7.3 User Input
9.3 Logical Operators
9.7 The Break Statement
Standard
4.3 User Input
6.3 Logical Operators
6.7 The Break Statement
11.4 For Loops
11.5 While Loops
Standard
1.5 For Loops
1.13 User Input
1.15 Using i in For Loops
1.16 Extended Loop Control
1.17 If Statements
1.18 If/ Else Statements
1.19 While Loops
1.20 Putting Together Control Structures
Standard
1.5 For Loops
1.13 User Input
1.15 Using i in For Loops
1.16 Extended Loop Control
1.17 If Statements
1.18 If/ Else Statements
1.19 While Loops
1.20 Putting Together Control Structures
Standard
10.3 Looping
Standard
3.3 User Input
5.2 Logical Operators
5.10 Loop and a Half
Standard
13.3 Looping
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
12.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
4.3 User Input
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
7.1 While Loops
7.2 For Loops
16.4 For Loops
16.13 User Input
16.16 Using i in For Loops
16.17 Extended Loop Control
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.21 Putting Together Control Structures
Standard
4.3 User Input
6.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
7.1 While Loops
7.2 For Loops
16.4 For Loops
16.13 User Input
16.16 Using i in For Loops
16.17 Extended Loop Control
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.21 Putting Together Control Structures
Standard
6.3 User Input
13.2 Logical Operators
13.10 Loop and a Half
Standard
13.6 Logical Operators
13.3 User Input
13.13 Loop and a Half
Standard
14.6 Logical Operators
14.3 User Input
14.13 Loop and a Half
Standard
2.3 User Input
6.3 Logical Operators
6.7 The Break Statement
Standard
5.3 User Input
6.2 Logical Operators
6.10 Loop and a Half
Standard
3.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
Standard
1.8 While Loops
Standard
2.10 If Statements
Standard
5.3 User Input
8.3 Logical Operators
8.7 The Break Statement
Standard
2.2 For Loops
4.3 User Input
4.6 Using i in For Loops
4.7 Extended Loop Control
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
5.3 User Input
7.2 Logical Operators
7.10 Loop and a Half
Standard
1.4 For Loops
1.12 User Input
1.14 Using i in For Loops
1.15 Extended Loop Control
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.9 For Loops
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.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
1.8 While Loops
3.5 For Loops
3.6 While Loops
7.1 Operators
7.2 If/Else Statements
7.3 Functions
8.1 micro:bit Challenges
Standard
2.3 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
Standard
2.3 Variables
3.5 The Physics of Sprites
Standard
2.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 For Loops
5.5 User Input
5.9 Using i in For Loops
5.10 Extended Loop Control
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
Standard
2.3 User Input
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
11.4 For Loops
11.13 User Input
11.16 Using i in For Loops
11.17 Extended Loop Control
11.18 If Statements
11.19 If/Else Statements
11.20 While Loops
11.21 Putting Together Control Structures
Standard
8.6 Logical Operators
8.3 User Input
8.13 Loop and a Half
Standard
12.6 Logical Operators
12.3 User Input
12.13 Loop and a Half
Standard
4.8 While Loops