### Please enable JavaScript to use CodeHS

Computer Science Explorations 2

1. ## Exploring Code with Karel

1. ### 1.1 Introduction to Karel

2. Video 1.1.1 Introduction to Programming With Karel
3. Check for Understanding 1.1.2 Karel Commands Quiz
4. Example 1.1.3 Our First Karel Program
5. Video 1.1.4 Parentheses and Semicolons Intro
6. Exercise 1.1.5 Debug Karel's Code
7. Video 1.1.6 Debug Karel's Code
8. Exercise 1.1.7 Debug More of Karel's Code
9. Video 1.1.8 Debug More of Karel's Code
10. Exercise 1.1.9 Your First Karel Program
11. ### 1.2 Karel's World

12. Video 1.2.1 More About Karel
13. Check for Understanding 1.2.2 More Basic Karel Quiz
14. Example 1.2.3 Karel's Morning Walk
15. Exercise 1.2.4 Karel's Evening Walk
16. Debugging 1.2.5 Can't Reach the Tennis Ball
17. Exercise 1.2.6 Tennis Ball Game Setup
18. ### 1.3 Functions

19. Video 1.3.1 Karel Functions
20. Quiz 1.3.2 Functions Check for Understanding
21. Example 1.3.3 Climb the Stairs
22. Debugging 1.3.4 Spot the Bug 1
23. Debugging 1.3.5 Spot the Bug 2
24. Exercise 1.3.6 Spinning Karel
25. ### 1.4 Multiple Functions

26. Example 1.4.1 Using the Main Function
27. Video 1.4.2 Top Down Design and Decomposition
28. Check for Understanding 1.4.3 Top Down Design and Decomposition Quiz
29. Video 1.4.4 Top Down Design and Decomposition in Karel
30. Exercise 1.4.5 Tennis Ball Stacks
31. Example 1.4.6 Comments in Karel
32. Debugging 1.4.7 Clean Up
33. ### 1.5 For Loops

34. Video 1.5.1 For Loops
35. Check for Understanding 1.5.2 For Loops Quiz
36. Example 1.5.3 Repeated Move
37. Example 1.5.4 Draw a Line
38. Exercise 1.5.5 Tennis Ball in Each Corner
39. Exercise 1.5.6 Pick Up Tennis Balls
40. Exercise 1.5.7 Draw Two Lines
41. ### 1.6 Conditional Statements

42. Video 1.6.1 If Statements and Conditionals
43. Check for Understanding 1.6.2 If Statements and Conditionals Quiz
44. Example 1.6.3 If Statements and Conditionals
45. Debugging 1.6.4 Stay Out of the Lake
46. Exercise 1.6.5 Bury Tennis Balls
47. Exercise 1.6.6 Checkerboard Karel
48. ### 1.7 If/Else Statements

49. Video 1.7.1 If/Else Statements
50. Check for Understanding 1.7.2 If/Else Statements Quiz
51. Example 1.7.3 Opposite Day
52. Exercise 1.7.4 Build a Bridge
53. Debugging 1.7.5 Stay on the Path
54. Exercise 1.7.6 Dog Park Clean Up
56. ### 1.8 While Loops

57. Video 1.8.1 While Loops
58. Check for Understanding 1.8.2 While Loops Quiz
59. Example 1.8.3 Inside the Fence
60. Example 1.8.4 Run Home
61. Exercise 1.8.5 Path to Dog House
62. Debugging 1.8.6 Dive In!
63. Exercise 1.8.7 Clean Up
64. ### 1.9 Karel Challenges

65. Notes 1.9.1 Karel Challenges
66. Challenge 1.9.2 Fetch
67. Challenge 1.9.3 Karel's Race
68. Challenge 1.9.4 Building Bridges
69. Challenge 1.9.5 Super Tennis Ball Clean Up
71. ### 1.10 Exploring Code with Karel Quiz

72. Unit Quiz 1.10.1 Exploring Code with Karel Quiz
2. ## Exploring the Internet

1. ### 2.1 What is the Internet?

2. Video 2.1.1 What is the Internet?
3. Video 2.1.2 The History of the Internet
4. Free Response 2.1.3 Internet Innovations
5. Video 2.1.4 The Internet is in the Ocean
6. Free Response 2.1.5 A Day Without the Internet
7. ### 2.2 The Need for Protocols

