Please enable JavaScript to use CodeHS

Montana 9-12: CS.AP.9-12.10

CodeHS Lessons

decompose problems into smaller components through systematic analysis, using constructs such as procedures, modules, or objects;

Standard
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
10.1 Timers
10.2 Stopping Timers
10.3 Collisions
10.4 Mouse Click Events
19.3 Animation Practice
Standard
9.9 For Loops in JavaScript
9.10 For Loop Practice
9.12 While Loops
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
19.11 While Loops
19.12 The Break Statement
19.13 For Loops
Standard
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
1.16 Challenge Problems
5.6 While Loops
5.7 The Break Statement
5.9 For Loops
6.1 Control Structures Challenges
9.1 Timers
9.2 Stopping Timers
9.3 Collisions
9.4 Mouse Click Events
27.2 Animation Practice
Standard
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
10.1 Timers
10.2 Stopping Timers
10.3 Collisions
10.4 Mouse Click Events
25.3 Animation Practice
Standard
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
7.1 Control Structures Challenges
11.1 Timers
11.2 Stopping Timers
11.3 Collisions
11.4 Mouse Click Events
17.3 Animation Practice
Standard
2.3 The Main Function
2.4 Top Down Design and Decomposition in Karel
7.1 Challenge Problems
Standard
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
4.2 Graphics Challenges
6.5 For Loops in JavaScript
6.7 For Loop Practice
6.9 While Loops
6.10 Loop and a Half
7.1 Control Structures Challenges
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
11.1 Timers
11.2 Random Circles
11.3 Random Ghosts
11.4 Bouncing Ball
11.5 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
1.6 Top Down Design and Decomposition in Karel
3.1 Java Methods
3.2 Methods and Parameters
Standard
6.9 For Loops in JavaScript
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
Standard
7.6 Writing Methods
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
7.1 Graphics Challenges
8.5 For Loops in JavaScript
8.7 For Loop Practice
8.9 While Loops
8.10 Loop and a Half
9.1 Control Structures Challenges
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
10.7 Timers
10.8 Random Circles
10.9 Random Ghosts
10.10 Bouncing Ball
10.11 Mouse Events: Mouse Clicked
Standard
6.11 While Loops
6.12 The Break Statement
6.13 For Loops
19.9 For Loops in JavaScript
19.10 Functions and Parameters 1
19.11 Functions and Parameters 2
19.12 Functions and Return Values 1
Standard
3.5 The Start Function
3.6 Top Down Design and Decomposition in Karel
4.2 Challenge Problems
7.1 Graphics Challenges
8.5 For Loops in JavaScript
8.7 For Loop Practice
8.9 While Loops
8.10 Loop and a Half
9.1 Control Structures Challenges
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
10.6 Timers
10.7 Random Circles
10.8 Random Ghosts
10.9 Bouncing Ball
10.10 Mouse Events: Mouse Clicked
Standard
11.11 While Loops
11.12 The Break Statement
11.13 For Loops
13.1 Timers
13.2 Stopping Timers
13.3 Collisions
13.4 Mouse Click Events
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
6.9 For Loops in JavaScript
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
Standard
2.5 The Main Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
15.6 While Loops
15.7 The Break Statement
15.9 For Loops
16.1 Control Structures Challenges
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
14.5 For Loops in JavaScript
14.7 For Loop Practice
14.9 While Loops
14.10 Loop and a Half
15.1 Control Structures Challenges
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
17.6 Timers
17.7 Random Circles
17.8 Random Ghosts
17.9 Bouncing Ball
17.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
15.6 While Loops
15.7 The Break Statement
15.9 For Loops
16.1 Control Structures Challenges
Standard
1.5 The Main Function
1.6 Top Down Design and Decomposition in Karel
4.6 While Loops
4.7 The Break Statement
4.9 For Loops
6.1 Timers
6.2 Stopping Timers
6.3 Collisions
6.4 Mouse Click Events
18.1 Challenge Problems
21.3 Animation Practice
23.1 Control Structures Challenges
Standard
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
9.2 Graphics Challenges
10.5 For Loops in JavaScript
10.7 For Loop Practice
10.9 While Loops
10.10 Loop and a Half
11.1 Control Structures Challenges
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
21.1 Timers
21.2 Random Circles
21.3 Random Ghosts
21.4 Bouncing Ball
21.5 Mouse Events: Mouse Clicked
Standard
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
9.2 Graphics Challenges
10.5 For Loops in JavaScript
10.7 For Loop Practice
10.9 While Loops
10.10 Loop and a Half
11.1 Control Structures Challenges
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
21.1 Timers
21.2 Random Circles
21.3 Random Ghosts
21.4 Bouncing Ball
21.5 Mouse Events: Mouse Clicked
Standard
1.5 Timers
1.6 Stopping Timers
1.7 Collisions
1.8 Mouse Click Events
Standard
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
5.2 Graphics Challenges
6.5 For Loops in JavaScript
6.7 For Loop Practice
6.9 While Loops
6.10 Loop and a Half
7.1 Control Structures Challenges
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 Timers
10.2 Random Circles
10.3 Random Ghosts
10.4 Bouncing Ball
10.5 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
8.11 While Loops
8.12 For Loops
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Main Function
2.6 Top Down Design and Decomposition in Karel
7.6 While Loops
7.7 The Break Statement
7.9 For Loops
13.1 Timers
13.2 Stopping Timers
13.3 Collisions
13.4 Mouse Click Events
18.3 Animation Practice
Standard
5.5 The Main Function
5.6 Top Down Design and Decomposition in Karel
6.1 Challenge Problems
9.6 While Loops
9.7 The Break Statement
9.9 For Loops
10.1 Control Structures Challenges
Standard
2.5 The Main Function
2.6 Top Down Design and Decomposition in Karel
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
8.1 Timers
8.2 Stopping Timers
8.3 Collisions
8.4 Mouse Click Events
14.1 Challenge Problems
17.3 Animation Practice
19.1 Control Structures Challenges
Standard
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.2 Challenge Problems
4.1 Graphics Challenges
5.5 For Loops in JavaScript
5.7 For Loop Practice
5.8 Random Numbers
5.9 While Loops
5.10 Loop and a Half
6.1 Control Structures Challenges
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
8.1 Timers
8.2 Random Circles
8.3 Random Ghosts
8.4 Bouncing Ball
8.5 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
5.5 The Main Function
5.6 Top Down Design and Decomposition in Karel
6.1 Challenge Problems
18.6 While Loops
18.7 The Break Statement
18.9 For Loops
19.1 Control Structures Challenges
22.1 Timers
22.2 Stopping Timers
22.3 Collisions
22.4 Mouse Click Events
Standard
13.9 For Loops in JavaScript
13.10 For Loop Practice
13.12 While Loops
13.13 Loop and a Half
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
14.9 For Loops in JavaScript
14.10 For Loop Practice
14.12 While Loops
14.13 Loop and a Half
14.14 Functions and Parameters 1
14.15 Functions and Parameters 2
14.16 Functions and Return Values 1
14.17 Functions and Return Values 2
Standard
3.5 The Start Function
3.6 Top Down Design and Decomposition in Karel
4.2 Challenge Problems
7.1 Graphics Challenges
13.5 For Loops in JavaScript
13.7 For Loop Practice
13.9 While Loops
13.10 Loop and a Half
14.1 Control Structures Challenges
15.6 Timers
15.7 Random Circles
15.8 Random Ghosts
15.9 Bouncing Ball
15.10 Mouse Events: Mouse Clicked
15.1 Functions and Parameters 1
15.1 Functions and Parameters 1
15.2 Functions and Parameters 2
15.2 Functions and Parameters 2
15.3 Functions and Parameters 3
15.3 Functions and Parameters 3
15.4 Functions and Return Values 1
15.4 Functions and Return Values 1
15.5 Functions and Return Values 2
15.5 Functions and Return Values 2
Standard
6.6 While Loops
6.7 The Break Statement
6.9 For Loops
14.1 Control Structures Challenges
16.1 Timers
16.2 Stopping Timers
16.3 Collisions
16.4 Mouse Click Events
17.5 The Main Function
17.6 Top Down Design and Decomposition in Karel
Standard
4.5 The Start Function
4.6 Top Down Design and Decomposition in Karel
6.5 For Loops in JavaScript
6.7 For Loop Practice
6.8 Random Numbers
6.9 While Loops
6.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
7.6 Timers
7.7 Random Circles
7.8 Random Ghosts
7.9 Bouncing Ball
7.10 Mouse Events: Mouse Clicked
Standard
3.6 Top Down Design and Decomposition in Karel
5.1 Java Methods
5.2 Methods and Parameters
Standard
2.5 The Main Function
2.6 Top Down Design and Decomposition in Karel
3.1 Challenge Problems
8.6 While Loops
8.7 The Break Statement
8.9 For Loops
9.1 Control Structures Challenges
11.1 Timers
11.2 Stopping Timers
11.3 Collisions
11.4 Mouse Click Events
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
2.5 The Start Function
2.6 Top Down Design and Decomposition in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
7.5 For Loops in JavaScript
7.7 For Loop Practice
7.8 Random Numbers
7.9 While Loops
7.10 Loop and a Half
8.1 Control Structures Challenges
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
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
Standard
19.6 Top Down Design and Decomposition in Karel
24.6 Writing Methods
Standard
1.6 Top Down Design and Decomposition in Karel
11.6 Writing Methods
Standard
1.6 Top Down Design and Decomposition in Karel
11.6 Writing Methods
Standard
8.9 For Loops in JavaScript
8.10 For Loop Practice
8.12 While Loops
8.13 Loop and a Half
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.9 For Loops in JavaScript
12.10 For Loop Practice
12.12 While Loops
12.13 Loop and a Half
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
1.5 The Start Function
1.6 Top Down Design and Decomposition in Karel
2.1 Challenge Problems
4.2 Graphics Challenges
5.5 For Loops in JavaScript
5.7 For Loop Practice
5.9 While Loops
5.10 Loop and a Half
6.1 Control Structures Challenges
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.1 Timers
9.2 Random Circles
9.3 Random Ghosts
9.4 Bouncing Ball
9.5 Mouse Events: Mouse Clicked