Please enable JavaScript to use CodeHS

AL 8: 4

CodeHS Lessons

Create a function to simplify a task. Example: 38 = 3*3*3*3*3*3*3*3; =(Average) used in a spreadsheet to average a given list of grades.

Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
Standard
2.8 Functions
6.1 Functions
6.2 Functions and Parameters
7.4 Strings and For Loops
7.5 The in Keyword
8.3 For Loops and Lists
8.4 List Methods
Standard
33.4 Strings and For Loops
33.5 The in Keyword
Standard
1.4 Functions in Karel
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.8 Functions
Standard
9.14 Functions and Parameters 1
9.15 Functions and Parameters 2
9.16 Functions and Return Values 1
9.17 Functions and Return Values 2
Standard
4.2 Programming with Karel
Standard
2.1 Functions in Karel
3.3 For Loops
5.1 While Loops in Karel
6.1 Control Structures Example
6.2 More Karel Examples and Testing
6.4 Ultra Karel
7.1 Karel Challenges
8.1 Final Project
Standard
3.3 Functions
Standard
2.4 Functions in Karel
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.8 Functions
Standard
2.4 Functions in Karel
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
6.8 Functions
Standard
7.14 Functions
7.15 Functions and Parameters
Standard
6.3 For Loops and Lists
6.4 List Methods
Standard
1.4 Functions in Karel
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
3.9 For Loops
3.4 Functions in Karel
3.12 While Loops in Karel
3.13 Control Structures Example
3.14 More Karel Examples and Testing
3.16 Ultra Karel
3.17 Karel Challenges
3.18 Final Project
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
1.5 Methods in Karel
3.1 Java Methods
3.2 Methods and Parameters
3.3 Methods and Return Values
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
11.1 Functions and Parameters 1
11.2 Functions and Parameters 2
11.3 Functions and Parameters 3
11.4 Functions and Return Values 1
11.5 Functions and Return Values 2
Standard
17.1 Functions and Parameters 1
17.2 Functions and Parameters 2
17.3 Functions and Parameters 3
17.4 Functions and Return Values 1
17.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
6.9 For Loops
6.11 If/Else Statements
6.12 While Loops in Karel
6.13 Control Structures Example
6.4 Functions in Karel
6.14 More Karel Examples and Testing
6.16 Karel Challenges
Standard
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
8.4 Functions and Return Values 1
8.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
12.4 Functions and Return Values 1
12.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
Standard
1.8 Functions
11.9 For Loops
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.4 Functions in Karel
11.14 More Karel Examples and Testing
11.16 Karel Challenges
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2