Please enable JavaScript to use CodeHS

KS 9-12: L2.AP.C.01

CodeHS Lessons

Trace the execution of repetition (e.g., loops, recursion), illustrating output and changes in values of named variables.

Standard
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
10.4 Strings and For Loops
12.3 For Loops and Lists
25.16 Using i in For Loops
25.17 Extended Loop Control
25.20 While Loops
Standard
4.1 Iteration
4.2 For Loops
4.5 Informal Code Analysis
10.1 Recursion
Standard
4.6 For Loops in JavaScript
4.7 General For Loops
4.8 For Loop Practice
4.10 While Loops
4.11 Loop and a Half
Standard
33.4 Strings and For Loops
Standard
9.10 For Loop Practice
Standard
4.7 For Loops in JavaScript
4.8 General For Loops
4.9 For Loop Practice
4.11 While Loops
4.12 Loop and a Half
Standard
5.9 Using i in For Loops
5.10 Extended Loop Control
7.4 While Loops
Standard
5.9 Using i in For Loops
5.10 Extended Loop Control
7.4 While Loops
Standard
2.9 For Loops
2.12 While Loops in Karel
2.14 More Karel Examples and Testing
2.16 Karel Challenges
3.14 Using i in For Loops
3.15 Extended Loop Control
3.18 While Loops
Standard
2.9 For Loops
2.12 While Loops in Karel
2.14 More Karel Examples and Testing
2.16 Karel Challenges
6.14 Using i in For Loops
6.15 Extended Loop Control
6.18 While Loops
Standard
1.9 For Loops
1.12 While Loops in Karel
1.14 More Karel Examples and Testing
1.16 Karel Challenges
13.14 Using i in For Loops
13.15 Extended Loop Control
13.18 While Loops
Standard
7.11 For Loops
7.12 Break and Continue
Standard
1.9 For Loops
1.12 While Loops in Karel
1.14 More Karel Examples and Testing
1.16 Karel Challenges
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
7.1 Loops
8.4 Strings and For Loops
9.3 For Loops and Lists
Standard
6.6 General For Loops
6.7 For Loop Practice
10.1 Loops
Standard
4.4 Using i in For Loops
4.5 Extended Loop Control
6.3 While Loops
7.1 For Loops
7.2 While Loops
Standard
7.1 For Loops
7.2 While Loops
Standard
2.1 For Loops
2.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
2.9 For Loops
2.10 While Loops
5.7 Additional Loop Examples
Standard
5.6 General For Loops
5.7 For Loop Practice
Standard
5.6 General For Loops
5.7 For Loop Practice
Standard
5.6 General For Loops
5.7 For Loop Practice
Standard
4.4 Using i in For Loops
4.5 Extended Loop Control
5.3 While Loops
Standard
2.14 Using i in For Loops
2.15 Extended Loop Control
2.18 While Loops
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
7.4 Strings and For Loops
8.3 For Loops and Lists
Standard
6.1 Iteration
6.2 For Loops
6.5 Informal Code Analysis
8.7 Additional Loop Examples
9.6 Recursion
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
8.6 General For Loops
8.7 For Loop Practice
Standard
2.16 Using i in For Loops
2.17 Extended Loop Control
2.20 While Loops
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
9.4 Strings and For Loops
10.3 For Loops and Lists
Standard
8.6 General For Loops
8.7 For Loop Practice
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
9.6 General For Loops
9.7 For Loop Practice
Standard
3.14 Using i in For Loops
3.15 Extended Loop Control
3.18 While Loops
Standard
4.6 For Loops in JavaScript
4.7 General For Loops
4.8 For Loop Practice
4.10 While Loops
4.11 Loop and a Half
Standard
14.7 For Loop Practice
14.6 General For Loops
Standard
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
8.4 Strings and For Loops
9.3 For Loops and Lists
18.14 Using i in For Loops
18.15 Extended Loop Control
18.18 While Loops
Standard
15.7 For Loop Practice
15.6 General For Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
6.9 For Loops
6.12 While Loops in Karel
6.14 More Karel Examples and Testing
6.16 Karel Challenges
9.1 For Loops
9.2 While Loops
Standard
10.6 General For Loops
10.7 For Loop Practice
Standard
10.6 General For Loops
10.7 For Loop Practice
Standard
6.3 For Loops and Lists
Standard
6.6 General For Loops
6.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
6.15 While Loops
7.11 While Loops
7.12 For Loops
Standard
8.15 While Loops
9.11 While Loops
9.12 For Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
3.5 For Loops in JavaScript
3.6 General For Loops
3.7 For Loop Practice
3.9 While Loops
3.10 Loop and a Half
Standard
3.5 For Loops in JavaScript
3.6 General For Loops
3.7 For Loop Practice
3.9 While Loops
3.10 Loop and a Half
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
14.9 For Loops
14.12 While Loops in Karel
14.14 More Karel Examples and Testing
14.16 Karel Challenges
6.1 For Loops
6.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
3.14 Using i in For Loops
3.15 Extended Loop Control
3.18 While Loops
8.9 For Loops
8.12 While Loops in Karel
8.14 More Karel Examples and Testing
8.16 Karel Challenges
Standard
3.15 Using i in For Loops
3.16 Extended Loop Control
3.19 While Loops
Standard
4.10 For Loops
4.11 While Loops
7.7 Additional Loop Examples
Standard
3.6 For Loops in JavaScript
3.7 General For Loops
3.8 For Loop Practice
3.10 While Loops
3.11 Loop and a Half
Standard
11.4 For Loops
11.5 While Loops
Standard
1.15 Using i in For Loops
1.16 Extended Loop Control
1.19 While Loops
Standard
1.15 Using i in For Loops
1.16 Extended Loop Control
1.19 While Loops
Standard
5.6 General For Loops
5.7 For Loop Practice
Standard
4.4 Strings and For Loops
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
18.4 Strings and For Loops
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
12.9 For Loops
12.12 While Loops in Karel
12.14 More Karel Examples and Testing
12.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
16.16 Using i in For Loops
16.17 Extended Loop Control
16.20 While Loops
Standard
15.4 Strings and For Loops
Standard
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
16.16 Using i in For Loops
16.17 Extended Loop Control
16.20 While Loops
Standard
15.4 Strings and For Loops
Standard
13.7 For Loop Practice
13.6 General For Loops
Standard
6.6 General For Loops
6.7 For Loop Practice
Standard
4.6 Using i in For Loops
4.7 Extended Loop Control
5.3 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
7.6 General For Loops
7.7 For Loop Practice
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
10.1 Iteration
10.2 For Loops
10.5 Informal Code Analysis
17.1 Recursion
Standard
10.1 Iteration
10.2 For Loops
10.5 Informal Code Analysis
15.1 Recursion
Standard
3.5 For Loops
3.6 While Loops
Standard
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
5.9 Using i in For Loops
5.10 Extended Loop Control
7.4 While Loops
Standard
5.9 Using i in For Loops
5.10 Extended Loop Control
7.4 While Loops
Standard
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
10.4 Strings and For Loops
12.3 For Loops and Lists
Standard
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
11.16 Using i in For Loops
11.17 Extended Loop Control
11.20 While Loops
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
8.10 For Loop Practice
Standard
12.10 For Loop Practice
Standard
4.10 For Loops
4.11 While Loops
7.7 Additional Loop Examples
Standard
6.3 For Loops and Lists
Standard
22.7 For Loop Practice
22.6 General For Loops
Standard
5.9 Using i in For Loops
5.10 Extended Loop Control
7.4 While Loops
Standard
1.14 Using i in For Loops
1.15 Extended Loop Control
1.18 While Loops
11.9 For Loops
11.12 While Loops in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.1 For Loops
14.2 While Loops
Standard
7.6 General For Loops
7.7 For Loop Practice