Please enable JavaScript to use CodeHS

KY 9-12: H-AP-03

CodeHS Lessons

Use functions, data structures or objects to simplify solutions, generalizing computational problems instead of repeated use of simple variables.

Standard
20.1 Intro to Arrays
21.1 Intro to Objects
Standard
12.1 Tuples
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.1 2d Lists
13.2 List Comprehensions
13.4 Dictionaries
22.1 Classes and Objects
25.7 Functions
25.14 Parameters
28.17 For Loops and Lists
28.19 2d Lists
28.20 List Comprehensions
28.21 Dictionaries
Standard
1.5 Functions in Karel
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
5.4 Functions and Return Values 1
5.5 Functions and Return Values 2
7.1 Intro to Lists/Arrays
7.2 Indexing Into an Array
7.3 Adding/Removing From an Array
7.4 Array Length and Looping Through Arrays
7.5 Iterating Over an Array
7.6 Finding an Element in a List
7.7 Removing an Element From an Array
Standard
30.1 Classes and Objects
35.1 2d Lists
35.2 List Comprehensions
35.4 Dictionaries
Standard
1.5 Functions in Karel
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
5.4 Functions and Return Values 1
5.5 Functions and Return Values 2
7.1 Intro to Lists/Arrays
7.2 Indexing Into an Array
7.3 Adding/Removing From an Array
7.4 Array Length and Looping Through Arrays
7.5 Iterating Over an Array
7.6 Finding an Element in a List
7.7 Removing an Element From an Array
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
9.19 Intro to Lists/Arrays
Standard
19.17 Intro to Arrays
Standard
13.1 Intro to Arrays
14.1 Intro to Objects
Standard
13.1 Intro to Arrays
14.1 Intro to Objects
Standard
20.1 Intro to Arrays
21.1 Intro to Objects
Standard
3.3 Functions
5.6 Parameters
Standard
3.3 Functions
5.6 Parameters
Standard
2.4 Functions in Karel
3.8 Functions
3.13 Parameters
Standard
2.4 Functions in Karel
6.8 Functions
6.13 Parameters
Standard
1.4 Functions in Karel
13.8 Functions
13.13 Parameters
Standard
1.8 Functions
1.13 Parameters
9.1 Tuples
9.2 Lists
9.3 For Loops and Lists
9.4 List Methods
10.1 2d Lists
10.2 List Comprehensions
10.4 Dictionaries
14.1 Classes and Objects
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
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
9.11 Intro to Lists/Arrays
18.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
2.4 Calling a Void Method
2.5 Calling a Void Method with Parameters
2.6 Calling a Non-void Method
6.1 Array
7.1 ArrayList
8.1 2D Arrays
Standard
1.5 Methods in Karel
1.6 Top Down Design and Decomposition in Karel
1.16 Karel Challenges
3.1 Java Methods
3.2 Methods and Parameters
3.3 Methods and Return Values
4.4 Writing Classes
4.5 Writing Classes and Instance Methods
4.6 Getter and Setter Methods
5.5 ArrayList Methods
5.9 2D Arrays (Matrices or Grids)
5.11 HashMaps
Standard
2.8 Functions
2.13 Parameters
8.1 Tuples
8.2 Lists
8.3 For Loops and Lists
8.4 List Methods
9.1 2d Lists
9.2 List Comprehensions
9.4 Dictionaries
12.1 Classes and Objects
Standard
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
6.13 Intro to Lists/Arrays
Standard
3.4 Calling a Void Method
3.5 Calling a Void Method with Parameters
3.6 Calling a Non-void Method
8.5 ArrayList Methods
8.9 2D Arrays
8.11 HashMaps
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
5.1 Tuples
5.2 Lists
5.3 For Loops and Lists
5.4 List Methods
16.8 Functions
16.13 Parameters
Standard
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
10.4 Functions and Return Values 1
10.5 Functions and Return Values 2
10.12 Intro to Lists/Arrays
14.1 Intro to Objects/Maps
Standard
2.8 Functions
2.14 Parameters
10.1 Tuples
10.2 Lists
10.3 For Loops and Lists
10.4 List Methods
11.1 2d Lists
11.2 List Comprehensions
11.4 Dictionaries
Standard
6.17 Intro to Arrays
19.10 Functions and Parameters 1
19.11 Functions and Parameters 2
19.12 Functions and Return Values 1
19.13 Intro to Lists/Arrays
Standard
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
10.4 Functions and Return Values 1
10.5 Functions and Return Values 2
10.11 Intro to Lists/Arrays
18.1 Intro to Objects/Maps
Standard
2.5 Intro to Objects
11.17 Intro to Arrays
Standard
3.3 Functions
5.6 Parameters
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
6.13 Intro to Lists/Arrays
Standard
9.5 Tuples
9.6 Lists
9.7 For Loops and Lists
9.8 List Methods
9.10 2d Lists
10.1 Classes and Objects
Standard
3.8 Functions
3.13 Parameters
Standard
6.2 Programming with Karel
Standard
1.4 Functions in Karel
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
5.4 Functions and Return Values 1
5.5 Functions and Return Values 2
7.1 Intro to Lists/Arrays
7.2 Indexing Into an Array
7.3 Adding/Removing From an Array
7.4 Array Length and Looping Through Arrays
7.5 Iterating Over an Array
7.6 Finding an Element in a List
7.7 Removing an Element From an Array
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
17.11 Intro to Lists/Arrays
20.1 Intro to Objects/Maps
Standard
9.1 Tuples
9.2 Lists
9.3 For Loops and Lists
9.4 List Methods
9.5 2d Lists
12.1 List Comprehensions
12.3 Dictionaries
15.1 Classes and Objects
18.8 Functions
18.13 Parameters
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
6.4 Functions in Karel
Standard
10.9 Functions
10.14 Parameters
Standard
29.1 Intro to Lists/Arrays
29.8 Intro to Objects/Maps
Standard
5.12 Basic Collection Types
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
33.1 Intro to Lists/Arrays
33.8 Intro to Objects/Maps
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
33.1 Intro to Lists/Arrays
33.8 Intro to Objects/Maps
Standard
6.1 Tuples
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.5 2d Lists
6.6 Dictionaries
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
26.1 Intro to Lists/Arrays
26.8 Intro to Objects/Maps
Standard
23.2 Programming with Karel
23.5 Arrays and Objects
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
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
9.11 Intro to Lists/Arrays
18.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
6.6 Functions
6.12 Parameters
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
1.4 Functions in Karel
4.1 Functions and Parameters 1
4.2 Functions and Parameters 2
4.3 Functions and Parameters 3
4.4 Functions and Return Values 1
4.5 Functions and Return Values 2
6.1 Intro to Lists/Arrays
6.2 Indexing Into an Array
6.3 Adding/Removing From an Array
6.4 Array Length and Looping Through Arrays
6.5 Iterating Over an Array
6.6 Finding an Element in a List
6.7 Removing an Element From an Array
Standard
1.4 Functions in Karel
4.1 Functions and Parameters 1
4.2 Functions and Parameters 2
4.3 Functions and Parameters 3
4.4 Functions and Return Values 1
4.5 Functions and Return Values 2
6.1 Intro to Lists/Arrays
6.2 Indexing Into an Array
6.3 Adding/Removing From an Array
6.4 Array Length and Looping Through Arrays
6.5 Iterating Over an Array
6.6 Finding an Element in a List
6.7 Removing an Element From an Array
Standard
1.8 Functions
1.13 Parameters
14.4 Functions in Karel
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
3.8 Functions
3.13 Parameters
8.4 Functions in Karel
Standard
3.8 Functions
3.14 Parameters
Standard
3.5 Methods in Karel
3.6 Top Down Design and Decomposition in Karel
3.16 Karel Challenges
5.1 Java Methods
5.2 Methods and Parameters
5.3 Methods and Return Values
6.4 Writing Classes
6.5 Writing Classes and Instance Methods
6.6 Getter and Setter Methods
7.5 ArrayList Methods
7.9 2D Arrays
7.11 HashMaps
Standard
10.1 Intro to Lists/Arrays
16.1 Intro to Objects
Standard
1.9 Functions
1.14 Parameters
Standard
1.9 Functions
1.14 Parameters
Standard
10.2 Programming with Karel
10.5 Arrays and Objects
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
9.1 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
5.6 Dictionaries
13.1 Classes and Objects
Standard
13.2 Programming with Karel
13.5 Arrays and Objects
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
12.4 Functions in Karel
Standard
16.7 Functions
16.14 Parameters
Standard
16.7 Functions
16.14 Parameters
Standard
24.1 Intro to Arrays
25.1 Intro to Objects
Standard
14.2 Programming with Karel
14.5 Arrays and Objects
Standard
13.14 Functions and Parameters 1
13.15 Functions and Parameters 2
13.16 Functions and Return Values 1
13.17 Functions and Return Values 2
13.19 Intro to Lists/Arrays
Standard
14.14 Functions and Parameters 1
14.15 Functions and Parameters 2
14.16 Functions and Return Values 1
14.17 Functions and Return Values 2
14.19 Intro to Lists/Arrays
Standard
15.11 Intro to Lists/Arrays
21.1 Intro to Objects/Maps
15.1 Functions and Parameters 1
15.1 Functions and Parameters 1
15.2 Functions and Parameters 2
15.2 Functions and Parameters 2
15.3 Functions and Parameters 3
15.3 Functions and Parameters 3
15.4 Functions and Return Values 1
15.4 Functions and Return Values 1
15.5 Functions and Return Values 2
15.5 Functions and Return Values 2
Standard
16.2 Programming with Karel
16.5 Arrays and Objects
Standard
10.1 Intro to Arrays
11.1 Intro to Objects
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
7.11 Intro to Lists/Arrays
Standard
4.3 Functions
5.6 Parameters
Standard
2.4 Functions in Karel
Standard
3.5 Methods in Karel
3.6 Top Down Design and Decomposition in Karel
3.16 Karel Challenges
5.1 Java Methods
5.2 Methods and Parameters
5.3 Methods and Return Values
6.4 Writing Classes
6.5 Writing Classes and Instance Methods
6.6 Getter and Setter Methods
7.5 ArrayList Methods
7.9 2D Arrays (Matrices or Grids)
7.11 HashMaps
Standard
13.1 Intro to Arrays
Standard
3.3 Functions
4.4 Parameters
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
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
9.11 Intro to Lists/Arrays
17.1 Intro to Objects/Maps
Standard
1.8 Functions
1.13 Parameters
11.4 Functions in Karel
Standard
27.1 Classes and Objects
34.1 2d Lists
34.2 List Comprehensions
34.4 Dictionaries
Standard
7.1 Tuples
7.2 Lists
7.3 For Loops and Lists
7.4 List Methods
8.1 2d Lists
8.2 List Comprehensions
8.4 Dictionaries
11.1 Classes and Objects
19.5 Methods in Karel
19.6 Top Down Design and Decomposition in Karel
19.19 Karel Challenges
21.4 Calling a Void Method
21.5 Calling a Void Method with Parameters
21.6 Calling a Non-void Method
25.1 Array
26.1 ArrayList
27.1 2D Arrays
28.4 Writing Classes
28.5 Writing Classes and Instance Methods
28.6 Getter and Setter Methods
Standard
1.5 Methods in Karel
1.6 Top Down Design and Decomposition in Karel
1.19 Karel Challenges
8.4 Calling a Void Method
8.5 Calling a Void Method with Parameters
8.6 Calling a Non-void Method
12.4 Writing Classes
12.5 Writing Classes and Instance Methods
12.6 Getter and Setter Methods
13.1 Array
14.1 ArrayList
15.1 2D Arrays
Standard
1.5 Methods in Karel
1.6 Top Down Design and Decomposition in Karel
1.19 Karel Challenges
8.4 Calling a Void Method
8.5 Calling a Void Method with Parameters
8.6 Calling a Non-void Method
12.1 Array
13.1 ArrayList
14.1 2D Arrays
18.4 Writing Classes
18.5 Writing Classes and Instance Methods
18.6 Getter and Setter Methods
Standard
11.7 Functions
11.14 Parameters
Standard
4.1 Tuples
4.2 Lists
4.3 For Loops and Lists
4.4 List Methods
5.1 2d Lists
5.2 List Comprehensions
5.4 Dictionaries
9.1 Classes and Objects
Standard
4.1 Tuples
4.2 Lists
4.3 For Loops and Lists
4.4 List Methods
7.1 Classes and Objects
Standard
12.1 Tuples
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.1 2d Lists
13.2 List Comprehensions
13.4 Dictionaries
16.1 Classes and Objects
Standard
4.1 Tuples
4.2 Lists
4.3 For Loops and Lists
4.4 List Methods
5.1 2d Lists
5.2 List Comprehensions
5.4 Dictionaries
8.1 Classes and Objects
Standard
3.3 Functions
5.6 Parameters
Standard
3.3 Functions
5.6 Parameters
Standard
12.1 Tuples
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.1 2d Lists
13.2 List Comprehensions
13.4 Dictionaries
16.1 Classes and Objects
Standard
8.14 Functions and Parameters 1
8.15 Functions and Parameters 2
8.16 Functions and Return Values 1
8.17 Functions and Return Values 2
8.19 Intro to Lists/Arrays
Standard
12.14 Functions and Parameters 1
12.15 Functions and Parameters 2
12.16 Functions and Return Values 1
12.17 Functions and Return Values 2
12.19 Intro to Lists/Arrays
Standard
12.1 Tuples
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.1 2d Lists
13.2 List Comprehensions
13.4 Dictionaries
Standard
3.3 Functions
4.6 Parameters
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
25.1 Intro to Lists/Arrays
25.8 Intro to Objects/Maps
Standard
6.1 Tuples
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.5 2d Lists
6.6 Dictionaries
Standard
1.4 Functions in Karel
4.1 Intro to Lists/Arrays
4.2 Indexing Into an Array
4.3 Adding/Removing From an Array
4.4 Array Length and Looping Through Arrays
4.5 Iterating Over an Array
4.6 Finding an Element in a List
4.7 Removing an Element From an Array
Standard
6.1 Tuples
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
7.1 2d Lists
7.2 List Comprehensions
7.4 Dictionaries
Standard
10.1 Tuples
10.2 Lists
10.3 For Loops and Lists
10.4 List Methods
10.6 2d Lists
10.7 List Comprehensions
10.9 Dictionaries
11.7 Classes and Objects
Standard
1.4 Functions in Karel
Standard
10.2 Tuples
10.3 Lists
10.4 List Methods
10.5 Dictionaries
12.1 Classes and Objects
Standard
3.3 Functions
4.6 Parameters
Standard
6.1 Basic Collection Types
6.2 List Methods
6.3 Dictionaries
Standard
2.7 Functions
2.14 Parameters
11.1 Tuples
11.2 Lists
11.3 For Loops and Lists
11.4 List Methods
12.1 2d Lists
12.2 List Comprehensions
12.4 Dictionaries
20.1 Classes and Objects