Please enable JavaScript to use CodeHS

SC 6-8: 6.AP.4.2

CodeHS Lessons

Reuse code multiple times within an algorithm and/or program.

Standard
1.4 Functions in Karel
1.14 Control Structures Example
2.1 Challenge Problems
9.1 Functions Challenges
12.1 Breakout
Standard
9.1 Functions
9.2 Functions and Parameters
9.3 Namespaces in Functions
9.4 Functions and Return Values
25.7 Functions
25.21 Putting Together Control Structures
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
13.3 Looping
Standard
1.4 Functions in Karel
1.14 Control Structures Example
1.16 Challenge Problems
8.1 Functions Challenges
11.1 Breakout
Standard
1.4 Functions in Karel
1.14 Control Structures Example
2.1 Challenge Problems
9.1 Functions Challenges
12.1 Breakout
Standard
1.4 Functions in Karel
1.14 Control Structures Example
2.1 Challenge Problems
9.1 Functions Challenges
13.1 Breakout
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
3.3 A Day at the Carnival
3.4 Under the Sea
5.4 Multiple Functions
5.5 For Loops
5.7 If/Else Statements
5.8 While Loops
5.9 Karel Challenges
8.2 Color
8.3 Variables
8.5 Color Transitions
8.6 Shape Transformations
8.7 Direction
8.8 Mouse Data
8.9 Keyboard Data
8.10 Project: Animate an Emoji
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
4.3 A Day at the Carnival
4.4 Under the Sea
Standard
1.4 Multiple Functions
1.5 For Loops
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
4.2 Color
4.3 Variables
4.5 Color Transitions
4.6 Shape Transformations
4.7 Direction
4.8 Mouse Data
4.9 Keyboard Data
4.10 Project: Animate an Emoji
Standard
3.3 Functions
3.6 Top Down Design
8.1 Putting Together Control Structures
22.1 A Day at the Carnival
22.2 Under the Sea
Standard
3.3 Functions
3.6 Top Down Design
8.1 Putting Together Control Structures
Standard
1.3 Color
1.4 Variables
2.2 Color Transitions
2.3 Shape Transformations
2.4 Direction
3.2 Mouse Data
3.3 Keyboard Data
Standard
2.1 Functions in Karel
6.2 Control Structures Example
7.1 Challenge Problems
Standard
2.4 Functions in Karel
2.13 Control Structures Example
2.16 Karel Challenges
3.8 Functions
3.10 Top Down Design
3.19 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.13 Control Structures Example
2.16 Karel Challenges
6.8 Functions
6.19 Putting Together Control Structures
6.10 Top Down Design
Standard
1.4 Functions in Karel
1.13 Control Structures Example
1.16 Karel Challenges
13.8 Functions
13.19 Putting Together Control Structures
13.10 Top Down Design
Standard
7.14 Functions
7.16 Namespaces in Functions
7.15 Functions and Parameters
7.17 Functions and Return Values
Standard
1.4 Functions in Karel
1.13 Control Structures Example
1.16 Karel Challenges
Standard
1.8 Functions
1.10 Top Down Design
1.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
7.4 Functions
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
9.1 Functions Challenges
10.4 Functions
13.1 Breakout
Standard
3.3 Functions
3.5 Top Down Design
7.5 Functions
8.1 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
8.1 Functions Challenges
11.1 Breakout
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
8.1 Functions Challenges
11.1 Breakout
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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 Functions Challenges
9.1 Functions Challenges
Standard
3.3 Functions
3.5 Top Down Design
6.1 Putting Together Control Structures
Standard
2.8 Functions
2.10 Top Down Design
2.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
Standard
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
Standard
2.8 Functions
2.10 Top Down Design
2.22 Putting Together Control Structures
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
Standard
3.4 Functions in Karel
3.14 Control Structures Example
4.2 Challenge Problems
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
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
3.8 Functions
3.10 Top Down Design
3.19 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.16 Control Structures Example
3.2 Challenge Problems
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
18.8 Functions
18.19 Putting Together Control Structures
18.10 Top Down Design
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
6.4 Functions in Karel
6.13 Control Structures Example
6.16 Karel Challenges
9.5 Functions
Standard
1.4 Functions in Karel
1.14 Control Structures Example
18.1 Challenge Problems
25.1 Functions Challenges
27.1 Breakout
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
Standard
1.3 A Day at the Carnival
1.4 Under the Sea
Standard
1.4 Multiple Functions
1.5 For Loops
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
3.2 Color
3.3 Variables
3.5 Color Transitions
3.6 Shape Transformations
3.7 Direction
3.8 Mouse Data
3.9 Keyboard Data
3.10 Project: Animate an Emoji
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
13.1 Functions Challenges
23.1 Breakout
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
13.1 Functions Challenges
23.1 Breakout
Standard
5.1 Functions
5.2 Functions and Parameters
5.3 Namespaces in Functions
5.4 Functions and Return Values
Standard
1.4 Functions in Karel
1.13 Control Structures Example
2.1 Challenge Problems
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
9.1 Functions Challenges
12.1 Breakout
Standard
1.8 Functions
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
6.6 Functions
6.8 Top Down Design
7.13 Functions
Standard
8.6 Functions
8.8 Top Down Design
9.13 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
1.8 Functions
1.10 Top Down Design
1.19 Putting Together Control Structures
14.4 Functions in Karel
14.13 Control Structures Example
14.16 Karel Challenges
6.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
3.8 Functions
3.10 Top Down Design
3.19 Putting Together Control Structures
8.4 Functions in Karel
8.13 Control Structures Example
8.16 Karel Challenges
Standard
3.8 Functions
3.10 Top Down Design
3.20 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.15 Control Structures Example
15.1 Breakout
Standard
2.4 Multiple Functions
2.5 For Loops
2.7 If/Else Statements
2.8 While Loops
2.9 Karel Challenges
5.2 Color
5.3 Variables
5.5 Color Transitions
5.6 Shape Transformations
5.7 Direction
5.8 Mouse Data
5.9 Keyboard Data
5.10 Project: Animate an Emoji
Standard
2.4 Functions in Karel
2.14 Control Structures Example
14.1 Challenge Problems
21.1 Functions Challenges
23.1 Breakout
Standard
1.9 Functions
1.11 Top Down Design
1.20 Putting Together Control Structures
Standard
1.9 Functions
1.11 Top Down Design
1.20 Putting Together Control Structures
Standard
10.3 Looping
Standard
1.4 Functions in Karel
1.14 Control Structures Example
2.2 Challenge Problems
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
13.3 Looping
Standard
1.8 Functions
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
12.4 Functions in Karel
12.13 Control Structures Example
12.16 Karel Challenges
14.5 Functions
Standard
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
16.7 Functions
16.21 Putting Together Control Structures
Standard
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
16.7 Functions
16.21 Putting Together Control Structures
Standard
3.4 Functions in Karel
3.14 Control Structures Example
4.2 Challenge Problems
26.1 Functions and Parameters 1
26.1 Functions and Parameters 1
26.2 Functions and Parameters 2
26.2 Functions and Parameters 2
26.3 Functions and Parameters 3
26.3 Functions and Parameters 3
26.4 Functions and Return Values 1
26.4 Functions and Return Values 1
26.5 Functions and Return Values 2
26.5 Functions and Return Values 2
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
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
Standard
1.4 Functions in Karel
1.13 Control Structures Example
Standard
4.4 Functions in Karel
4.14 Control Structures Example
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.4 Functions in Karel
2.15 Control Structures Example
3.1 Challenge Problems
12.1 Breakout
Standard
3.3 Functions
3.5 Top Down Design
6.1 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.13 Control Structures Example
3.2 Challenge Problems
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
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
1.4 Multiple Functions
1.5 For Loops
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
5.2 Color
5.3 Variables
5.5 Color Transitions
5.6 Shape Transformations
5.7 Direction
5.8 Mouse Data
5.9 Keyboard Data
5.10 Project: Animate an Emoji
Standard
1.4 Multiple Functions
1.5 For Loops
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
7.3 Functions
Standard
1.1 Functions
1.2 Functions and Parameters
1.3 Namespaces in Functions
1.4 Functions and Return Values
Standard
3.3 Functions
3.6 Top Down Design
8.1 Putting Together Control Structures
Standard
3.3 Functions
3.6 Top Down Design
8.1 Putting Together Control Structures
Standard
9.1 Functions
9.2 Functions and Parameters
9.3 Namespaces in Functions
9.4 Functions and Return Values
Standard
11.7 Functions
11.21 Putting Together Control Structures
Standard
1.1 Functions
1.2 Functions and Parameters
1.3 Namespaces in Functions
1.4 Functions and Return Values
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
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
Standard
4.3 Looping
21.1 Challenge Problems
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
4.3 A Day at the Carnival
4.4 Under the Sea
Standard
1.4 Multiple Functions
1.5 For Loops
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
4.2 Color
4.3 Variables
4.5 Color Transitions
4.6 Shape Transformations
4.7 Direction
4.8 Mouse Data
4.9 Keyboard Data
4.10 Project: Animate an Emoji
Standard
3.3 Functions
3.6 Top Down Design
8.1 Putting Together Control Structures
Standard
1.8 Functions
1.10 Top Down Design
1.19 Putting Together Control Structures
11.4 Functions in Karel
11.13 Control Structures Example
11.16 Karel Challenges
14.5 Functions
Standard
2.4 Functions in Karel
2.14 Control Structures Example
3.2 Challenge Problems
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