AP Java
![]()
Ms Gold's
Computer Science Classes at Marshfield High School
Assignments for AP Java Programming last updated 8/26/08
AP Java
Great Links
***Great Visuals of How Sorting Algorithms Work **
***Sorting Code - Side by Side - Selection - Bubble - Insertion **
How to Download GridWorld.
First unzip the GridWorld.zip file it into your Eclipse workspace. Don't make a directory the zip will make it for you. This directory will be called GridWorldCode. In Eclipse create a java project called GridWorldCode. Then run firstProject - BugRunner as a Java Application.
Resources
Text Big Java - Cay HorstmannAP Java - Maria Litvin
www.eimacs.com
GridWorld - AP CollegeboardWe will complete the www.eimacs.com online course and chapters 1 through 15 in Big Java
Lesson 1
- Read Chapter 1 in Big Java
- Imacs - Complete Java Basics - Variables and Expressions - Tests 1 through 5
Lesson 2
- Our first Java Program
- Imacs - Program Control - Tests 6 through 8
- Set up environment Eclipse – update to java 1.6
- Get to know the links on this page -
- find the College Board Site and get to know it
- find the javaBat link and do a quick exercise
- Chapter 2 Using Objects -
Lesson 3
Chapter 1 of GridWorld
Chapter 2 and 3 of Horstmann
Completed Imac tests 1 through 8
- Homework Read Chapter 2 and 3
- Install Grid World
- Chapter One of Grid World
- NOTE changed from pg 78 to 76 - Do programming exercise on pg 76–Exercise p 2.7 (The Random class implements a random number generator, which produces a sequence of numbers that appear to be random…)
- Start Chapter 3 Review Questions and Exercises
- Review Questions 3.1 and 3.2
- Programming Problems 3.5, 3.6, 3.8, 3.12 , 3.13G and 3.16G (you may not get to complete all of them so do the ones that interest you the most first)
Lesson 4
- Take first practice ap test
- Progress Reports - exceptions can be made for those new to Java.:)
- based on completion of emacs tutorials 1 thru 8
- Horstmann Exercises
- Read Chapter 4 in Horstmann -
- Read Chapter 1 in Be Prepared for the AP Computer Science Exam in Java
Lesson 5
- Read Chapter 4 in Horstmann -
- Read Chapter 1 in Be Prepared for the AP Computer Science Exam in Java
- Tuesday - Finish up Chapter 3 Exercises and Constants and Magic Numbers
- Chapter 2 Be Prepared for the AP Computer Science Exam in Java
- Move to Chapter 4 Exercises; P4.11, P4.12, P.17 and P4.18 (time permitting Project 4.1)
- Thursday Review for Test and some AP practice questions
- Java Language Coding Guideline - Check it out
- OO Vocabulary
Lesson 6
- Finish Reading Chapter 4
- STOP all other exercises and do Programming Project 3.1 (this will be graded)
- Grading Criteria
- Documentation
- Clarity
- Does it work
- is it designed well
- is it well tested
- Chapter 4 - Strings
- Continue with Chapter 4 exercises
- Continue with Be Prepared for the AP Computer Science Exam in Java
Quiz
Lesson 7
Lesson 8
- Quiz on Chapters 1 through 4
- Read Chapter 5 (Conditionals)- Horstmann
- Do Exercises R5.9, R5.10 and R5.14 and Programming Exercises P5.2 and P5.11 or the Elevator Project
- Emac - Labs and Tests 6, 7, and 8
Lesson 9
- READ Chapter 6
- IMAC - Labs and Tests 6, 7 and 8
- In class we will review Chapters 2, 3, 4 and 5 in Java Concepts Study Guide
- Exercises P6.13, P6.7 and P6.4
- Answer all Review Exercises R6.1 through R.6.18
- If we don't finish all of this, the remaining work will just spill into the next week
Lesson 10
- Chapter 7 ArrayLists
- Review Exercises R7.3, R7.5, R7.8, R7.9, R7.16, R7.17
- Programming Exercises P7.12, and TicTacToe, P7.10, and P7.11
- Time permitting go back and do exercises in Chapters 5 and 6
- Now that's a Good Day's Work
Lesson 11
- *** Homework ***
- Read Chapter 2 of GridWorld
- Make sure you're finished Imac sections and tests 6, 7, and 8
- Finish up from last week
- Review Exercises R7.3, R7.5, R7.8, R7.9, R7.16, R7.17
- Programming Exercises P7.12, and TicTacToe, P7.10, and P7.11
- In preparation for GridWorld read a fast and dirty introduction to Inheritance and complete exercise Back to School
- TEST on Arrays and ArrayList with an emphasis on iterating through ArrayLists.
- Do GridWorld Gridworld Board Game - Watch Video for Game of Fifteen - Download Game of Fifteen Student Zip file
Lesson 12
Lesson 13
- Complete the ArrayLists Exercises in Emacs - under Object Oriented Programming - Simple Objects - ArrayLists.
- ***Test on ArrayList first day back from vacation **
- Review tests
- Stop work on current projects (come back to them when you have time)
- Chapter 8 Exercise R8.20, Chapter 9 Exercise R9.3, R9.6,
- Chapter 10 Exercise R10.8, R10.13 -
- Chapter 10 Programming Exercises P10.7 or P10.8 - and Emac on Inheritance and Polymorphism
Lesson 14
- Emac on Inheritance and Polymorphism - Finish up
- If you finish before the end of the week start reading Chapter 13 on Recursion and do the JavaBat Recursive Problems.
Lesson 15
- Read Chapter 13 on Recursion and then do the JavaBat Recursive Problems - Recur1 and Recur2.
Lesson 16
Bring in Your Signed AP Permission Sheets, if you have not done so already!!!
- Grid World Chapter 3 , Question Sets 3 through Set 6.
Lesson 17
- Chapter 14
- Sorting - P14.2, P14.4,
- Searching - P14.8
Lesson 18
- ***Great Visuals of How Sorting Algorithms Work **
- Emacs - Sorts and Searching - I want to see those emails coming in!
Lesson 19
- ***Link to Great Visuals of How Sorting Algorithms Work **
- Finish up Searching, Sorting
- Read Chapter 14 Analyzing the Performance of Sort Algorithms
- If finished Searching and Sorting start Comparator Interface A Class - 14.13
- Finish up Searching and Sorting
- Comparator Interface A Class -
Lesson 20
- Test on Searching and Sorting
- GridWorld Chapter 4
Lesson 21
- Take 2nd half of AP practice test
- concentrate on Autoboxing, Comparable interface and recursion
Lesson 22
- Sort-of-Jeopardy
- Link to sun discussion on Generics nat the bottom of page click on the tutorial and skim through sections 1 through 5ottom of the page look for download of tutorial on Generics.
Lesson 23
GridWorld - GridWorld - GridWorld
Lesson 24
- ***Link to GridWorld Homework**
- Javadoc for GridWorld
- Link to MUST READ GRIDWORLD Notes by Cay Horstmann
- Link to Zip file of Chapter 14 Slides
- Link to Zip file of Chapter 15 Slides
- Link to Zip file of Chapter 16 Slides
*******************************************************************************************************************************
- Vocabulary
- Encapsulation
- Polymorphism
- API Documentation
- accessor and mutator
- class
- constructor
- implicit parameter
- parameter
- method
- new
- object and object reference
- overloading
- primitive type
Important Links
The Google Highly Open Participation Contest / Open Source Projects new link
GridWorld Quick Reference new link
The unofficial AP Java Schedule new link
Bank Account Example and Bank Account Tester
JavaBat- Java Practice Problems
AP Java online Course eimacs.com
Sun Java API's 5
Java cscie160 -For Distributed Programming
College Board Information
Sun the Really Big Index
Sun OO Tutorials
Sun Java Package Tutorial
How to Write Doc Comments for the Javadoc Tool
Java Language Coding Guidelines
Lessons
Tutorials
- Merge and Merge Sort
- Quadratic Sorting Algorithms
- Recursive Array Programming
- Two Dimensional Array Programming
- ArrayList Tutorial
- Array Tutorial
- Boolean Algebra
- Exceptions Tutorial
- Recursion Tutorial
- Defining and Using Classes
- More about Methods
- Structured Programming
- While Loops
- More on Loops
- Switch Statements
- Object References
- Strings
- Inheritance