8. Notes 2.2.1 The Alphabet Game
9. Free Response 2.2.2 Alphabet Game Reflection
10. Notes 2.2.3 The Networking Game
11. Free Response 2.2.4 Networking Game Reflection
12. Free Response 2.2.5 Protocols in your Life
13. Video 2.2.6 Network Simulation
14. ### 2.3 Impact of the Internet

15. Free Response 2.3.1 Internet in My Daily Life
16. Video 2.3.2 Impact of the Internet
17. Free Response 2.3.3 Back in Time
18. Connection 2.3.4 What is the Digital Divide?
19. Free Response 2.3.5 What is the Digital Divide?
20. Exercise 2.3.6 Four Hats Reflection
21. Video 2.3.7 The Impact of the Internet: Crowdsourcing
22. Free Response 2.3.8 Exploring Crowdsourcing
23. ### 2.4 Cybersecurity

24. Video 2.4.1 Cybersecurity
26. Free Response 2.4.3 Cybersecurity and You
27. Connection 2.4.4 Internet of Things
28. Connection 2.4.5 Hackers vs. Smart Homes
29. Free Response 2.4.6 Internet of Things Reflection
30. Article 2.4.7 Ransomware Simulation
31. Article 2.4.8 Phishing Simulator
32. Free Response 2.4.9 Cyber Defense 3-2-1
33. ### 2.5 The CIA Triad

35. Check for Understanding 2.5.2 CIA Triad
36. Free Response 2.5.3 Which part of the CIA Triad?
37. Free Response 2.5.4 Which part of the CIA Triad?
38. Free Response 2.5.5 Breach of Confidentiality
39. Free Response 2.5.6 Breach of Availability
40. Free Response 2.5.7 CIA Connections
41. ### 2.6 Encryption

42. Free Response 2.6.1 What is Cryptography?
43. Video 2.6.2 Cryptography: A Brief History
44. Article 2.6.3 Cryptogram Game!
45. Article 2.6.4 Encrypt/Decrypt
46. Notes 2.6.5 Using the Caesar Cipher
47. Article 2.6.6 Caesar Cipher Encryption
48. Article 2.6.7 Decrypt Caesar's Cipher!
49. Article 2.6.8 Cracking Caesar Program
50. Free Response 2.6.9 Security Tradeoffs
51. ### 2.7 Project: Steganography

52. Video 2.7.1 What is Steganography?
53. Notes 2.7.2 Hidden Message Instructions
54. Example 2.7.3 Hidden Message
56. Challenge 2.7.5 Your turn: Image Creation
57. Free Response 2.7.6 Partner Decrypt and Final Reflection
58. ### 2.8 Exploring the Internet Quiz

59. Quiz 2.8.1 Exploring the Internet Quiz
3. ## Exploring Web Design

1. ### 3.1 Introduction to HTML

2. Video 3.1.1 Introduction to HTML
3. Check for Understanding 3.1.2 Introduction to HTML Quiz
4. Example 3.1.3 Our First HTML Page
5. Exercise 3.1.4 Creating Your First Webpage
6. Example 3.1.5 Your Second Tag
7. Exercise 3.1.6 Dear Diary
8. ### 3.2 Structure of an HTML Page

9. Video 3.2.1 Structure of an HTML Page
10. Check for Understanding 3.2.2 Structure of an HTML Page Quiz
11. Example 3.2.3 HTML Template
12. Example 3.2.4 Hello World Page
13. Exercise 3.2.5 Introduce Yourself
14. Free Response 3.2.6 Create Your Own codehs.me Homepage
15. ### 3.3 Formatting Text

16. Video 3.3.1 Formatting Text
17. Check for Understanding 3.3.2 Formatting Text Quiz
18. Example 3.3.3 Dictionary Entry
19. Exercise 3.3.4 Online Recipe
20. Exercise 3.3.5 Class Schedule

24. Check for Understanding 3.4.2 Links Quiz
25. Example 3.4.3 The <a> Tag
27. Exercise 3.4.5 Wiki Page
29. ### 3.5 Incorporating Images

