AP Computer Science

About the Course

  1. Course Outline
  2. About the AP Exam
  3. Exam Countdown (by Andy Liang)
  4. Java Style Guide for this course.
  5. An excellent Java textbook, available in interactive format and as a PDF.

Unit 1. Karel J Robot

  1. Follow these instructions for getting Karel J Robot to work on your machine.
    1. Quick link to KarelJRobot.jar
    2. Quick link to the test project
  2. Download Stanford's Karel J Robot Manual
  3. Download the in-class examples we went over.
  4. Assignment 1: Download the practice problems and complete them as per the instructions in class. Your solution should work for each world that belongs to that problem. Here are the solutions!
  5. Assignment 2: Due date: Sept. 25, 2017
  6. Challenge Problem: Download and complete the bonus assignment.

Unit 2. Java Basics

  1. Number Systems
  2. Compilers, Interpreters, and Java. (P. 15-20 in the textbook)
  3. Java and Math.
  4. Making Decisions
    • Notes on if statements.
    • Notes on operators and if-else trick questions.
    • Do the following questions in Logic-1 Coding Bat: cigarParty, dateFashion, squirrelPlay, caughtSpeeding, love6, more20, old35, near10, teaParty, twoAsOne, lastDigit, withoutDoubles, maxMod5, blueTicket, shareDigit. Due Oct 10
  5. Repetition
  6. Methods
  7. Practice Problems
    • Download the practice assignment, which contains 4 complex problems to be solved in BlueJ. Due Monday October 23rd. GL HF!
    • Rock, Paper, Scissors assignment description
  8. Unit Review

Unit 3. Strings

  1. Do Coding Bat String-1 (First column)
  2. Do Coding Bat String-2 (First column)
  3. Do Coding Bat String-3 (All)
  4. Strings Practice Assignment ft. PPAP, Palindromes, Binary Conversion, and Pig Latin
  5. Strings Review

Unit 4. Arrays and ArrayLists

  1. Video Lesson
  2. Do Coding Bat Array1, middle column (due next class). [Help Docs]
  3. Do Coding Bat Array2, first and second columns.
  4. Chomp Project Files
  5. List Assignment starter package!
  6. Unit 4 Study Guide
  7. Test Review: Test 1, Test 2, Answer Key.

Unit 5. Object Oriented Design (Part 1)

  1. Our Fraction Assignment
  2. Link to video for instructions for Jan 12, 2018
  3. Link to video for instructions for Jan 16, 2018
  4. Hangman Starter Code
  5. Answer Key for Review

Unit 6. Algorithms

  1. Sorting Algorithms:
    1. Selection Sort
    2. Insertion Sort
    3. Mergesort
  2. Searching Algorithms
    1. Sequential Sort
    2. Binary Search
  3. Recursion Review

Unit 7: Inheritence and Polymorphism

  1. Inheritence and Polymorphism Slides

Exam Preparation

  1. Old AP Compsci Free Response Questions and Answers
  2. The AP Java Subset: This is a list of all the parts of Java that you will be tested on, and some useful reminders about what you will NOT be tested on.
  3. The Java subset document does not go into heavy detail, so I wrote this additional study guide to flesh it out.
  4. Read page xii in the Baron's Guide introduction for some good advice about writing the Multiple-Choice and Free-Response sections of the exam.