Please enable JavaScript to use CodeHS

AP Computer Science A Labs - Outline

  1. Consumer Review

    1. 1.1 Introduction

    2. Resource 1.1.1 Consumer Review Lab Activity Guide
    3. Exercise 1.1.2 Review
    4. Free Response 1.1.3 Review Free Response
    5. Check for Understanding 1.1.4 Check For Understanding
    6. 1.2 Sentiment Value and Star Ratings

    7. Exercise 1.2.1 Sentiment Value
    8. Free Response 1.2.2 Sentiment Value Free Response
    9. 1.3 Autogenerated Review

    10. Exercise 1.3.1 Autogenerate Review
    11. Free Response 1.3.2 Autogenerate Review Free Response
    12. 1.4 Create a Negative or Positive Review

    13. Exercise 1.4.1 Create a Negative or Positive Review
    14. Free Response 1.4.2 Create a Negative or Positive Review
    15. 1.5 Open Ended Activity!

    16. Exercise 1.5.1 Final Activity
    17. Free Response 1.5.2 Wrap Up
  2. Magpie

    1. 2.1 Magpie Lab

    2. Connection 2.1.1 Magpie Student Guide
    3. Free Response 2.1.2 Activity 1: Chatbots
    4. Example 2.1.3 Activity 2: Introduction to Magpie
    5. Exercise 2.1.4 Activity 2: Modifying Magpie
    6. Free Response 2.1.5 Activity 2: Questions
    7. Exercise 2.1.6 Activity 3: Improving Keyword Detection
    8. Exercise 2.1.7 Activity 4: Responses that Transform Statements
  3. Picture Lab

    1. 3.1 Picture Lab

    2. Connection 3.1.1 Introduction & Student Guide
    3. Free Response 3.1.2 A1: Digital Pictures and Color
    4. Example 3.1.3 A2: Picking a Color
    5. Free Response 3.1.4 A2 Questions: Picking a Color
    6. Example 3.1.5 A3: Exploring a Picture
    7. Free Response 3.1.6 A3 Questions: Exploring a Picture
    8. Exercise 3.1.7 A4: Two-Dimensional Arrays in Java
    9. Free Response 3.1.8 A5: Interfaces
    10. Exercise 3.1.9 A5: Modifying a Picture
    11. Exercise 3.1.10 A6: Mirroring a Picture
    12. Exercise 3.1.11 A9: Edge Detection
  4. Elevens

    1. 4.1 Elevens

    2. Connection 4.1.1 Elevens Activity Guide
    3. Exercise 4.1.2 Activity 1: Design and Create a Card Class
    4. Exercise 4.1.3 Activity 2: Initial Design of a Deck Class
    5. Free Response 4.1.4 Activity 2 Questions
    6. Exercise 4.1.5 Activity 3: Shuffling the Cards in a Deck
    7. Free Response 4.1.6 Activity 3 Questions
    8. Exercise 4.1.7 Activity 4: Adding a Shuffle Method to the Deck
    9. Exercise 4.1.8 Activity 6: Playing Elevens
    10. Free Response 4.1.9 Activity 6 Questions
    11. Example 4.1.10 Activity 7: Elevens Board Class Design
    12. Free Response 4.1.11 Activity 7 Questions
    13. Example 4.1.12 Activity 8: Using an Abstract Board Class
    14. Free Response 4.1.13 Activity 8 Questions
    15. Exercise 4.1.14 Activity 9: Implementing the Elevens Board
    16. Free Response 4.1.15 Activity 9 Questions
  5. Battleship

    1. 5.1 Battleship Demo

    2. Exercise 5.1.1 Battleship Part 1: The Ship Class
    3. Exercise 5.1.2 Battleship Part 2: The Location Class
    4. Exercise 5.1.3 Battleship Part 3: The Grid Class
    5. Exercise 5.1.4 Battleship Part 4: Adding a Ship to the Grid
    6. Exercise 5.1.5 Battleship Part 5: The Player Class
    7. Exercise 5.1.6 Battleship Part 6: The Battleship Class
    8. Exercise 5.1.7 Battleship Part 7: Finishing the Game
    9. Exercise 5.1.8 Battleship Extensions
  6. Pokemon Simulation

    1. 6.1 Pokemon Demo

    2. Challenge 6.1.1 The Move Class
    3. Challenge 6.1.2 The Pokemon Class
    4. Challenge 6.1.3 Adding Pokemon Images
    5. Challenge 6.1.4 Pokemon can Attack!
    6. Challenge 6.1.5 The PokemonTrainer Class
    7. Challenge 6.1.6 The PokemonSimulation Class
    8. Challenge 6.1.7 Finishing the Battle
    9. Challenge 6.1.8 Adding the ComputerTrainer
    10. Challenge 6.1.9 Pokemon Extensions
    11. Badge 6.1.10 Pokemon Badge
  7. Blackjack

    1. 7.1 Writing BlackJack

    2. Video 7.1.1 The Card Class
    3. Example 7.1.2 The Card Class
    4. Video 7.1.3 The Deck Class
    5. Example 7.1.4 The Deck Class
    6. Video 7.1.5 The Hand Class
    7. Example 7.1.6 The Hand Class
    8. Video 7.1.7 The Blackjack Class
    9. Example 7.1.8 The Blackjack Game
    10. Exercise 7.1.9 Improving Blackjack
  8. Mad Libs

    1. 8.1 Mad Libs

    2. Video 8.1.1 Mad Libs Demo
    3. Challenge 8.1.2 Collecting the Placeholders
    4. Challenge 8.1.3 Getting User Input
    5. Challenge 8.1.4 Replacing a Placeholder
    6. Challenge 8.1.5 Generating the Mad Lib
    7. Challenge 8.1.6 Write your own Mad Lib!
    8. Challenge 8.1.7 Mad Lib Extensions
  9. Celebrity Lab

    1. 9.1 Activity 1: Introduction to Celebrity

    2. Free Response 9.1.1 Introduction to Celebrity
    3. 9.2 Activity 2: The Celebrity Class: A Simple Version

    4. Free Response 9.2.1 Celebrity Class: A Simple Version
    5. Exercise 9.2.2 Celebrity Constructor
    6. 9.3 Activity 3: Putting it All Together

    7. Exercise 9.3.1 Set up Constructors
    8. Exercise 9.3.2 Setting up the Game
    9. Exercise 9.3.3 Complete Game Play Methods
    10. Free Response 9.3.4 Check Your Understanding
    11. 9.4 Activity 4: Extending the Celebrity Class

    12. Free Response 9.4.1 Extending the Celebrity Class
    13. Example 9.4.2 Literature Celebrity
    14. Exercise 9.4.3 Custom Celebrity
    15. Exercise 9.4.4 Updating CelebrityGame
    16. Exercise 9.4.5 Updating the GUI
    17. 9.5 Activity 5: Open Ended Activity

    18. Free Response 9.5.1 Open Ended Activity
  10. Steganography Lab

    1. 10.1 Activity 1: Exploring Color

    2. Resource 10.1.1 Steganography Student Lab
    3. Free Response 10.1.2 Picture Lab A1: Digital Pictures and Color
    4. Free Response 10.1.3 Exploring Color
    5. Example 10.1.4 Clearing Bits
    6. Free Response 10.1.5 Clearing Bits Responses
    7. Exercise 10.1.6 Changing Colors
    8. Free Response 10.1.7 Changing Colors Response
    9. Exercise 10.1.8 Setting Bits
    10. 10.2 Activity 2: Hiding and Revealing a Picture

    11. Free Response 10.2.1 Hiding and Revealing
    12. Exercise 10.2.2 Hiding and Revealing
    13. 10.3 Activity 3: Identifying a Hidden Picture

    14. Exercise 10.3.1 Identifying a Hidden Picture
    15. Free Response 10.3.2 Identify a Hidden Picture: Check Your Understandin
    16. 10.4 Activity 4: Hiding and Revealing a Text Message

    17. Free Response 10.4.1 Hiding and Revealing a Text Message Intro
    18. Exercise 10.4.2 Hiding and Revealing a Text Message
    19. Free Response 10.4.3 Hiding and Revealing; Check your Understanding
    20. 10.5 Activity 5: Open Ended Project

    21. Exercise 10.5.1 Open Ended Project
  11. GridWorld Lab

    1. 11.1 Lesson 1

    2. Example 11.1.1 GridWorld Starter Code