30. Video 3.5.1 Images
31. Check for Understanding 3.5.2 Images Quiz
32. Example 3.5.3 The <img> Tag
33. Example 3.5.4 Using an Image as a Link
34. Exercise 3.5.5 Your Favorite Image
35. Exercise 3.5.6 Gallery Layout
37. ### 3.6 Using Lists

38. Video 3.6.1 HTML Lists
39. Check for Understanding 3.6.2 HTML Lists Quiz
40. Example 3.6.3 Grocery Shopping
41. Exercise 3.6.4 Chores
42. Exercise 3.6.5 Favorites
44. ### 3.7 Applying Styling

45. Video 3.7.1 HTML Styling
46. Check for Understanding 3.7.2 HTML Styling Quiz
47. Example 3.7.3 Styling the Grocery List
48. Exercise 3.7.4 Styling an Article
49. Exercise 3.7.5 Does Taylor Swift Lack Style?
50. ### 3.8 Introduction to CSS Styling

51. Video 3.8.1 Video
52. Check for Understanding 3.8.2 Introduction to CSS Quiz
53. Example 3.8.3 Styling with CSS
54. Exercise 3.8.4 Styling a List
55. Exercise 3.8.5 Adding CSS Styling
56. ### 3.9 Complete Your Homepage

57. Example 3.9.1 Example Homepage
58. Challenge 3.9.2 Complete Your Homepage
60. ### 3.10 Quiz: Exploring Web Design

61. Quiz 3.10.1 Exploring Web Design
4. ## Exploring Art with Code

1. ### 4.1 Getting Started

2. Video 4.1.1 What is Creative Coding
3. Connection 4.1.2 p5.js Reference Guide
4. Video 4.1.3 Drawing and Shapes
5. Exercise 4.1.4 Create a Canvas
6. Connection 4.1.5 Canvas Coordinates
7. Exercise 4.1.6 Line
8. Exercise 4.1.7 Rectangle
9. Exercise 4.1.8 Ellipse
10. ### 4.2 Color

11. Video 4.2.1 Color
12. Connection 4.2.2 Create a Color Palette
13. Connection 4.2.3 Hex to RGB Color Converter
14. Example 4.2.4 Using RGB Values
15. Exercise 4.2.5 Background Color
16. Exercise 4.2.6 Fill
17. Exercise 4.2.7 Stroke
18. ### 4.3 Variables

19. Video 4.3.1 Variables
20. Example 4.3.2 Using Variables: Bricks
21. Exercise 4.3.3 Making Variables
22. Exercise 4.3.4 Reusing Variables
23. Exercise 4.3.5 Width and Height
24. ### 4.4 The Draw Loop

25. Video 4.4.1 The Draw Loop
26. Connection 4.4.2 A Brief History of Animation
27. Exercise 4.4.3 Frame Rate
28. Exercise 4.4.4 No Loop
29. Exercise 4.4.5 Frame Count
30. ### 4.5 Color Transitions

31. Video 4.5.1 Animated Color Transitions
34. Exercise 4.5.4 Grayscale to Color
35. Exercise 4.5.5 Color to Grayscale
36. ### 4.6 Shape Transformations

37. Video 4.6.1 Shape Transformations
38. Exercise 4.6.2 Translation
39. Exercise 4.6.3 Animated Translation
40. Exercise 4.6.4 Rotation
41. Exercise 4.6.5 Animated Rotation
42. Exercise 4.6.6 Scale
43. Exercise 4.6.7 Animated Scale
44. ### 4.7 Direction

45. Video 4.7.1 Direction
46. Exercise 4.7.2 Up and Down
47. Exercise 4.7.3 Left and Right
48. Exercise 4.7.4 Diagonal
49. ### 4.8 Mouse Data

50. Video 4.8.1 Mouse Data
51. Exercise 4.8.2 mouseX
52. Exercise 4.8.3 mouseY
53. Exercise 4.8.4 mouseX and mouseY
54. Exercise 4.8.5 mouseButton
55. Exercise 4.8.6 Paint and Erase
56. ### 4.9 Keyboard Data

