Please enable JavaScript to use CodeHS

NV 6-8: 6-8.AP.PD.3

CodeHS Lessons

Systematically test and refine programs using a range of test cases.

Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.4 Basic Math in JavaScript
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.7 For Loop Practice
5.10 Loop and a Half
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.8 Key Events
9.9 Crazy Ball Game
11.1 Breakout
Standard
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
5.2 For Loops
5.3 Break and Continue
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
6.5 Exceptions
7.2 Slicing
7.4 Strings and For Loops
7.5 The in Keyword
7.6 String Methods
8.1 Tuples
8.2 Lists
8.3 For Loops and Lists
8.4 List Methods
9.4 Dictionaries
9.5 Equivalence vs. Identity
Standard
33.2 Slicing
33.4 Strings and For Loops
33.5 The in Keyword
33.6 String Methods
Standard
1.14 More Karel Examples and Testing
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
Standard
9.4 Basic Math in JavaScript
9.5 Booleans
9.6 Logical Operators
9.7 Comparison Operators
9.8 If Statements
9.10 For Loop Practice
9.13 Loop and a Half
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.3 Looping
4.4 Branching
21.1 Challenge Problems
22.1 Booleans
22.2 Logical Operators
22.3 Comparison Operators
22.4 If Statements
22.7 For Loop Practice
22.10 Loop and a Half
Standard
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
2.14 More Karel Examples and Testing
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.14 More Karel Examples and Testing
3.4 Basic Math in JavaScript
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
Standard
7.8 Comparison Operators
7.9 Logical Operators
7.11 For Loops
7.12 Break and Continue
7.16 Namespaces in Functions
7.15 Functions and Parameters
7.17 Functions and Return Values
7.18 Exceptions
Standard
6.1 Tuples
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.6 Dictionaries
Standard
1.14 More Karel Examples and Testing
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
5.2 For Loops
5.3 Break and Continue
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
6.5 Exceptions
7.1 Loops
7.2 If/Else Statements
8.2 Slicing
8.4 Strings and For Loops
8.5 The in Keyword
8.6 String Methods
9.1 Tuples
9.2 Lists
9.3 For Loops and Lists
9.4 List Methods
10.4 Dictionaries
10.5 Equivalence vs. Identity
12.1 Arduino Challenges
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.4 Basic Math in JavaScript
6.1 Booleans
6.2 Logical Operators
6.3 Comparison Operators
6.4 If Statements
6.7 For Loop Practice
6.10 Loop and a Half
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.1 Loops
10.2 If/Else Statements
11.8 Key Events
11.9 Crazy Ball Game
13.1 Breakout
14.1 Arduino Challenges
Standard
6.2 If/ Else Statements
6.3 While Loops
7.2 While Loops
7.4 If/Else Statements
8.1 Putting Together Control Structures
9.1 micro:bit Challenges
Standard
7.2 While Loops
7.4 If/Else Statements
10.1 micro:bit Challenges
Standard
2.2 While Loops
2.4 If/Else Statements
3.1 micro:bit Challenges
Standard
2.1 Loops
2.2 If/Else Statements
3.1 Arduino Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
1.14 More Karel Examples and Testing
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.5 Basic Math in JavaScript
8.1 Booleans
8.2 Logical Operators
8.3 Comparison Operators
8.4 If Statements
8.7 For Loop Practice
8.10 Loop and a Half
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
18.3 Key Events
18.4 Crazy Ball Game
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
4.2 Challenge Problems
6.4 Basic Math in JavaScript
8.1 Booleans
8.2 Logical Operators
8.3 Comparison Operators
8.4 If Statements
8.7 For Loop Practice
8.10 Loop and a Half
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
16.3 Key Events
16.4 Crazy Ball Game
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.4 Basic Math in JavaScript
9.1 Booleans
9.2 Logical Operators
9.3 Comparison Operators
9.4 If Statements
9.7 For Loop Practice
9.10 Loop and a Half
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
17.3 Key Events
17.4 Crazy Ball Game
Standard
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
6.3 Looping
6.4 Branching
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
4.5 Basic Math in JavaScript
13.1 Booleans
13.2 Logical Operators
13.3 Comparison Operators
13.4 If Statements
13.7 For Loop Practice
13.10 Loop and a Half
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
14.1 Booleans
14.2 Logical Operators
14.3 Comparison Operators
14.4 If Statements
14.7 For Loop Practice
14.10 Loop and a Half
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
16.3 Key Events
16.4 Crazy Ball Game
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
6.14 More Karel Examples and Testing
9.2 While Loops
9.4 If/Else Statements
10.1 micro:bit Challenges
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
4.4 Basic Math in JavaScript
6.1 Booleans
6.2 Logical Operators
6.3 Comparison Operators
6.4 If Statements
6.7 For Loop Practice
6.10 Loop and a Half
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.8 Key Events
10.9 Crazy Ball Game
12.1 Breakout
Standard
23.3 Looping
23.4 Branching
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.4 Basic Math in JavaScript
Standard
2.4 Basic Math in JavaScript
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
4.2 Challenge Problems
6.4 Basic Math in JavaScript
10.1 Booleans
10.2 Logical Operators
10.3 Comparison Operators
10.4 If Statements
10.7 For Loop Practice
10.10 Loop and a Half
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
17.3 Key Events
17.4 Crazy Ball Game
Standard
17.3 Looping
17.4 Branching
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
10.8 Key Events
10.9 Crazy Ball Game
11.1 Breakout
Standard
21.3 Looping
21.4 Branching
Standard
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 Basic Math in JavaScript
7.1 Booleans
7.2 Logical Operators
7.3 Comparison Operators
7.4 If Statements
7.7 For Loop Practice
7.10 Loop and a Half
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
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.14 More Karel Examples and Testing
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.4 Basic Math in JavaScript
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.7 For Loop Practice
5.10 Loop and a Half
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.8 Key Events
9.9 Crazy Ball Game
11.1 Breakout
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.4 Basic Math in JavaScript
5.1 Booleans
5.2 Logical Operators
5.3 Comparison Operators
5.4 If Statements
5.7 For Loop Practice
5.10 Loop and a Half
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