Please enable JavaScript to use CodeHS

Outline


1. Programming With Karel
1.1 Introduction to Programming With Karel
Video 1.1.1 Introduction to Programming With Karel
Quiz 1.1.2 Quiz: Karel Commands
Example 1.1.3 Our First Karel Program
Exercise 1.1.4 Your First Karel Program
Exercise 1.1.5 Short Stack
1.2 More Basic Karel
Video 1.2.1 More Basic Karel
Quiz 1.2.2 More Basic Karel Quiz
Example 1.2.3 Tennis Ball Square
Exercise 1.2.4 Make a Tower
Exercise 1.2.5 Pyramid of Karel
1.3 Karel Can't Turn Right
Video 1.3.1 Karel Can't Turn Right
Quiz 1.3.2 Karel Can't Turn Right Quiz
Example 1.3.3 Tower and Turn Right
Exercise 1.3.4 Slide Karel
Exercise 1.3.5 Fireman Karel
1.4 Functions in Karel
Video 1.4.1 Functions in Karel
Quiz 1.4.2 Functions in Karel Quiz
Example 1.4.3 Turn Around
Exercise 1.4.4 Pancakes
Exercise 1.4.5 Mario Karel
1.5 The Start Function
Video 1.5.1 The Start Function
Quiz 1.5.2 The Start Function Quiz
Example 1.5.3 Tower with Start Function
Exercise 1.5.4 Pancakes with Start
1.6 Top Down Design and Decomposition in Karel
Video 1.6.1 Top Down Design and Decomposition in Karel
Quiz 1.6.2 Top Down Design and Decomposition Quiz
Example 1.6.3 Hurdle Karel
Exercise 1.6.4 The Two Towers
1.7 Commenting Your Code
Video 1.7.1 Commenting Your Code
Quiz 1.7.2 Commenting Your Code Quiz
Example 1.7.3 Hurdle Karel
Exercise 1.7.4 The Two Towers + Comments
1.8 Super Karel
Video 1.8.1 Super Karel
Quiz 1.8.2 Super Karel Quiz
Example 1.8.3 Hurdle Karel (with SuperKarel)
Exercise 1.8.4 The Two Towers + SuperKarel
1.9 For Loops
Video 1.9.1 For Loops
Quiz 1.9.2 For Loops Quiz
Example 1.9.3 Repeated Move
Example 1.9.4 Put Down Tennis Balls
Exercise 1.9.5 Take 'em All
Exercise 1.9.6 Dizzy Karel
Exercise 1.9.7 For Loop Square
Exercise 1.9.8 Lots of Hurdles
1.10 If Statements
Video 1.10.1 If Statements
Quiz 1.10.2 If Statements Quiz
Example 1.10.3 If Statements
Example 1.10.4 Safe Take Ball
Exercise 1.10.5 Is There a Ball?
1.11 If/Else Statements
Video 1.11.1 If/Else Statements
Quiz 1.11.2 If/Else Statements Quiz
Example 1.11.3 If/Else Statements
Example 1.11.4 One Ball in Each Spot
Exercise 1.11.5 Right Side Up
1.12 While Loops in Karel
Video 1.12.1 While Loops in Karel
Quiz 1.12.2 While Loops in Karel Quiz
Example 1.12.3 Move to Wall
Exercise 1.12.4 Follow The Yellow Ball Road
Exercise 1.12.5 Lay Row of Tennis Balls
Exercise 1.12.6 Big Tower
1.13 Control Structures Example
Video 1.13.1 Control Structures Example
Quiz 1.13.2 Control Structures Example Quiz
Example 1.13.3 Cleanup Karel
Exercise 1.13.4 Random Hurdles
1.14 More Karel Examples and Testing
Video 1.14.1 More Karel Examples and Testing
Quiz 1.14.2 Quiz: Which Control Structure?
Example 1.14.3 Move Tennis Ball Stack
Example 1.14.4 Climbing Karel
1.15 How to Indent Your Code
Video 1.15.1 How to Indent Your Code
Quiz 1.15.2 How to Indent Your Code Quiz
Example 1.15.3 Dance and Clean Karel
Exercise 1.15.4 Diagonal
Exercise 1.15.5 Staircase
Badge 1.15.6 Karel Exercises Badge
1.16 Challenge Problems
Challenge 1.16.1 Fetch
Challenge 1.16.2 Racing Karel
Challenge 1.16.3 Tower Builder
Challenge 1.16.4 Super Cleanup Karel
Challenge 1.16.5 Double Tennis Balls
Badge 1.16.6 Karel Challenges Badge
1.17 Programming with Karel Quiz
Quiz 1.17.1 Programming with Karel Quiz
2. JavaScript and Graphics
2.1 Hello World
Video 2.1.1 Hello World
Quiz 2.1.2 Hello World Quiz
Example 2.1.3 Hello World
Exercise 2.1.4 Your Name and Hobby
2.2 Variables
Video 2.2.1 Variables
Quiz 2.2.2 Variables Quiz
Example 2.2.3 Basic Variables
Exercise 2.2.4 Apples and Oranges
2.3 User Input
Video 2.3.1 User Input
Quiz 2.3.2 User Input Quiz
Example 2.3.3 Basic User Input
Exercise 2.3.4 Grocery Store
2.4 Basic Math in JavaScript
Video 2.4.1 Basic Math in JavaScript
Quiz 2.4.2 Basic Math in JavaScript Quiz
Example 2.4.3 Simple Calculator
Example 2.4.4 Dollars to Pounds
Example 2.4.5 Dividing Up Groups
Exercise 2.4.6 T-Shirt Shop
Exercise 2.4.7 Running Speed
2.5 Using Graphics in JavaScript
Video 2.5.1 Graphics
Quiz 2.5.2 JavaScript Graphics Quiz
Example 2.5.3 Graphics Hello World
Example 2.5.4 Blue Circle
Example 2.5.5 Red Rectangle
Example 2.5.6 8 Ball
Exercise 2.5.7 French Flag
Exercise 2.5.8 Snowman
2.6 Booleans
Video 2.6.1 Booleans
Quiz 2.6.2 Booleans Quiz
Example 2.6.3 First Boolean
Exercise 2.6.4 Do You Have a Dog?
2.7 Logical Operators
Video 2.7.1 Logical Operators
Quiz 2.7.2 Logical Operators Quiz
Example 2.7.3 Light Switch
Example 2.7.4 President
Example 2.7.5 Wasting Time
Exercise 2.7.6 Can You Graduate?
Exercise 2.7.7 School's Out
2.8 Comparison Operators
Video 2.8.1 Comparison Operators
Quiz 2.8.2 Comparison Operators Quiz
Example 2.8.3 Voting Age
Example 2.8.4 Grade Range
Exercise 2.8.5 Rolling Dice
Exercise 2.8.6 All Star
2.9 If Statements
Video 2.9.1 If Statements
Quiz 2.9.2 If Statements Quiz
Example 2.9.3 Negative Numbers
Example 2.9.4 Great Names
Example 2.9.5 Even and Odd
Example 2.9.6 Secret Password
Exercise 2.9.7 Teenagers
Exercise 2.9.8 Stop Light
2.10 For Loops in JavaScript
Video 2.10.1 Basic For Loop
Quiz 2.10.2 For Loops Quiz
Example 2.10.3 For Loop
Exercise 2.10.4 Chalkboard
Exercise 2.10.5 The Worm
Exercise 2.10.6 Caterpillar
2.11 General For Loops
Video 2.11.1 General For Loop
Quiz 2.11.2 General For Loop Quiz
Example 2.11.3 Countdown
Example 2.11.4 Count By Twos
Exercise 2.11.5 Count By Sevens
Exercise 2.11.6 Powers of Two
2.12 For Loop Practice
Video 2.12.1 For Loop Examples
Quiz 2.12.2 For Loop Examples Quiz
Example 2.12.3 For Loop Sum
Exercise 2.12.4 Better Sum
Exercise 2.12.5 Factorial
Exercise 2.12.6 All Dice Values
2.13 Random Numbers
Video 2.13.1 Random Numbers
Quiz 2.13.2 Random Numbers Quiz
Example 2.13.3 Rolling a Die
Example 2.13.4 Flipping a Coin
Exercise 2.13.5 Lots of Dice
Exercise 2.13.6 Random Color Square
2.14 While Loops
Video 2.14.1 While Loops
Quiz 2.14.2 While Loops Quiz
Example 2.14.3 While Loop Countdown
Exercise 2.14.4 Inventory
Exercise 2.14.5 Fibonacci
2.15 Loop and a Half
Video 2.15.1 Loop and a Half
Quiz 2.15.2 Loop and a Half Quiz
Example 2.15.3 Adding Up Numbers
Exercise 2.15.4 Snake Eyes
Exercise 2.15.5 Better Password Prompt
2.16 Functions and Parameters 1
Video 2.16.1 Functions and Parameters 1
Quiz 2.16.2 Functions and Parameters Quiz 1
Example 2.16.3 Double Number
Exercise 2.16.4 Square
Exercise 2.16.5 Triple
2.17 Functions and Parameters 2
Video 2.17.1 Functions and Parameters 2
Quiz 2.17.2 Functions and Parameters Quiz 2
Example 2.17.3 Sum Function
Exercise 2.17.4 Area of Triangle
Exercise 2.17.5 Height in Meters
2.18 Functions and Parameters 3
Video 2.18.1 Functions and Parameters 3
Quiz 2.18.2 Functions and Parameters Quiz 3
Example 2.18.3 Draw Circles
Exercise 2.18.4 Horizontal Lines
Exercise 2.18.5 Graphics Stop Light
Exercise 2.18.6 Pool Table
2.19 Functions and Return Values 1
Video 2.19.1 Functions and Return Values 1
Quiz 2.19.2 Functions and Return Values Quiz
Example 2.19.3 Double Number
Exercise 2.19.4 Square with Return Values
Exercise 2.19.5 Triple with Return Values
2.20 Functions and Return Values 2
Video 2.20.1 Functions and Return Values 2
Quiz 2.20.2 Functions and Return Values Quiz 2
Example 2.20.3 Return Values
Exercise 2.20.4 Is It Even?
Exercise 2.20.5 Max
2.21 Local Variables and Scope
Video 2.21.1 Local Variables and Scope
Quiz 2.21.2 Local Variables and Scope Quiz
Example 2.21.3 Return Values
Exercise 2.21.4 Local Variables
Badge 2.21.5 JavaScript Exercises Badge
2.22 JavaScript and Graphics Challenges
Challenge 2.22.1 Ghosts
Challenge 2.22.2 Draw Something
Badge 2.22.3 JavaScript Challenges Badge
2.23 Javascript and Graphics Quiz
Quiz 2.23.1 Javascript and Graphics Quiz
3. Project: Guessing Game
3.1 Guessing Game
Challenge 3.1.1 Guessing Game
4. Animation and Games
4.1 Timers
Video 4.1.1 Timers
Quiz 4.1.2 Timers Quiz
Example 4.1.3 Moving Ball
Example 4.1.4 Magic 8 Ball
Exercise 4.1.5 Crazy Ball
4.2 Random Circles
Video 4.2.1 Example: Random Circles
Quiz 4.2.2 Random Circles Quiz
Example 4.2.3 Random Circles
Example 4.2.4 Spinner Example
Exercise 4.2.5 Growing Circle
Exercise 4.2.6 Paint splatter
4.3 Random Ghosts
Video 4.3.1 Example: Random Ghosts
Quiz 4.3.2 Random Ghosts Quiz
Example 4.3.3 Random Ghosts
Example 4.3.4 Random Fireworks
Exercise 4.3.5 Circle Wall
4.4 Bouncing Ball
Video 4.4.1 Example: Bouncing Ball
Quiz 4.4.2 Bouncing Ball Quiz
Example 4.4.3 Bouncing Ball
Exercise 4.4.4 Hotspot Ball
Exercise 4.4.5 Trail
4.5 Mouse Events: Mouse Clicked
Video 4.5.1 Mouse Events: Mouse Clicked
Quiz 4.5.2 Mouse Events: Mouse Clicked Quiz
Example 4.5.3 Click For Circles
Example 4.5.4 Click For Ghosts
Exercise 4.5.5 Teleporting Ball
Exercise 4.5.6 Pause
4.6 Mouse Events: Mouse Moved
Video 4.6.1 Mouse Events: Mouse Moved
Quiz 4.6.2 Mouse Events: Mouse Moved Quiz
Example 4.6.3 Simple Painting
Example 4.6.4 Colorful Drag to Paint
Exercise 4.6.5 Coordinates
Exercise 4.6.6 Target
4.7 Drawing Lines
Video 4.7.1 Example: Drawing Lines
Quiz 4.7.2 Drawing Lines Quiz
Example 4.7.3 Drawing Lines
Exercise 4.7.4 Leash
4.8 Key Events
Video 4.8.1 Key Events
Quiz 4.8.2 Key Events Quiz
Example 4.8.3 Keyboard Square
Exercise 4.8.4 Basic Snake
Exercise 4.8.5 Drag and Drop
4.9 Animation and Games Quiz
Quiz 4.9.1 Animation and Games Quiz
Badge 4.9.2 Animation Exercises Badge
5. Crazy Ball Game
5.1 Crazy Ball Game
Video 5.1.1 Crazy Ball Game 1
Quiz 5.1.2 Crazy Ball Game Quiz 1
Example 5.1.3 Crazy Ball Game 1
Video 5.1.4 Crazy Ball Game 2
Quiz 5.1.5 Crazy Ball Game Quiz 2
Example 5.1.6 Crazy Ball Game 2
6. Project: Breakout
6.1 Breakout
Challenge 6.1.1 Bricks
Challenge 6.1.2 Ball and Paddle
Challenge 6.1.3 Breakout
Badge 6.1.4 Breakout Badge
7. Project: Fun Snake
7.1 Fun Snake
Challenge 7.1.1 Fun Snake 1
Challenge 7.1.2 Fun Snake 2
Challenge 7.1.3 Fun Snake 3
Challenge 7.1.4 Fun Snake 4 - A Full Game!
8. Basic Data Structures
8.1 Intro to Lists/Arrays
Video 8.1.1 Intro to Lists/Arrays
Quiz 8.1.2 Intro to Lists/Arrays Quiz
Example 8.1.3 Making an Array
Exercise 8.1.4 List of Places to Travel
Exercise 8.1.5 List of Even Numbers
8.2 Indexing Into an Array
Video 8.2.1 Indexing Into an Array
Quiz 8.2.2 Indexing into an Array Quiz
Example 8.2.3 Array Indexing Practice
Exercise 8.2.4 Top Websites
8.3 Adding/Removing From an Array
Video 8.3.1 Adding/Removing From an Array
Quiz 8.3.2 Adding/Removing from an Array Quiz
Example 8.3.3 Add/Remove From Array
Exercise 8.3.4 Practice Push and Pop
8.4 Array Length and Looping Through Arrays
Video 8.4.1 Array Length and Looping Through Arrays
Quiz 8.4.2 Array Length and Looping Through Arrays Quiz
Example 8.4.3 Print Shopping List
Example 8.4.4 Sum Array
Exercise 8.4.5 Product of List
Exercise 8.4.6 Print Flight Itinerary
Exercise 8.4.7 Double List
Exercise 8.4.8 Evens Only List
Exercise 8.4.9 Reverse List
8.5 Iterating Over an Array
Video 8.5.1 Examples: Iterating Over an Array
Quiz 8.5.2 Iterating Over an Array Quiz
Example 8.5.3 Coin Flips
Example 8.5.4 Many Crazy Balls
Exercise 8.5.5 Coin Flip Fun: Number of Heads and Tails
Exercise 8.5.6 Coin Flip Fun: Longest Streak of Heads
Exercise 8.5.7 Changing Circles
Exercise 8.5.8 Draw a Barcode
8.6 Finding an Element in a List
Video 8.6.1 Finding an Element in a List
Quiz 8.6.2 Finding an Element in a List Quiz
Example 8.6.3 Array indexOf
Exercise 8.6.4 Who is in Line?
8.7 Removing an Element From an Array
Video 8.7.1 Removing an Element From an Array
Quiz 8.7.2 Removing an Element from an Array Quiz
Example 8.7.3 Splice and Remove
Exercise 8.7.4 Remove From Line
8.8 Intro to Objects/Maps
Video 8.8.1 Intro to Objects/Maps
Quiz 8.8.2 Intro to Objects / Maps Quiz
Example 8.8.3 Phonebook
Exercise 8.8.4 Sidekicks
8.9 Basics of Objects
Video 8.9.1 Basics of Objects
Quiz 8.9.2 Basics of Objects Quiz
Example 8.9.3 Object Literal Phonebook
Example 8.9.4 Object Property Phonebook
Example 8.9.5 Beware Dot Notation!
Exercise 8.9.6 Address Book
8.10 Iterating Over an Object
Video 8.10.1 Iterating Over An Object
Quiz 8.10.2 Iterating over an Object Quiz
Example 8.10.3 Print Phonebook
Exercise 8.10.4 Hogwarts
8.11 When Do I Use an Object?
Video 8.11.1 When Do I Use An Object?
Quiz 8.11.2 When do I use an Object Quiz
Example 8.11.3 Facebook Friend Lists
Example 8.11.4 Does the Key Exist?
Exercise 8.11.5 Text Messages
8.12 Intro to Sets
Video 8.12.1 Intro to Sets
Quiz 8.12.2 Intro to Sets Quiz
Example 8.12.3 Basic Sets
Exercise 8.12.4 Vowels
Exercise 8.12.5 Mutual Friends
Exercise 8.12.6 Total Network of Friends
8.13 Intro to Grids
Video 8.13.1 Intro to Grids
Quiz 8.13.2 Intro to Grids Quiz
Example 8.13.3 Grid Basics
8.14 Looping Over a Grid
Video 8.14.1 Looping Over a Grid
Quiz 8.14.2 Looping Over a Grid Quiz
Example 8.14.3 Print Grid
Exercise 8.14.4 Summing Grid
8.15 Grid Example: Get a Row
Video 8.15.1 Grid Example: Get a Row
Quiz 8.15.2 Grid Example: Get a Row Quiz
Example 8.15.3 Get a Row
Exercise 8.15.4 Grid Diagonal
Badge 8.15.5 Data Structures Exercises Badge
8.16 Basic Data Structures Quiz
Quiz 8.16.1 Basic Data Structures Quiz
9. Project: Tic Tac Toe
9.1 Tic Tac Toe
Challenge 9.1.1 Tic Tac Toe: Part 1
Challenge 9.1.2 Tic Tac Toe: Part 2
Challenge 9.1.3 Tic Tac Toe: Full Game
Badge 9.1.4 Tic Tac Toe Badge
10. Project: Helicopter Game
10.1 Game Design: Helicopter
Video 10.1.1 Introduction to Helicopter
10.2 Basics
Video 10.2.1 Moving the Helicopter
Exercise 10.2.2 Moving the Helicopter
Video 10.2.3 Adding Obstacles
Exercise 10.2.4 Adding Obstacles
Video 10.2.5 Smoother Movement
Exercise 10.2.6 Smoother Movement
10.3 Improvements
Video 10.3.1 Colliding with Walls
Exercise 10.3.2 Wall Collisions
Video 10.3.3 Colliding with Obstacles
Exercise 10.3.4 Obstacle Collisions
Video 10.3.5 Adding Terrain
Exercise 10.3.6 Adding Terrain
Video 10.3.7 Moving the Terrain
Exercise 10.3.8 Moving the Terrain
10.4 Polish
Video 10.4.1 Helicopter Image and Points!
Exercise 10.4.2 Image and Points
Video 10.4.3 Dust
Exercise 10.4.4 Dust
Video 10.4.5 More Obstacles
Exercise 10.4.6 More Obstacles
Challenge 10.4.7 Helicopter Extensions
Badge 10.4.8 Helicopter Badge
11. Final Project: Your Own Game
11.1 Final Project
Free Response 11.1.1 Plan Your Game
Challenge 11.1.2 Final Game