Please enable JavaScript to use CodeHS

KS 6-8: 8.AP.C.01

CodeHS Lessons

Develop programs that utilize combinations of nested repetition, compound conditionals, procedures without parameters, and the manipulation of variables representing different data types.(CSTA Practice - P5)

Standard
1.4 Functions in Karel
1.14 Control Structures Example
6.2 If/Else Statements
6.9 For Loops
Standard
3.2 Variables and Types
3.4 Mathematical Operators
3.5 String Operators
7.4 Nested Control Structures
9.1 Functions
24.10 Variables
24.18 If Statements
24.19 If/Else Statements
24.20 While Loops
24.7 Functions
24.21 Putting Together Control Structures
Standard
9.8 If Statements
9.9 For Loops in JavaScript
Standard
22.4 If Statements
22.5 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.14 Control Structures Example
5.2 If/Else Statements
5.9 For Loops
Standard
1.4 Functions in Karel
1.14 Control Structures Example
6.2 If/Else Statements
6.9 For Loops
Standard
1.4 Functions in Karel
1.14 Control Structures Example
6.2 If/Else Statements
6.9 For Loops
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
3.4 Under the Sea
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
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
4.4 Under the Sea
Standard
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.3 Functions
5.1 Variables
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
22.2 Under the Sea
Standard
3.3 Functions
5.1 Variables
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
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
4.4 If/Else Statements
Standard
2.1 Functions in Karel
5.1 While Loops in Karel
6.1 Control Structures Example
Standard
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
13.8 Functions
13.19 Putting Together Control Structures
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.11 Variables
Standard
2.9 For Loops
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.8 Functions
3.11 Variables
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.9 For Loops
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
6.8 Functions
6.19 Putting Together Control Structures
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.11 Variables
Standard
7.4 Mathematical Operators
7.5 String Operators
7.14 Functions
Standard
1.9 For Loops
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
3.12 While Loops in Karel
3.13 Control Structures Example
3.4 Functions in Karel
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
2.2 Variables and Types
2.4 Mathematical Operators
2.5 String Operators
3.4 Variables
5.4 Nested Control Structures
6.1 Functions
7.1 Loops
7.2 If/Else Statements
7.3 Arithmetic, Comparison, and Logical Operators
7.4 Functions
12.1 Arduino Challenges
15.1 Advanced Challenges with Tracy
Standard
1.4 Functions in Karel
1.13 Control Structures Example
5.4 Variables
6.4 If Statements
6.5 For Loops in JavaScript
10.1 Loops
10.2 If/Else Statements
10.3 Arithmetic, Comparison, and Logical Operators
10.4 Functions
14.1 Arduino Challenges
Standard
3.3 Functions
4.1 Variables
5.4 Variables
6.1 If Statements
6.2 If/ Else Statements
6.3 While Loops
7.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
8.1 Putting Together Control Structures
9.1 micro:bit Challenges
10.1 Advanced Challenges with Tracy
Standard
2.4 Variables
3.1 Functions in Karel
6.1 While Loops in Karel
7.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
8.1 Control Structures Example
10.1 micro:bit Challenges
Standard
1.4 Variables
2.1 For Loops
2.2 While Loops
2.3 Operators
2.4 If/Else Statements
2.5 Functions
3.1 micro:bit Challenges
Standard
1.4 Variables
2.1 Loops
2.2 If/Else Statements
2.3 Arithmetic, Comparison, and Logical Operators
2.4 Functions
3.1 Arduino Challenges
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
1.4 Functions in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.13 Control Structures Example
5.4 If Statements
5.5 For Loops in JavaScript
Standard
3.3 Functions
4.1 Variables
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
7.1 Advanced Challenges with Tracy
Standard
2.8 Functions
2.11 Variables
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
3.2 Variables and Types
3.4 Mathematical Operators
3.5 String Operators
5.4 Nested Control Structures
6.1 Functions
13.1 Advanced Challenges with Tracy
Standard
14.8 If Statements
14.9 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
8.4 If Statements
8.5 For Loops in JavaScript
Standard
2.8 Functions
2.12 Variables
2.18 If Statements
2.19 If/ Else Statements
2.20 While Loops
2.22 Putting Together Control Structures
5.2 Variables and Types
5.4 Mathematical Operators
5.5 String Operators
7.4 Nested Control Structures
8.1 Functions
16.1 Advanced Challenges with Tracy
Standard
3.4 Functions in Karel
3.14 Control Structures Example
8.4 If Statements
8.5 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
9.4 If Statements
9.5 For Loops in JavaScript
Standard
3.8 Functions
3.11 Variables
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.4 Functions in Karel
2.14 Control Structures Example
15.4 If Statements
15.5 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
14.4 If Statements
14.5 For Loops in JavaScript
Standard
3.3 Variables and Types
3.5 Mathematical Operators
3.6 String Operators
5.4 Nested Control Structures
6.1 Functions
18.8 Functions
18.19 Putting Together Control Structures
18.16 If Statements
18.17 If/ Else Statements
18.18 While Loops
18.11 Variables
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
6.13 Control Structures Example
6.12 While Loops in Karel
6.9 For Loops
9.1 For Loops
9.2 While Loops
9.3 Operators
9.4 If/Else Statements
9.5 Functions
10.1 micro:bit Challenges
6.11 If/Else Statements
Standard
1.4 Functions in Karel
1.14 Control Structures Example
4.2 If/Else Statements
4.9 For Loops
Standard
1.4 Functions in Karel
1.13 Control Structures Example
10.4 If Statements
10.5 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.13 Control Structures Example
10.4 If Statements
10.5 For Loops in JavaScript
Standard
4.3 Variables and Types
4.5 Mathematical Operators
4.6 String Operators
5.1 Functions
Standard
1.4 Functions in Karel
1.13 Control Structures Example
6.4 If Statements
6.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
6.6 Functions
6.10 Variables
6.13 If Statements
6.14 If/ Else Statements
6.15 While Loops
8.12 For Loops
7.2 Variables and Types
7.4 Mathematical Operators
7.5 String Operators
7.13 Functions
8.8 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
4.4 Variables
14.13 Control Structures Example
14.12 While Loops in Karel
14.9 For Loops
6.1 For Loops
6.2 While Loops
6.3 Operators
6.4 If/Else Statements
6.5 Functions
7.1 micro:bit Challenges
14.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
3.8 Functions
3.11 Variables
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
8.9 For Loops
8.11 If/Else Statements
8.12 While Loops in Karel
8.13 Control Structures Example
Standard
3.8 Functions
3.12 Variables
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
7.1 Advanced Challenges with Tracy
Standard
2.4 Functions in Karel
2.15 Control Structures Example
7.2 If/Else Statements
7.9 For Loops
Standard
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.4 Functions in Karel
2.14 Control Structures Example
6.2 If/Else Statements
6.9 For Loops
11.3 Variables
11.4 For Loops
11.5 While Loops
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
12.13 Control Structures Example
12.12 While Loops in Karel
12.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
12.11 If/Else Statements
Standard
4.2 Variables and Types
4.4 Mathematical Operators
4.5 String Operators
7.4 Nested Control Structures
8.1 Functions
16.10 Variables
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.7 Functions
16.21 Putting Together Control Structures
Standard
4.2 Variables and Types
4.4 Mathematical Operators
4.5 String Operators
7.4 Nested Control Structures
8.1 Functions
16.10 Variables
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.7 Functions
16.21 Putting Together Control Structures
Standard
3.4 Functions in Karel
3.14 Control Structures Example
10.4 If Statements
10.5 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.13 Control Structures Example
Standard
4.4 Functions in Karel
4.14 Control Structures Example
6.4 If Statements
6.5 For Loops in JavaScript
Standard
2.10 If Statements
Standard
2.4 Functions in Karel
2.15 Control Structures Example
8.2 If/Else Statements
8.9 For Loops
Standard
3.3 Functions
4.2 Variables
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
7.1 Advanced Challenges with Tracy
Standard
2.4 Functions in Karel
2.13 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
2.4 Functions in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
1.8 Functions
1.11 Variables
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
3.4 Variables
11.13 Control Structures Example
11.12 While Loops in Karel
11.9 For Loops
14.1 For Loops
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
11.11 If/Else Statements
Standard
13.8 If Statements
13.9 For Loops in JavaScript
Standard
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
3.4 Variables
3.5 For Loops
3.6 While Loops
7.1 Operators
7.2 If/Else Statements
7.3 Functions
8.1 micro:bit Challenges
Standard
2.2 Variables and Types
2.4 Mathematical Operators
2.5 String Operators
6.4 Nested Control Structures
Standard
1.1 Functions
Standard
4.4 If/Else Statements
Standard
3.3 Functions
5.1 Variables
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
3.3 Functions
5.1 Variables
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.2 Variables and Types
2.4 Mathematical Operators
2.5 String Operators
6.4 Nested Control Structures
9.1 Functions
Standard
2.2 Variables and Types
2.4 Mathematical Operators
2.5 String Operators
6.4 Nested Control Structures
11.10 Variables
11.18 If Statements
11.19 If/Else Statements
11.20 While Loops
11.7 Functions
11.21 Putting Together Control Structures
Standard
8.8 If Statements
8.9 For Loops in JavaScript
Standard
12.8 If Statements
12.9 For Loops in JavaScript
Standard
1.4 Functions in Karel
1.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
Standard
2.1 Quest for the Rosetta Stone
2.2 A Day at the Park
Standard
1.4 Under the Sea
Standard
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