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
21.1 Classes and Objects
24.14 Parameters
24.7 Functions
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 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
27.1 Classes and Objects
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
4.2 Programming with Karel
4.5 Arrays and Objects
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
1.4 Functions in Karel
13.8 Functions
13.13 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
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
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
3.3 Functions
4.3 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.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
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
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
12.1 Intro to Lists/Arrays
12.8 Intro to Objects/Maps
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
21.1 Intro to Lists/Arrays
21.8 Intro to Objects/Maps
Standard
3.3 Functions
4.3 Parameters
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
14.10 Functions and Parameters 1
14.11 Functions and Parameters 2
14.13 Intro to Lists/Arrays
14.12 Functions and Return Values 1
Standard
4.4 Calling a Void Method
4.5 Calling a Void Method with Parameters
4.6 Calling a Non-void Method
9.5 ArrayList Methods
9.9 2D Arrays
9.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
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
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
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
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
11.11 Intro to Lists/Arrays
19.1 Intro to Objects/Maps
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
18.8 Functions
12.1 List Comprehensions
12.3 Dictionaries
15.1 Classes and Objects
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
29.1 Intro to Lists/Arrays
29.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
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
17.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
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
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.14 Parameters
16.7 Functions
Standard
16.14 Parameters
16.7 Functions
Standard
24.1 Functions and Parameters 1
24.1 Functions and Parameters 1
24.2 Functions and Parameters 2
24.2 Functions and Parameters 2
24.3 Functions and Parameters 3
24.3 Functions and Parameters 3
24.4 Functions and Return Values 1
24.4 Functions and Return Values 1
24.5 Functions and Return Values 2
24.5 Functions and Return Values 2
12.11 Intro to Lists/Arrays
19.1 Intro to Objects/Maps
Standard
16.2 Programming with Karel
16.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
7.11 Intro to Lists/Arrays
Standard
2.4 Functions in Karel
Standard
13.1 Intro to Arrays
Standard
20.2 Programming with Karel
20.5 Arrays and Objects
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
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
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
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
11.14 Parameters
11.7 Functions
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
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
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
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
11.6 Intro to Lists/Arrays