57. Video 4.9.1 Keyboard Data
58. Exercise 4.9.2 keyIsPressed
59. Connection 4.9.3 Key Codes
60. Exercise 4.9.4 keyIsDown
61. Exercise 4.9.5 key
62. ### 4.10 Project: Animate an Emoji

63. Exercise 4.10.1 Project: Animate an Emoji
5. ## Exploring Game Design

1. ### 5.1 Intro to Games

2. Video 5.1.1 Intro to Games
3. Free Response 5.1.2 What Games Have You Played?
4. Free Response 5.1.3 Game Design Reflection
5. ### 5.2 Unpacking a Game

6. Video 5.2.1 Gameplay and Game Components
7. Quiz 5.2.2 Check Your Understanding - Gameplay and Game Components
8. Video 5.2.3 Game Mechanics and Elements
9. Quiz 5.2.4 Check Your Understanding - Game Mechanics and Elements
10. Notes 5.2.5 Investigate a Game
11. Free Response 5.2.6 Identify Game Elements
12. Free Response 5.2.7 Identify Game Components
13. Free Response 5.2.8 Identify Game Mechanics
14. Free Response 5.2.9 Describe Your Experience
15. ### 5.3 Categorizing Games

16. Notes 5.3.1 Categorizing Games
17. Article 5.3.2 A Bird's Eye View on Perspectives
18. Article 5.3.3 Getting to Know Game Genres
19. Notes 5.3.4 Pick a Few Games
20. Free Response 5.3.5 Categorizing Your Games
21. Free Response 5.3.6 Game Category Reflection
22. ### 5.4 Intro to JavaScript

23. Video 5.4.1 Hello World
24. Example 5.4.2 Hello World
25. Exercise 5.4.3 Introduce Yourself
26. Debugging 5.4.4 Debugging: Printing Error
27. Quiz 5.4.5 Check Your Understanding - Printing
28. ### 5.5 Variables

29. Video 5.5.1 Variables
30. Video 5.5.2 Live Coding: Variables
31. Exercise 5.5.3 Exploration: Making a Purchase
32. Quiz 5.5.4 Check Your Understanding - Variables
33. Exercise 5.5.5 2020 Olympic Basketball Winners
34. Debugging 5.5.6 Debugging: Hiking App
35. ### 5.6 Introducing Libraries

36. Video 5.6.1 Introducing Libraries and p5play
37. Article 5.6.2 p5play Demo - Asteroids
38. Article 5.6.3 p5play Demo - Dominoes
39. Article 5.6.4 p5play Demo - Red Remover
40. Article 5.6.5 p5play Reference Guide
41. ### 5.7 Program Structure

42. Video 5.7.1 Program Structure
43. Notes 5.7.2 Program Structure Reference
44. Example 5.7.3 Bounce Bounce Revolution
45. Exercise 5.7.4 Exploration: The Elevator
46. Exercise 5.7.5 The Propeller
47. Quiz 5.7.6 Check Your Understanding - Structure
48. ### 5.8 Understanding the Canvas

49. Video 5.8.1 Understanding the Canvas
50. Exercise 5.8.2 Create a Canvas
51. Connection 5.8.3 Canvas Coordinates
52. Example 5.8.4 Helper Function for Coordinates
53. Example 5.8.5 Refreshing the Canvas
54. Exercise 5.8.6 Shelving Boxes
55. Quiz 5.8.7 Check Your Understanding - Canvas
56. ### 5.9 Your First Sprites

57. Video 5.9.1 Your First Sprites
58. Example 5.9.2 Sprite Face
59. Exercise 5.9.3 Exploration: Shapeshifter
60. Exercise 5.9.4 Downhill Delights
61. Quiz 5.9.5 Check Your Understanding - Sprites
62. Challenge 5.9.6 Block Mario
63. ### 5.10 The Physics of Sprites

64. Notes 5.10.1 Physics Engines and Gravity
65. Exercise 5.10.2 Exploration: Gravity
66. Notes 5.10.3 Collisions
67. Exercise 5.10.4 Exploration: Collisions
68. Notes 5.10.5 Physical Properties
69. Exercise 5.10.6 Exploration: Physical Properties
70. Notes 5.10.7 Motion
71. Exercise 5.10.8 Exploration: Motion
72. Free Response 5.10.9 Sprite Physics Reflection