Please enable JavaScript to use CodeHS

NV 9-12 CTE: CS.1.2.1

CodeHS Lessons

Justify the selection of specific control structures when tradeoffs involve implementation, readability, and program performance, and explain the benefits and drawbacks of choices made

Standard
1.9 For Loops
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
6.2 If/Else Statements
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
Standard
5.2 If Statements
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
25.18 If Statements
25.19 If/Else Statements
25.21 Putting Together Control Structures
Standard
3.7 Comparing Objects
4.1 Iteration
4.2 For Loops
4.3 Developing Algorithms Using Strings
4.5 Informal Code Analysis
10.1 Recursion
Standard
9.13 Loop and a Half
9.12 While Loops
9.8 If Statements
9.9 For Loops in JavaScript
9.10 For Loop Practice
Standard
1.9 For Loops
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
1.16 Challenge Problems
5.2 If/Else Statements
5.6 While Loops
5.7 The Break Statement
5.9 For Loops
6.1 Control Structures Challenges
Standard
1.9 For Loops
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
6.2 If/Else Statements
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
Standard
1.9 For Loops
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
6.2 If/Else Statements
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
Standard
7.1 If Statements
7.2 If/Else Statements
8.1 Putting Together Control Structures
Standard
7.1 If Statements
7.2 If/Else Statements
8.1 Putting Together Control Structures
Standard
4.4 If/Else Statements
Standard
3.3 For Loops
4.1 If Statements and Conditionals
4.2 If/Else Statements
5.1 While Loops
7.1 Challenge Problems
Standard
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
3.19 Putting Together Control Structures
Standard
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
6.19 Putting Together Control Structures
Standard
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
13.19 Putting Together Control Structures
Standard
7.11 For Loops
7.12 Break and Continue
Standard
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
4.2 If Statements
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
6.1 If Statements
6.2 If/ Else Statements
8.1 Putting Together Control Structures
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 While Loops
2.12 Loop-and-a-Half
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
5.1 If Statements
5.2 If/ Else Statements
6.1 Putting Together Control Structures
Standard
2.16 If Statements
2.17 If/ Else Statements
2.19 Putting Together Control Structures
4.2 If Statements
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
Standard
6.8 If Statements
6.9 For Loops in JavaScript
Standard
4.7 Comparing Objects
6.1 Iteration
6.2 For Loops
6.3 Developing Algorithms Using Strings
6.5 Informal Code Analysis
9.6 Recursion
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
2.18 If Statements
2.19 If/ Else Statements
2.22 Putting Together Control Structures
6.2 If Statements
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
Standard
3.10 For Loops
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
4.2 Challenge Problems
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
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
3.16 If Statements
3.17 If/ Else Statements
3.19 Putting Together Control Structures
Standard
2.10 For Loops
2.11 If Statements and Conditionals
2.12 If/Else Statements
2.13 While Loops
3.2 Challenge Problems
14.2 If/Else Statements
14.9 For Loops
14.6 While Loops
14.7 The Break Statement
15.1 Control Structures Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
14.10 Loop and a Half
14.9 While Loops
14.4 If Statements
14.5 For Loops in JavaScript
14.6 General For Loops
14.7 For Loop Practice
15.1 Control Structures Challenges
Standard
4.2 If Statements
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
18.16 If Statements
18.17 If/ Else Statements
18.19 Putting Together Control Structures
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
15.10 Loop and a Half
15.9 While Loops
15.4 If Statements
15.5 For Loops in JavaScript
15.6 General For Loops
15.7 For Loop Practice
16.1 Control Structures Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
6.13 Control Structures Example
6.16 Karel Challenges
6.14 More Karel Examples and Testing
Standard
1.9 For Loops
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
4.2 If/Else Statements
4.6 While Loops
4.7 The Break Statement
4.9 For Loops
18.1 Challenge Problems
23.1 Control Structures Challenges
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
6.13 If Statements
6.14 If/ Else Statements
8.11 While Loops
8.12 For Loops
7.7 If Statements
7.11 While Loops
7.12 For Loops
8.8 If/Else Statements
Standard
8.13 If Statements
8.14 If/ Else Statements
9.7 If Statements
9.11 While Loops
9.12 For Loops
10.8 If/Else Statements
10.12 For Loops
10.11 While Loops
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
14.13 Control Structures Example
14.16 Karel Challenges
14.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
3.16 If Statements
3.17 If/ Else Statements
3.19 Putting Together Control Structures
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
3.20 Putting Together Control Structures
Standard
4.11 While Loops
4.13 Loop-and-a-Half
Standard
2.10 For Loops
2.11 If Statements and Conditionals
2.12 If/Else Statements
2.13 While Loops
7.2 If/Else Statements
7.6 While Loops
7.7 The Break Statement
7.9 For Loops
Standard
2.9 For Loops
2.10 If Statements and Conditionals
2.11 If/Else Statements
2.12 While Loops
6.2 If/Else Statements
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
14.1 Challenge Problems
19.1 Control Structures Challenges
Standard
1.17 If Statements
1.18 If/ Else Statements
1.20 Putting Together Control Structures
Standard
1.17 If Statements
1.18 If/ Else Statements
1.20 Putting Together Control Structures
Standard
1.10 For Loops
1.11 If Statements
1.12 If/Else Statements
1.13 While Loops in Karel
2.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
12.13 Control Structures Example
12.16 Karel Challenges
12.14 More Karel Examples and Testing
Standard
6.2 If Statements
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
16.18 If Statements
16.19 If/Else Statements
16.21 Putting Together Control Structures
Standard
6.2 If Statements
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
16.18 If Statements
16.19 If/Else Statements
16.21 Putting Together Control Structures
Standard
3.10 For Loops
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
4.2 Challenge Problems
13.10 Loop and a Half
13.9 While Loops
13.4 If Statements
13.5 For Loops in JavaScript
13.6 General For Loops
13.7 For Loop Practice
14.1 Control Structures Challenges
Standard
13.13 Loop and a Half
13.12 While Loops
13.8 If Statements
13.9 For Loops in JavaScript
13.10 For Loop Practice
Standard
14.13 Loop and a Half
14.12 While Loops
14.8 If Statements
14.9 For Loops in JavaScript
14.10 For Loop Practice
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
Standard
4.10 For Loops
4.11 If Statements
4.12 If/Else Statements
4.13 While Loops in Karel
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
Standard
2.9 For Loops
2.10 If Statements and Conditionals
2.11 If/Else Statements
2.12 While Loops
3.1 Challenge Problems
8.2 If/Else Statements
8.6 While Loops
8.7 The Break Statement
8.9 For Loops
9.1 Control Structures Challenges
Standard
5.1 If Statements
5.2 If/ Else Statements
6.1 Putting Together Control Structures
Standard
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
3.2 Challenge Problems
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
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
9.7 Comparing Objects
10.1 Iteration
10.2 For Loops
10.3 Developing Algorithms Using Strings
10.5 Informal Code Analysis
17.1 Recursion
Standard
9.7 Comparing Objects
10.1 Iteration
10.2 For Loops
10.3 Developing Algorithms Using Strings
10.5 Informal Code Analysis
15.1 Recursion
Standard
4.2 If Statements
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
4.4 If/Else Statements
Standard
7.1 If Statements
7.2 If/Else Statements
8.1 Putting Together Control Structures
Standard
7.1 If Statements
7.2 If/Else Statements
8.1 Putting Together Control Structures
Standard
4.2 If Statements
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
4.2 If Statements
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
11.18 If Statements
11.19 If/Else Statements
11.21 Putting Together Control Structures
Standard
8.13 Loop and a Half
8.12 While Loops
8.8 If Statements
8.9 For Loops in JavaScript
8.10 For Loop Practice
Standard
12.13 Loop and a Half
12.12 While Loops
12.8 If Statements
12.9 For Loops in JavaScript
12.10 For Loop Practice
Standard
4.11 While Loops
4.13 Loop-and-a-Half
Standard
22.10 Loop and a Half
22.9 While Loops
22.4 If Statements
22.5 For Loops in JavaScript
22.6 General For Loops
22.7 For Loop Practice
23.1 Control Structures Challenges
21.1 Challenge Problems
Standard
7.1 If Statements
7.2 If/Else Statements
8.1 Putting Together Control Structures
Standard
1.16 If Statements
1.17 If/ Else Statements
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
11.14 More Karel Examples and Testing
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
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