Please enable JavaScript to use CodeHS


Alternate Exercises: AP CSP JS

Lessons

  1. Programming with Karel (Deep from JS)

    1. 1.1 Introduction to Programming With Karel - DONE

    2. Description
    3. Objective
    4. 1.2 More Basic Karel - DONE

    5. Description
    6. Objective
    7. 1.3 Karel Can't Turn Right - DONE

    8. Description
    9. Objective
    10. 1.4 Functions in Karel - DONE

    11. Description
    12. Objective
    13. 1.5 Top Down Design and Decomposition in Karel - DONE

    14. Description
    15. Objective
    16. 1.6 Commenting Your Code - DONE

    17. Description
    18. Objective
    19. 1.7 Super Karel - DONE

    20. Description
    21. Objective
    22. 1.8 For Loops - DONE

    23. Description
    24. Objective
    25. 1.9 If Statements - DONE

    26. Description
    27. Objective
    28. 1.10 If/Else Statements - DONE

    29. Description
    30. Objective
    31. 1.11 While Loops in Karel - DONE

    32. Description
    33. Objective
    34. 1.12 Control Structures Example - DONE

    35. Description
    36. Objective
    37. 1.13 More Karel Examples and Testing - DONE

    38. Description
    39. Objective
    40. 1.14 How to Indent Your Code - DONE

    41. Description
    42. Objective
    43. 1.15 Programming with Karel Quiz

    44. Description
    45. Objective
  2. Introduction to Programming - AP CSP

    1. 2.1 Welcome to AP CSP

    2. Description
    3. Objective
    4. 2.2 Introduction to Programming With Karel

    5. Description
    6. Objective
    7. 2.3 More Basic Karel

    8. Description
    9. Objective
    10. 2.4 Karel Can't Turn Right

    11. Description
    12. Objective
    13. 2.5 Functions in Karel

    14. Description
    15. Objective
    16. 2.6 The Start Function

    17. Description
    18. Objective
    19. 2.7 Top Down Design and Decomposition in Karel

    20. Description
    21. Objective
    22. 2.8 Commenting Your Code

    23. Description
    24. Objective
    25. 2.9 Abstraction

    26. Description
    27. Objective
    28. 2.10 Super Karel

    29. Description
    30. Objective
    31. 2.11 For Loops

    32. Description
    33. Objective
    34. 2.12 If Statements

    35. Description
    36. Objective
    37. 2.13 If/Else Statements

    38. Description
    39. Objective
    40. 2.14 While Loops in Karel

    41. Description
    42. Objective
    43. 2.15 Control Structures Example

    44. Description
    45. Objective
    46. 2.16 Debugging Strategies

    47. Description
    48. Objective
    49. 2.17 Karel Algorithms

    50. Description
    51. Objective
    52. 2.18 How to Indent Your Code

    53. Description
    54. Objective
    55. 2.19 Ultra Karel

    56. Description
    57. Objective
    58. 2.20 Karel Challenges

    59. Description
    60. Objective
    61. 2.21 Introduction to Programming Quiz

    62. Description
    63. Objective
  3. Practice PT: Pair-Programming Paint! - NOT NEEDED

    1. 3.1 Practice PT: Pair-Programming Paint!

    2. Description
    3. Objective
  4. JavaScript and Graphics (Deep from JS)

    1. 4.1 Hello World

    2. Description
    3. Objective
    4. 4.2 Variables

    5. Description
    6. Objective
    7. 4.3 User Input

    8. Description
    9. Objective
    10. 4.4 Basic Math in JavaScript

    11. Description
    12. Objective
    13. 4.5 Using Graphics in JavaScript

    14. Description
    15. Objective
    16. 4.6 Programming with JavaScript Quiz

    17. Description
    18. Objective
  5. Programming with JavaScript - AP CSP

    1. 5.1 What is Code

    2. Description
    3. Objective
    4. 5.2 Uses of Programs

    5. Description
    6. Objective
    7. 5.3 Hello World

    8. Description
    9. Objective
    10. 5.4 Variables

    11. Description
    12. Objective
    13. 5.5 User Input

    14. Description
    15. Objective
    16. 5.6 Basic Math in JavaScript

    17. Description
    18. Objective
    19. 5.7 Using Graphics in JavaScript

    20. Description
    21. Objective
    22. 5.8 Mouse Events: Mouse Clicked

    23. Description
    24. Objective
    25. 5.9 Programming with JavaScript Quiz

    26. Description
    27. Objective
  6. JavaScript Control Structures (Deep from JS)

    1. 6.1 Booleans

    2. Description
    3. Objective
    4. 6.2 Logical Operators

    5. Description
    6. Objective
    7. 6.3 Comparison Operators

    8. Description
    9. Objective
    10. 6.4 If Statements

    11. Description
    12. Objective
    13. 6.5 Key Events (only in APCS P JS)

    14. Description
    15. Objective
    16. 6.6 For Loops in JavaScript

    17. Description
    18. Objective
    19. 6.7 General For Loops

    20. Description
    21. Objective
    22. 6.8 For Loop Practice

    23. Description
    24. Objective
    25. 6.9 Random Numbers

    26. Description
    27. Objective
    28. 6.10 While Loops

    29. Description
    30. Objective
    31. 6.11 Loop and a Half

    32. Description
    33. Objective
    34. 6.12 Javascript Control Structures Quiz

    35. Description
    36. Objective
  7. JavaScript Control Structures - AP CSP

    1. 7.1 Booleans

    2. Description
    3. Objective
    4. 7.2 Logical Operators

    5. Description
    6. Objective
    7. 7.3 Comparison Operators

    8. Description
    9. Objective
    10. 7.4 If Statements

    11. Description
    12. Objective
    13. 7.5 Key Events

    14. Description
    15. Objective
    16. 7.6 For Loops in JavaScript

    17. Description
    18. Objective
    19. 7.7 General For Loops

    20. Description
    21. Objective
    22. 7.8 For Loop Practice

    23. Description
    24. Objective
    25. 7.9 Random Numbers

    26. Description
    27. Objective
    28. 7.10 While Loops

    29. Description
    30. Objective
    31. 7.11 Loop and a Half

    32. Description
    33. Objective
    34. 7.12 Javascript Control Structures Quiz

    35. Description
    36. Objective
  8. Functions and Parameters (Deep from JS)

    1. 8.1 Functions and Parameters 1

    2. Description
    3. Objective
    4. 8.2 Functions and Parameters 2

    5. Description
    6. Objective
    7. 8.3 Functions and Parameters 3

    8. Description
    9. Objective
    10. 8.4 Functions and Return Values 1

    11. Description
    12. Objective
    13. 8.5 Functions and Return Values 2

    14. Description
    15. Objective
    16. 8.6 Local Variables and Scope

    17. Description
    18. Objective
    19. 8.7 Functions and Parameters Quiz

    20. Description
    21. Objective
  9. Functions and Parameters - AP CSP

    1. 9.1 Functions and Parameters 1

    2. Description
    3. Objective
    4. 9.2 Functions and Parameters 2

    5. Description
    6. Objective
    7. 9.3 Functions and Parameters 3

    8. Description
    9. Objective
    10. 9.4 Functions and Return Values 1

    11. Description
    12. Objective
    13. 9.5 Functions and Return Values 2

    14. Description
    15. Objective
    16. 9.6 Local Variables and Scope

    17. Description
    18. Objective
    19. 9.7 JavaScript vs Karel

    20. Description
    21. Objective
    22. 9.8 Basic JavaScript and Graphics Challenges

    23. Description
    24. Objective
    25. 9.9 Functions and Parameters Quiz

    26. Description
    27. Objective
  10. Practice PT: Tell a Story - NOT NEEDED

    1. 10.1 Project: Tell a Story

    2. Description
    3. Objective
  11. Basic Data Structures - DONE

    1. 11.1 Intro to Lists/Arrays

    2. Description
    3. Objective
    4. 11.2 Indexing Into an Array

    5. Description
    6. Objective
    7. 11.3 Adding/Removing From an Array

    8. Description
    9. Objective
    10. 11.4 Array Length and Looping Through Arrays

    11. Description
    12. Objective
    13. 11.5 Iterating Over an Array

    14. Description
    15. Objective
    16. 11.6 Finding an Element in a List

    17. Description
    18. Objective
    19. 11.7 Removing an Element From an Array

    20. Description
    21. Objective
    22. 11.8 Simulation

    23. Description
    24. Objective
    25. 11.9 Basic Data Structures Quiz

    26. Description
    27. Objective
  12. Digital Information - DONE

    1. 12.1 Intro to Digital Information

    2. Description
    3. Objective
    4. 12.2 Number Systems

    5. Description
    6. Objective
    7. 12.3 Encoding Text with Binary

    8. Description
    9. Objective
    10. 12.4 Pixel Images

    11. Description
    12. Objective
    13. 12.5 Hexadecimal

    14. Description
    15. Objective
    16. 12.6 Pixel Colors!

    17. Description
    18. Objective
    19. 12.7 Image Manipulation

    20. Description
    21. Objective
    22. 12.8 Data Compression

    23. Description
    24. Objective
    25. 12.9 Lossy Compression

    26. Description
    27. Objective
    28. 12.10 Cryptography

    29. Description
    30. Objective
    31. 12.11 Digital Information Quiz

    32. Description
    33. Objective
  13. Practice PT: Steganography - NOT NEEDED

    1. 13.1 Practice PT: Steganography

    2. Description
    3. Objective
  14. Practice PT: Create an Image Filter! - NOT NEEDED

    1. 14.1 Practice PT: Create an Image Filter!

    2. Description
    3. Objective
  15. The Internet - NOT NEEDED

    1. 15.1 Welcome to the Internet

    2. Description
    3. Objective
    4. 15.2 Internet Hardware

    5. Description
    6. Objective
    7. 15.3 Internet Addresses

    8. Description
    9. Objective
    10. 15.4 Viewing Websites

    11. Description
    12. Objective
    13. 15.5 DNS and Routing

    14. Description
    15. Objective
    16. 15.6 Routing

    17. Description
    18. Objective
    19. 15.7 Packets and Protocols

    20. Description
    21. Objective
    22. 15.8 Sequential, Parallel & Distributed Computing

    23. Description
    24. Objective
    25. 15.9 Cybersecurity

    26. Description
    27. Objective
    28. 15.10 The Impact of the Internet

    29. Description
    30. Objective
    31. 15.11 Creative Credit & Copyright

    32. Description
    33. Objective
    34. 15.12 The Internet Quiz

    35. Description
    36. Objective
  16. Project: The Effects of the Internet - NOT NEEDED

    1. 16.1 The Effects of the Internet

    2. Description
    3. Objective
  17. Data - NOT NEEDED

    1. 17.1 Getting Started with Data

    2. Description
    3. Objective
    4. 17.2 Visualizing and Interpreting Data

    5. Description
    6. Objective
    7. 17.3 Data Collection & Limitations

    8. Description
    9. Objective
    10. 17.4 Data Quiz

    11. Description
    12. Objective
  18. Project: Present a Data-Driven Insight - NOT NEEDED

    1. 18.1 Present a Data-Driven Insight

    2. Description
    3. Objective
  19. Project: The Impacts of Computing - NOT NEEDED

    1. 19.1 The Impacts of Computing

    2. Description
    3. Objective
  20. Create Performance Task

    1. 20.1 Create Performance Task

    2. Description
    3. Objective
  21. AP Exam Review

    1. 21.1 Preparation

    2. Description
    3. Objective
    4. 21.2 Practice AP Exam

    5. Description
    6. Objective
  22. Creative Development

    1. 22.1 Intro to Design Thinking

    2. Description
    3. Objective
    4. 22.2 Prototype

    5. Description
    6. Objective
    7. 22.3 Test

    8. Description
    9. Objective
    10. 22.4 Project Prep and Development

    11. Description
    12. Objective
  23. Final

    1. 23.1 Final

    2. Description
    3. Objective
  24. Midterm

    1. 24.1 Midterm

    2. Description
    3. Objective
  25. Extra Karel Practice

    1. 25.1 Extra Karel Practice

    2. Description
    3. Objective
  26. Extra Karel Puzzles

    1. 26.1 Extra Karel Puzzles

    2. Description
    3. Objective
  27. Karel Challenges

    1. 27.1 Challenge Problems

    2. Description
    3. Objective
  28. Web Development

    1. 28.1 Introduction to HTML

    2. Description
    3. Objective
    4. 28.2 Structure of an HTML Page

    5. Description
    6. Objective
    7. 28.3 Formatting Text

    8. Description
    9. Objective
    10. 28.4 Links

    11. Description
    12. Objective
    13. 28.5 Images

    14. Description
    15. Objective
    16. 28.6 HTML Lists

    17. Description
    18. Objective
    19. 28.7 HTML Tables

    20. Description
    21. Objective
    22. 28.8 HTML Styling

    23. Description
    24. Objective
    25. 28.9 Introduction to CSS

    26. Description
    27. Objective
    28. 28.10 CSS Select by Tag

    29. Description
    30. Objective
    31. 28.11 CSS Select by Class

    32. Description
    33. Objective
    34. 28.12 CSS Select by ID

    35. Description
    36. Objective
    37. 28.13 Web Development Quiz

    38. Description
    39. Objective
    40. 28.14 Practice PT: Your First Website

    41. Description
    42. Objective
  29. Functions and Parameters Practice

    1. 29.1 Functions and Parameters Practice

    2. Description
    3. Objective
  30. Extra Console Challenges

    1. 30.1 Prime Numbers

    2. Description
    3. Objective
  31. Animation and Games

    1. 31.1 Timers

    2. Description
    3. Objective
    4. 31.2 Random Circles

    5. Description
    6. Objective
    7. 31.3 Random Ghosts

    8. Description
    9. Objective
    10. 31.4 Bouncing Ball

    11. Description
    12. Objective
    13. 31.5 Mouse Events: Mouse Moved

    14. Description
    15. Objective
    16. 31.6 Drawing Lines

    17. Description
    18. Objective
    19. 31.7 Crazy Ball Game

    20. Description
    21. Objective
  32. Project: Breakout

    1. 32.1 Breakout

    2. Description
    3. Objective
  33. Data Structures Challenge Problems

    1. 33.1 Conway's Game of Life

    2. Description
    3. Objective
    4. 33.2 Connect Four

    5. Description
    6. Objective
  34. Visualizing Music

    1. 34.1 Visualizing Music

    2. Description
    3. Objective
  35. Project: Tic Tac Toe

    1. 35.1 Tic Tac Toe

    2. Description
    3. Objective
  36. Project: Helicopter Game

    1. 36.1 Game Design: Helicopter

    2. Description
    3. Objective
    4. 36.2 Basics

    5. Description
    6. Objective
    7. 36.3 Improvements

    8. Description
    9. Objective
    10. 36.4 Polish

    11. Description
    12. Objective
    13. 36.5 Intro to Computer Science Completed

    14. Description
    15. Objective
  37. More Basic Data Structures

    1. 37.1 Intro to Objects/Maps

    2. Description
    3. Objective
    4. 37.2 Basics of Objects

    5. Description
    6. Objective
    7. 37.3 Iterating Over an Object

    8. Description
    9. Objective
    10. 37.4 When Do I Use an Object?

    11. Description
    12. Objective
    13. 37.5 Intro to Sets

    14. Description
    15. Objective
    16. 37.6 Intro to Grids

    17. Description
    18. Objective
    19. 37.7 Looping Over a Grid

    20. Description
    21. Objective
    22. 37.8 Grid Example: Get a Row

    23. Description
    24. Objective
    25. 37.9 Data Structures Challenges

    26. Description
    27. Objective
  38. Computer Science Principles Pretest

    1. 38.1 Computer Science Principles Pretest

    2. Description
    3. Objective
  39. Computer Science Principles Posttest

    1. 39.1 Computer Science Principles Posttest

    2. Description
    3. Objective
  40. Practice PT: The Shopping List

    1. 40.1 Practice PT: The Shopping List

    2. Description
    3. Objective
  41. Practice PT: Testing 1, 2, 3 ...

    1. 41.1 Practice PT: Testing 1, 2, 3 ...

    2. Description
    3. Objective
  42. Animation and Games (Deep from JS)

    1. 42.1 Timers

    2. Description
    3. Objective
    4. 42.2 Random Circles

    5. Description
    6. Objective
    7. 42.3 Random Ghosts

    8. Description
    9. Objective
    10. 42.4 Bouncing Ball

    11. Description
    12. Objective
    13. 42.5 Mouse Events: Mouse Clicked

    14. Description
    15. Objective
    16. 42.6 Mouse Events: Mouse Moved

    17. Description
    18. Objective
    19. 42.7 Drawing Lines

    20. Description
    21. Objective
    22. 42.8 Key Events

    23. Description
    24. Objective
    25. 42.9 Crazy Ball Game

    26. Description
    27. Objective
    28. 42.10 Animation and Games Quiz

    29. Description
    30. Objective