AP Computer Science A

View the AP Computer Science Syllabus
Print the Syllabus Verification Form

Read the Blog

Access the Google Docs folder

    • Tuesday, January 15
      • Review Projects
    • Thursday, January 16
      • Inheritance Discussion
      • Gridworld Part 4: ChameleonCritter, ChamelionKid
    • Tuesday, January 22
      • Interface Discussion
      • Abstract Class Discussion
      • Programming Project 7.1: MonetaryCoin Class
    • Thursday, January 24
      • Polymorphism Discussion
      • Programming Project 7.2 or 7.3
    • Monday, January 28
      • Check Programming Project 7.1
      • Work on Programming Project 7.2
      • GridWorld Part 4 programming activities
    • Monday, February 11
      • GridWorld Methods review
      • Complete two of the following for grade: Rockhound, BlusterCritter, QuickCrab, KingCrab
    • Tuesday, February 19
      • GridWorld
        1. Complete the AntFarm assignment. The files are in the common drive.
        2. Complete the AntFarm Questions. The document with the questions is in the common drive.
        3. Complete Part 2 and Part 3 of Ant Farm
      • Inheritance QuickCode on Thursday
    • Thursday, February 21
      • Quickcode- Using the files in the Inheritance QuickCode folder in the common drive, create EquilateralTriangle and RightTriangle classes that are derived from the abstract Triangle class. Provide an appropriate constructor for each of the classes and make them call the superclass's constructor. Redefine the abstract methods appropriately in the derived classes. Complete the declaration statements in the TriangleTester class. Compile all classes and run the TriangleTester. Full Value if complete by 11:30
      • Continue working on AntFarm
    • Monday, February 25
    • Wednesday, February 27
      • Continue AntFarm
      • Continue BattleCritter
        • Add public static int kills = 0; to the instance data of your critter
        • Add a statement to add 1 to kills each time your critter kills another critter
        • Add a public toString method that returns the name of your critter class followed by the number of kills in parentheses i.e. BattleCritter(4)
        • Add a statement to use System.out.println to print a statement in the format "yourCritter killed targetCritter" i.e. BattleCritter(4) killed TargetCritter(2)
    • Friday, March 15
    • Tuesday, March 19
      • Practice Problems-Complete and turn in. Have another student use the attached rubric to calculate your score on the question. Circle the points earned on the rubric.
      • AP Subset Review Survey if not completed yet
      • AntFarm
      • BattleCritter round 2-see revised specificaions in the common folder
      • Final Project
    • Monday, March 25
      • AntFarm (Part 1 for Report Card, Part 2 for Enrichment)
      • Missing Practice FRQs
    • Friday, March 29
      • SnackBar project
        • Copy the SnackBar folder from the common drive to your G: drive. Complete the Vendor class by adding instance data, a constructor, and completing the methods as described in the comments. Compile the Vendor class, the VendingMachine class, and the SnackBar class. Run the SnackBar class to test the operation of the Vendor Class.
        • Add a private static field double totalSales to the Vendor class. This class variable will hold the total amount of all sales (in dollars). Because totalSales is static, all Vendor objects will share this field. Initially, totalSales is set to zero by default. Add a public static method getTotalSales that returns the current value of totalSales and at the same time resets the totalSales to zero. Modify the makeSale method: if a sale is successful, add the amount of the sale to totalSales. Remove the commented statements from the actionPerformed method of the SnackBar class. Recompile Vendor and SnackBar and run SnackBar again to test the static variable and method.
    • Thursday, April 11
      • Practice FRQ
      • BattleCritter
        • Add the following method to your critter
          • public void addKill()
            {
            kills++;
            }
        • Add this line to the hitBy() method immediately before or after the removeSelfFromGrid line where c is the reference to the critter that killed you.
          • ((APCSBattleCritter)c).addKill()