IN CS 2: CSII-4.8

CodeHS Lessons

Create programmer defined functions and methods to break down program logic and support reuse.

 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 9.1 Functions 9.2 Functions and Parameters 9.4 Functions and Return Values 24.14 Parameters 24.7 Functions 24.21 Putting Together Control Structures
 Standard 5.4 Accessor Methods 5.5 Mutator Methods 5.6 Writing Methods
 Standard 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
 Standard 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
 Standard 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
 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 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 3.3 Functions 3.6 Top Down Design 5.6 Parameters 8.1 Putting Together Control Structures
 Standard 3.3 Functions 3.6 Top Down Design 5.6 Parameters 8.1 Putting Together Control Structures
 Standard 2.1 Functions in Karel 2.4 Top Down Design and Decomposition in Karel
 Standard 13.8 Functions 13.10 Top Down Design 13.13 Parameters 13.19 Putting Together Control Structures
 Standard 3.8 Functions 3.10 Top Down Design 3.13 Parameters 3.19 Putting Together Control Structures
 Standard 6.8 Functions 6.10 Top Down Design 6.13 Parameters 6.19 Putting Together Control Structures
 Standard 7.14 Functions 7.15 Functions and Parameters 7.17 Functions and Return Values
 Standard 1.8 Functions 1.10 Top Down Design 1.13 Parameters 1.19 Putting Together Control Structures 6.1 Functions 6.2 Functions and Parameters 6.4 Functions and Return Values 7.4 Functions
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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 10.4 Functions
 Standard 3.3 Functions 3.5 Top Down Design 4.3 Parameters 7.5 Functions 8.1 Putting Together Control Structures
 Standard 7.5 Functions
 Standard 2.5 Functions
 Standard 2.4 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 1.5 Methods in Karel 1.6 Top Down Design and Decomposition in Karel 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.7 Class Methods and Class Variables
 Standard 4.4 Writing Classes 4.5 Writing Classes and Instance Methods 4.6 Getter and Setter Methods 4.7 Class Methods and Class Variables
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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 3.3 Functions 3.5 Top Down Design 4.3 Parameters 6.1 Putting Together Control Structures
 Standard 2.8 Functions 2.10 Top Down Design 2.13 Parameters 2.19 Putting Together Control Structures 6.1 Functions 6.2 Functions and Parameters 6.4 Functions and Return Values
 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 6.10 Functions and Parameters 1 6.11 Functions and Parameters 2 6.12 Functions and Return Values 1
 Standard 7.4 Accessor Methods 7.5 Mutator Methods 7.6 Writing Methods
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.6 Top Down Design and Decomposition in Karel 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.14 Parameters 2.22 Putting Together Control Structures 8.1 Functions 8.2 Functions and Parameters 8.4 Functions and Return Values
 Standard 3.4 Functions in Karel 3.6 Top Down Design and Decomposition in Karel 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.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 3.19 Putting Together Control Structures
 Standard 6.2 Programming with Karel
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel
 Standard 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
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.10 Top Down Design 18.13 Parameters 18.19 Putting Together Control Structures
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 9.5 Functions
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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 5.1 Functions 5.2 Functions and Parameters 5.4 Functions and Return Values
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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
 Standard 1.8 Functions 1.10 Top Down Design 1.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 6.6 Functions 6.8 Top Down Design 6.12 Parameters 7.13 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 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
 Standard 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
 Standard 1.8 Functions 1.10 Top Down Design 1.13 Parameters 1.19 Putting Together Control Structures 6.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 3.8 Functions 3.10 Top Down Design 3.13 Parameters 3.19 Putting Together Control Structures
 Standard 3.8 Functions 3.10 Top Down Design 3.14 Parameters 3.20 Putting Together Control Structures
 Standard 6.4 Writing Classes 6.5 Writing Classes and Instance Methods 6.6 Getter and Setter Methods 6.7 Class Methods and Class Variables
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel
 Standard 1.8 Functions 1.10 Top Down Design 1.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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 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
 Standard 1.8 Functions 1.10 Top Down Design 1.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 8.1 Functions 8.2 Functions and Parameters 8.4 Functions and Return Values 16.14 Parameters 16.7 Functions 16.21 Putting Together Control Structures
 Standard 3.1 Functions and Parameters 1 3.2 Functions and Parameters 2 3.3 Functions and Parameters 3 3.4 Functions and Return Values 1 3.5 Functions and Return Values 2
 Standard 8.1 Functions 8.2 Functions and Parameters 8.4 Functions and Return Values 16.14 Parameters 16.7 Functions 16.21 Putting Together Control Structures
 Standard 3.1 Functions and Parameters 1 3.2 Functions and Parameters 2 3.3 Functions and Parameters 3 3.4 Functions and Return Values 1 3.5 Functions and Return Values 2
 Standard 3.4 Functions in Karel 3.6 Top Down Design and Decomposition in Karel 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
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel
 Standard 4.4 Functions in Karel 4.6 Top Down Design and Decomposition in Karel 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.6 Top Down Design and Decomposition in Karel
 Standard 20.2 Programming with Karel
 Standard 3.3 Functions 3.5 Top Down Design 4.4 Parameters 6.1 Putting Together Control Structures
 Standard 2.4 Functions in Karel 2.6 Top Down Design and Decomposition in Karel 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.6 Top Down Design and Decomposition in Karel 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.13 Parameters 1.19 Putting Together Control Structures 14.5 Functions
 Standard 11.4 Accessor Methods 11.5 Mutator Methods 11.6 Writing Methods 12.4 Writing Classes 12.5 Writing Classes and Instance Methods 12.6 Getter and Setter Methods 12.7 Class Methods and Class Variables
 Standard 11.4 Accessor Methods 11.5 Mutator Methods 11.6 Writing Methods 18.4 Writing Classes 18.5 Writing Classes and Instance Methods 18.6 Getter and Setter Methods 18.7 Class Methods and Class Variables
 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 7.3 Functions
 Standard 1.1 Functions 1.2 Functions and Parameters 1.4 Functions and Return Values
 Standard 3.3 Functions 3.6 Top Down Design 5.6 Parameters 8.1 Putting Together Control Structures
 Standard 3.3 Functions 3.6 Top Down Design 5.6 Parameters 8.1 Putting Together Control Structures
 Standard 9.1 Functions 9.2 Functions and Parameters 9.4 Functions and Return Values
 Standard 11.14 Parameters 11.7 Functions 11.21 Putting Together Control Structures
 Standard 1.1 Functions 1.2 Functions and Parameters 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 6.4 Writing Classes 6.5 Writing Classes and Instance Methods 6.6 Getter and Setter Methods 6.7 Class Methods and Class Variables
 Standard 1.4 Functions in Karel 1.6 Top Down Design and Decomposition in Karel 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