Please enable JavaScript to use CodeHS

OH 6: ATP.A.6.a

CodeHS Lessons

Compare and refine multiple algorithms for the same task to determine which is the most efficient.

Standard
1.3 Karel Can't Turn Right
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
4.2 Graphics Challenges
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
6.1 Control Structures Challenges
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
8.1 Functions Challenges
10.1 Animation Challenges
Standard
2.4 For Loops
2.8 Functions
2.10 Top Down Design
2.13 Parameters
2.14 Using i in For Loops
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
6.2 Functions and Parameters
7.4 Strings and For Loops
8.3 For Loops and Lists
Standard
33.4 Strings and For Loops
Standard
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.8 Functions
13.10 Top Down Design
13.13 Parameters
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
Standard
9.9 For Loops in JavaScript
9.10 For Loop Practice
9.12 While Loops
9.14 Functions and Parameters 1
9.15 Functions and Parameters 2
Standard
21.1 Challenge Problems
22.5 For Loops in JavaScript
22.6 General For Loops
22.7 For Loop Practice
22.9 While Loops
23.1 Control Structures Challenges
Standard
2.2 For Loops
3.3 Functions
3.5 Top Down Design
4.3 Parameters
4.4 Using i in For Loops
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
Standard
2.9 For Loops
2.13 Control Structures Example
2.16 Karel Challenges
3.4 For Loops
3.8 Functions
3.10 Top Down Design
3.13 Parameters
3.14 Using i in For Loops
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
Standard
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.8 Functions
6.10 Top Down Design
6.13 Parameters
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
Standard
7.15 Functions and Parameters
Standard
6.3 For Loops and Lists
Standard
1.9 For Loops
1.13 Control Structures Example
1.16 Karel Challenges
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
7.1 Graphics Challenges
9.5 For Loops in JavaScript
9.6 General For Loops
9.7 For Loop Practice
9.9 While Loops
10.1 Control Structures Challenges
11.1 Functions and Parameters 1
11.2 Functions and Parameters 2
11.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
14.5 For Loops in JavaScript
14.6 General For Loops
14.7 For Loop Practice
14.9 While Loops
15.1 Control Structures Challenges
17.1 Functions and Parameters 1
17.2 Functions and Parameters 2
17.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
6.16 Karel Challenges
6.13 Control Structures Example
6.9 For Loops
Standard
1.3 Karel Can't Turn Right
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
5.2 Graphics Challenges
6.5 For Loops in JavaScript
6.6 General For Loops
6.7 For Loop Practice
6.9 While Loops
7.1 Control Structures Challenges
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
9.1 Functions Challenges
11.1 Animation Challenges
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
3.4 For Loops
3.8 Functions
3.10 Top Down Design
3.14 Parameters
3.15 Using i in For Loops
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
3.3 Karel Can't Turn Right
3.5 The Start Function
3.6 Top Down Design and Decomposition in Karel
3.10 For Loops
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
4.2 Challenge Problems
7.1 Graphics Challenges
10.5 For Loops in JavaScript
10.6 General For Loops
10.7 For Loop Practice
10.9 While Loops
11.1 Control Structures Challenges
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.9 For Loops
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.9 For Loops
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.3 Karel Can't Turn Right
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.10 For Loops
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
8.1 Control Structures Challenges
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.4 For Loops
1.8 Functions
1.10 Top Down Design
1.13 Parameters
1.14 Using i in For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
11.16 Karel Challenges
11.13 Control Structures Example
11.9 For Loops
Standard
1.3 Karel Can't Turn Right
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
4.2 Graphics Challenges
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
6.1 Control Structures Challenges
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
8.1 Functions Challenges
10.1 Animation Challenges
Standard
1.3 Karel Can't Turn Right
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
4.2 Graphics Challenges
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
6.1 Control Structures Challenges
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
8.1 Functions Challenges