Please enable JavaScript to use CodeHS

OH 8: ATP.CS.8.a

CodeHS Lessons

Use and apply decisions and loops in a program to solve a problem.

2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
14.4 If Statements
14.5 For Loops in JavaScript
14.6 General For Loops
14.7 For Loop Practice
14.9 While Loops
14.10 Loop and a Half
15.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
11.1 Breakout
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
6.4 If Statements
6.5 For Loops in JavaScript
6.6 General For Loops
6.7 For Loop Practice
6.9 While Loops
6.10 Loop and a Half
7.1 Control Structures Challenges
10.1 Loops
10.2 If/Else Statements
12.1 Animation Challenges
13.1 Breakout
14.1 Arduino Challenges
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
9.4 If Statements
9.5 For Loops in JavaScript
9.6 General For Loops
9.7 For Loop Practice
9.9 While Loops
9.10 Loop and a Half
10.1 Control Structures Challenges
3.10 For Loops
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
8.4 If Statements
8.5 For Loops in JavaScript
8.6 General For Loops
8.7 For Loop Practice
8.9 While Loops
8.10 Loop and a Half
9.1 Control Structures Challenges
3.10 For Loops
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
10.4 If Statements
10.5 For Loops in JavaScript
10.6 General For Loops
10.7 For Loop Practice
10.9 While Loops
10.10 Loop and a Half
11.1 Control Structures Challenges
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
6.4 If Statements
6.5 For Loops in JavaScript
6.6 General For Loops
6.7 For Loop Practice
6.9 While Loops
6.10 Loop and a Half
7.1 Control Structures Challenges
11.1 Animation Challenges
12.1 Breakout
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
5.10 Loop and a Half
6.1 Control Structures Challenges
10.1 Animation Challenges
11.1 Breakout
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
5.10 Loop and a Half
6.1 Control Structures Challenges
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
5.10 Loop and a Half
6.1 Control Structures Challenges
10.1 Animation Challenges
11.1 Breakout
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
13.4 If Statements
13.5 For Loops in JavaScript
13.6 General For Loops
13.7 For Loop Practice
13.9 While Loops
13.10 Loop and a Half
14.1 Control Structures Challenges
4.3 Looping
4.4 Branching
22.4 If Statements
22.5 For Loops in JavaScript
22.6 General For Loops
22.7 For Loop Practice
22.9 While Loops
22.10 Loop and a Half
23.1 Control Structures Challenges
9.8 If Statements
9.9 For Loops in JavaScript
9.10 For Loop Practice
9.12 While Loops
9.13 Loop and a Half
1.9 For Loops
1.13 Control Structures Example
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
2.9 For Loops
2.13 Control Structures Example
2.16 Karel Challenges
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
2.9 For Loops
2.13 Control Structures Example
2.16 Karel Challenges
3.4 For Loops
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
2.2 For Loops
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.4 If/Else Statements
8.1 Putting Together Control Structures
9.1 micro:bit Challenges
3.4 For Loops
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
1.4 For Loops
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
4.2 If Statements
5.1 While Loops
5.2 For Loops
5.4 Nested Control Structures
7.1 Loops
7.2 If/Else Statements
8.4 Strings and For Loops
9.3 For Loops and Lists
12.1 Arduino Challenges
2.2 For Loops
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
3.4 For Loops
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
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
6.13 Control Structures Example
6.9 For Loops
9.1 For Loops
9.2 While Loops
9.4 If/Else Statements
10.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
1.4 For Loops
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.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
2.2 For Loops
4.4 Using i in For Loops
4.5 Extended Loop Control
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
2.4 For Loops
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
4.2 If Statements
5.1 While Loops
5.2 For Loops
5.4 Nested Control Structures
7.4 Strings and For Loops
8.3 For Loops and Lists
1.9 For Loops
1.13 Control Structures Example
1.16 Karel Challenges
7.11 For Loops
21.3 Looping
21.4 Branching
7.1 For Loops
7.2 While Loops
7.4 If/Else Statements
10.1 micro:bit Challenges
2.1 For Loops
2.2 While Loops
2.4 If/Else Statements
3.1 micro:bit Challenges
2.1 Loops
2.2 If/Else Statements
3.1 Arduino Challenges