Please enable JavaScript to use CodeHS

FL 9-12: SC.912.CS-CS.2.8

CodeHS Lessons

Decompose a problem by defining new functions and classes

Standard
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 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
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
1.14 Control Structures Example
Standard
2.8 Functions
2.13 Parameters
2.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
6.4 Functions and Return Values
12.1 Classes and Objects
23.6 Top Down Design and Decomposition in Karel
23.5 Functions in Karel
Standard
1.5 Functions in Karel
1.7 Top Down Design and Decomposition 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
5.7 JavaScript vs Karel
Standard
1.5 Functions in Karel
1.6 Top Down Design and Decomposition 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
5.8 Python vs Karel
27.1 Classes and Objects
Standard
1.5 Functions in Karel
1.7 Top Down Design and Decomposition 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
5.7 JavaScript vs Karel
Standard
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.10 If Statements
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
13.13 Parameters
13.19 Putting Together Control Structures
Standard
4.4 JavaScript Objects
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
4.3 Looping
Standard
3.3 Functions
4.3 Parameters
6.1 Putting Together Control Structures
10.6 Top Down Design and Decomposition in Karel
10.5 Functions in Karel
Standard
2.6 Top Down Design and Decomposition in Karel
2.9 For Loops
2.10 If Statements
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
3.13 Parameters
3.19 Putting Together Control Structures
Standard
2.6 Top Down Design and Decomposition in Karel
2.9 For Loops
2.10 If Statements
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
6.13 Parameters
6.19 Putting Together Control Structures
Standard
2.16 Functions and Parameters 1
2.17 Functions and Parameters 2
2.18 Functions and Parameters 3
2.19 Functions and Return Values 1
2.20 Functions and Return Values 2
Standard
7.14 Functions
7.15 Functions and Parameters
7.17 Functions and Return Values
Standard
1.6 Top Down Design and Decomposition in Karel
1.9 For Loops
1.10 If Statements
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
Standard
1.8 Functions
1.13 Parameters
1.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
6.4 Functions and Return Values
12.1 Arduino Challenges
14.1 Classes and Objects
Standard
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 Control Structures Example
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
14.1 Arduino Challenges
Standard
3.3 Functions
4.3 Parameters
7.5 Functions
8.1 Putting Together Control Structures
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
1.6 Top Down Design and Decomposition in Karel
3.2 Methods and Parameters
3.3 Methods and Return Values
Standard
3.1 Java Methods
3.2 Methods and Parameters
3.3 Methods and Return Values
3.4 Javadocs and More Methods
3.5 Strings Methods
4.1 Introduction to Classes and Objects
4.2 Classes vs. Objects
4.3 Using a Class as a Client
4.4 Writing Classes
4.5 Writing Classes and Instance Methods
4.11 Key Terms for Classes
4.14 Class Design and Abstract Classes
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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
3.3 Karel Can't Turn Right
3.4 Functions in Karel
3.5 The Start Function
3.6 Top Down Design and Decomposition in Karel
3.14 Control Structures Example
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.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
3.19 Putting Together Control Structures
Standard
6.2 Programming with Karel
6.3 Looping
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition 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
5.7 JavaScript vs Karel
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.4 Functions and Return Values
18.8 Functions
18.13 Parameters
18.19 Putting Together Control Structures
15.1 Classes and Objects
Standard
8.4 JavaScript Objects
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
6.6 Top Down Design and Decomposition in Karel
6.9 For Loops
6.10 If Statements
6.11 If/Else Statements
6.12 While Loops in Karel
6.13 Control Structures Example
6.14 More Karel Examples and Testing
6.16 Karel Challenges
9.5 Functions
Standard
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 Control Structures Example
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
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 Control Structures Example
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
23.2 Programming with Karel
23.3 Looping
Standard
1.8 Functions
1.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition 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
4.7 JavaScript vs Karel
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition 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
4.7 JavaScript vs Karel
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
3.8 Functions
3.13 Parameters
3.19 Putting Together Control Structures
8.6 Top Down Design and Decomposition in Karel
8.9 For Loops
8.10 If Statements
8.11 If/Else Statements
8.12 While Loops in Karel
8.13 Control Structures Example
8.14 More Karel Examples and Testing
8.16 Karel Challenges
Standard
3.8 Functions
3.14 Parameters
3.20 Putting Together Control Structures
Standard
5.1 Java Methods
5.2 Methods and Parameters
5.3 Methods and Return Values
5.4 Javadocs and More Methods
5.5 Strings Methods
6.1 Introduction to Classes and Objects
6.2 Classes vs. Objects
6.3 Using a Class as a Client
6.4 Writing Classes
6.5 Writing Classes and Instance Methods
6.11 Key Terms for Classes
6.14 Class Design and Abstract Classes
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition in Karel
Standard
1.8 Functions
1.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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
3.3 Karel Can't Turn Right
3.4 Functions in Karel
3.5 The Start Function
3.6 Top Down Design and Decomposition in Karel
3.14 Control Structures Example
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
Standard
16.2 Programming with Karel
16.3 Looping
Standard
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 Control Structures Example
Standard
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.14 Karel Algorithms
2.17 Karel Challenges
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.13 Control Structures Example
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
5.1 Java Methods
5.2 Methods and Parameters
5.3 Methods and Return Values
5.4 Javadocs and More Methods
5.5 Strings Methods
6.1 Introduction to Classes and Objects
6.2 Classes vs. Objects
6.3 Using a Class as a Client
6.4 Writing Classes
6.5 Writing Classes and Instance Methods
6.11 Key Terms for Classes
6.14 Class Design and Abstract Classes
Standard
21.2 Programming with Karel
21.3 Looping
Standard
3.3 Functions
4.4 Parameters
6.1 Putting Together Control Structures
Standard
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.13 Control Structures Example
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.3 Karel Can't Turn Right
2.4 Functions in Karel
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
2.14 Control Structures Example
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.13 Parameters
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.9 For Loops
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.5 Functions
Standard
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 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
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
1.13 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
12.1 Introduction to Classes and Objects
12.2 Classes vs. Objects
12.3 Using a Class as a Client
12.4 Writing Classes
12.5 Writing Classes and Instance Methods
12.11 Key Terms for Classes
12.14 Class Design and Abstract Classes
Standard
2.8 Functions
2.14 Parameters
2.22 Putting Together Control Structures
8.1 Functions
8.2 Functions and Parameters
8.4 Functions and Return Values