Please enable JavaScript to use CodeHS

NY 7-8: 7-8.CT.4

CodeHS Lessons

Write a program using functions or procedures whose names or other documentation convey their purpose within the larger task.

Standard
1.1 Introduction to Programming With Karel
1.2 More About Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
8.1 Parameters
8.2 Return Values
8.3 Default Parameter Values
Standard
9.1 Functions
9.2 Functions and Parameters
24.10 Variables
24.14 Parameters
24.7 Functions
24.21 Putting Together Control Structures
Standard
9.14 Functions and Parameters 1
9.15 Functions and Parameters 2
Standard
1.1 Introduction to Programming With Karel
1.2 More About Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
7.1 Parameters
7.2 Return Values
7.3 Default Parameter Values
Standard
1.1 Introduction to Programming With Karel
1.2 More About Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
8.1 Parameters
8.2 Return Values
8.3 Default Parameter Values
Standard
1.1 Introduction to Programming With Karel
1.2 More About Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
8.1 Parameters
8.2 Return Values
8.3 Default Parameter Values
Standard
5.3 Functions
5.4 Multiple Functions
5.5 For Loops
5.6 Conditional Statements
5.7 If/Else Statements
5.8 While Loops
5.9 Karel Challenges
8.2 Color
8.3 Variables
8.4 The Draw Loop
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
1.3 Functions
1.4 Multiple Functions
1.5 For Loops
1.6 Conditional Statements
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
4.2 Color
4.3 Variables
4.4 The Draw Loop
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.2 Naming Guidelines
3.3 Functions
3.6 Top Down Design
5.1 Variables
5.6 Parameters
7.3 Returning Values from Functions
8.1 Putting Together Control Structures
Standard
3.2 Naming Guidelines
3.3 Functions
3.6 Top Down Design
5.1 Variables
5.6 Parameters
7.3 Returning Values from Functions
8.1 Putting Together Control Structures
Standard
1.3 Color
1.4 Variables
2.1 The Draw Loop
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
2.4 Top Down Design and Decomposition in Karel
7.1 Karel Challenges
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition in Karel
1.7 Commenting Your Code
1.16 Karel Challenges
13.10 Top Down Design
13.11 Variables
13.8 Functions
13.19 Putting Together Control Structures
13.7 Naming Guidelines
Standard
2.4 Functions in Karel
2.6 Top Down Design and Decomposition in Karel
2.7 Commenting Your Code
2.16 Karel Challenges
3.7 Naming Guidelines
3.8 Functions
3.10 Top Down Design
3.11 Variables
3.19 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.6 Top Down Design and Decomposition in Karel
2.7 Commenting Your Code
2.16 Karel Challenges
6.10 Top Down Design
6.11 Variables
6.8 Functions
6.19 Putting Together Control Structures
6.7 Naming Guidelines
Standard
7.14 Functions
7.15 Functions and Parameters
Standard
2.4 Determining Allele Order
2.5 Percent Genotype Dominance
2.6 Print Total Genotype Dominance
3.4 Changing Speeds on Collision
3.5 Inelastic Collisions
3.6 Elastic Collisions
4.3 Time to Impact
4.4 Elastic Collisions
Standard
1.4 Functions in Karel
1.6 Top Down Design and Decomposition in Karel
1.7 Commenting Your Code
1.16 Karel Challenges
3.4 Functions in Karel
3.6 Top Down Design and Decomposition in Karel
3.17 Karel Challenges
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
7.4 Functions
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
10.4 Functions
Standard
3.2 Naming Guidelines
3.3 Functions
3.5 Top Down Design
4.1 Variables
7.5 Functions
8.1 Putting Together Control Structures
Standard
3.1 Functions in Karel
3.4 Top Down Design and Decomposition in Karel
7.5 Functions
9.1 Karel Challenges
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
Standard
3.2 Naming Guidelines
3.3 Functions
3.5 Top Down Design
4.1 Variables
6.1 Putting Together Control Structures
Standard
2.7 Naming Guidelines
2.8 Functions
2.10 Top Down Design
2.11 Variables
2.19 Putting Together Control Structures
6.1 Functions
6.2 Functions and Parameters
Standard
14.10 Functions and Parameters 1
14.11 Functions and Parameters 2
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
Standard
2.7 Naming Guidelines
2.8 Functions
2.10 Top Down Design
2.12 Variables
2.22 Putting Together Control Structures
8.1 Functions
8.2 Functions and Parameters
Standard
3.1 Introduction to Programming With Karel
3.2 More Basic Karel
3.3 Karel Can't Turn Right
3.4 Functions in Karel
3.9 Super Karel
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
11.1 Functions and Parameters 1
11.2 Functions and Parameters 2
11.3 Functions and Parameters 3
Standard
3.7 Naming Guidelines
3.8 Functions
3.10 Top Down Design
3.11 Variables
3.19 Putting Together Control Structures
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
17.1 Functions and Parameters 1
17.2 Functions and Parameters 2
17.3 Functions and Parameters 3
Standard
6.1 Functions
6.2 Functions and Parameters
18.10 Top Down Design
18.11 Variables
18.8 Functions
18.19 Putting Together Control Structures
18.7 Naming Guidelines
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
6.6 Top Down Design and Decomposition in Karel
6.4 Functions in Karel
9.5 Functions
6.16 Karel Challenges
6.7 Commenting Your Code
Standard
1.1 Introduction to Programming With Karel
1.2 More About Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
5.1 Parameters
5.2 Return Values
5.3 Default Parameter Values
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
Standard
5.1 Functions
5.2 Functions and Parameters
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
6.6 Functions
6.8 Top Down Design
6.10 Variables
7.13 Functions
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
14.6 Top Down Design and Decomposition in Karel
14.4 Functions in Karel
6.5 Functions
14.16 Karel Challenges
14.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
3.7 Naming Guidelines
3.8 Functions
3.10 Top Down Design
3.11 Variables
3.19 Putting Together Control Structures
8.4 Functions in Karel
8.6 Top Down Design and Decomposition in Karel
8.7 Commenting Your Code
8.16 Karel Challenges
Standard
3.7 Naming Guidelines
3.8 Functions
3.10 Top Down Design
3.12 Variables
3.20 Putting Together Control Structures
Standard
2.1 Introduction to Programming With Karel
2.2 More About Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Parameters
9.2 Return Values
9.3 Default Parameter Values
Standard
2.3 Functions
2.4 Multiple Functions
2.5 For Loops
2.6 Conditional Statements
2.7 If/Else Statements
2.8 While Loops
2.9 Karel Challenges
5.2 Color
5.3 Variables
5.4 The Draw Loop
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.1 Introduction to Programming With Karel
2.2 More About Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.8 Super Karel
7.1 Parameters
7.2 Return Values
7.3 Default Parameter Values
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
3.1 Introduction to Programming With Karel
3.2 More Basic Karel
3.3 Karel Can't Turn Right
3.4 Functions in Karel
3.9 Super 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
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.8 Super Karel
Standard
4.1 Introduction to Programming With Karel
4.2 More Basic Karel
4.3 Karel Can't Turn Right
4.4 Functions in Karel
4.9 Super Karel
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
Standard
2.1 Introduction to Programming With Karel
2.2 More About Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.8 Super Karel
10.1 Parameters
10.3 Return Values
10.4 Default Parameter Values
Standard
3.2 Naming Guidelines
3.3 Functions
3.5 Top Down Design
4.2 Variables
6.1 Putting Together Control Structures
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.8 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
2.1 Introduction to Programming With Karel
2.2 More Basic Karel
2.3 Karel Can't Turn Right
2.4 Functions in Karel
2.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
11.6 Top Down Design and Decomposition in Karel
11.4 Functions in Karel
14.5 Functions
11.16 Karel Challenges
11.7 Commenting Your Code
Standard
13.14 Functions and Parameters 1
13.15 Functions and Parameters 2
Standard
1.3 Functions
1.4 Multiple Functions
1.5 For Loops
1.6 Conditional Statements
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
5.2 Color
5.3 Variables
5.4 The Draw Loop
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.3 Functions
1.4 Multiple Functions
1.5 For Loops
1.6 Conditional Statements
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
Standard
3.2 Naming Guidelines
3.3 Functions
3.6 Top Down Design
5.1 Variables
5.6 Parameters
7.3 Returning Values from Functions
8.1 Putting Together Control Structures
Standard
3.2 Naming Guidelines
3.3 Functions
3.6 Top Down Design
5.1 Variables
5.6 Parameters
7.3 Returning Values from Functions
8.1 Putting Together Control Structures
Standard
9.1 Functions
9.2 Functions and Parameters
Standard
11.10 Variables
11.14 Parameters
11.7 Functions
11.21 Putting Together Control Structures
Standard
1.1 Functions
1.2 Functions and Parameters
Standard
8.14 Functions and Parameters 1
8.15 Functions and Parameters 2
Standard
12.14 Functions and Parameters 1
12.15 Functions and Parameters 2
Standard
1.1 Introduction to Programming With Karel
1.2 More Basic Karel
1.3 Karel Can't Turn Right
1.4 Functions in Karel
1.9 Super Karel
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
Standard
1.3 Functions
1.4 Multiple Functions
1.5 For Loops
1.6 Conditional Statements
1.7 If/Else Statements
1.8 While Loops
1.9 Karel Challenges
3.2 Color
3.3 Variables
3.4 The Draw Loop
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.7 Naming Guidelines
1.8 Functions
1.10 Top Down Design
1.11 Variables
1.19 Putting Together Control Structures
12.6 Top Down Design and Decomposition in Karel
12.4 Functions in Karel
14.5 Functions
12.16 Karel Challenges
12.7 Commenting Your Code