APCS Java
Course Syllabus
Resources
 
Student User Files
October
November
December
 
 
 
 

 

AP CSI - Java

Return to Current Agenda

September Day Class # Assignment
8 a 1
  • Definitions | Vocabulary Powerpoint
  • 12 c 2 1. Go through both Turtle and Turtlet and list all the
  • reserved words
  • signature of instance methods
  • instance variables
  • class variables
  • 2. On paper write an application program that constructs a Turtle and slowly draws 5 red concentric red circles with increasing radii (20,40,..100) using a for/loop. Then using the same Turtle, draw 5 blue concentric circles with decreasing radii (110, 90, …30) using a while loop.

    14 e 3 Java Keywords
    16 a 4 What would be involved in making the drawing color different for each instance of a WiseTurtle? Be specific. TYPE and hand me your typed HOMEWORK.
    20 c 5 Homework - MUST BE TYPED.
    Email me the WEBSITE listing. (jmerlis@bhbl.org)
    *On paper write an overload the constructor to WiseTurtle to set the state (position and heading) and allow the Turtle to have its own drawing color as discussed in class.
    * Make a drawing with 4 WiseTurtles that start in different places and colors, taking turns to draw different parts of a picture
    *Find FIVE websites specifically focused on the JAVA programming language. On a sheet of paper, type each website with a brief description of its usefulness. Come prepared to discuss one of your websites in class on Thursday.
    22 e 6

    Link for the AP API (Subset you NEED to know)

    Homework: Review the following classes in the AP API.
    ArrayList, Double, Integer, Math, Object, Random, String, System
    For each class, make a list of each method that is new to you
    Read through all the exceptions and note questions

    26 a 7 The handout working with strings.
    28 c 8 Read CHAPTER 2 in the book.
    30 e 9 Good luck at the meet guys! Lab on Tuesday on the reading.
    Oct4 a 10 LAB #1 - Using Arrays | HW: Read the EasyFormat class. AND setup VPN @ home
    6 c 11  
    11 e 12 HW
    Decide on a make (Buick, Toyota, Jeep, etc) and go to the website. Look at several models and see what they share, how they differ
    Write the URL on paper
    Decide on the 5 most important pieces of information about a car, truck or SUV.
    13 a 13 HW
    Gather information for 20 vehicles (you should have a few duplicates, but also a good variety). Type the file in NotePad.

    1. Type (Car, SUV, Truck)
    2. Make
    3. Model
    4. Year
    5. Price
    6. Fuel efficiency
    7. Speed (top)
    8. Horsepower
    9. Size of Tank
    10. Transmission "Man" or "Auto"
    11. Convertible "Yes" or "No"


    17 c 14 HW
    Think about other classes for our project to handle inventory reports.
    TYPE
    the types of actions we would like our project to be capable of accomplishing (e.g. Report all vehicles ordered by price or alphabetical by model.)
    Explain IN YOUR TYPED HW what would be involved in finding the most expensive vehicle.
    19 e 15 Vehicle Class Layout | HW: Enjoy the next 5 days away from this class!
    24 a 16

    WHERE WE ARE
    - Make the utility READ method work to populate a list of vehicles.
    - Change it so that it populates a list of vehicles as the correct type of vehicle.

    HOMEWORK
    Write correct Java code under the following headers:
    ---public int numberOfTrucks()
    ---public int numberOfConvertibles()
    ---public double averagePrice()

    If you have removed the PRIVATE VARIABLE "Type", you must use the keyword instanceOf in your if statement. Otherwise simply use a "dot equals" to determine if it is a truck. Questions? Email Olsen. ;) Have a great day!

    26 c 17 HW: Write this method and add to the dealer class.
    public static Vehicle[ ] sortByEfficiency () // use the selection sort
    28 e 18  
    11/1 a 19  
    11/3 c 20 Click here
    11/7 e 21

    Binary Search and continue work on Vehicle Methods

    HOMEWORK:
    Write the code for the following method
    public Vehicle withCost(double price)
    // returns the vehicle with this price using a binary search

    11/9 a 22

    Click Here
    Homework is to study what is on the link above!

    11/14 c 23

    TEST IN CLASS ON THIS DAY

    Assignment for next class:
    Do problems 1-10 in Review Book for Practice Exam A-1.
    Do them on a CLEAN SHEET OF PAPER.
    Use scrap paper when necessary.
    THIS AP class is more about PROBLEM SOLVING and THINKING than anything else!
    **I would suggest doing them 'in one shot', in other words, set aside an hour or so and do it in one session.**

    11/16 e 24 HALF DAY. --> Finish up Vehicle
    11/18 a 25 Lab 1 - "Light Bulbs..."
    HW: Do problems 11-20 in the Review Book for Practice Exam A-1.
    11/22 c 26 Lab 2
    11/28 e 27 Work on Labs ONE and TWO | Lab One Pseudocode | VehicleTest App
    HW: Do problems 21 to 30 in the Review Book for Practice Exam A-1
    11/30 a 28 Lab 3/Class Agenda
    12/2 b 29 Finished all labs.
    12/6 c 30 Class Agenda/Use Java 1.5 to redo Labs 2 and 3
    12/8 e 31 Class Agenda/Towers of Hanoi HW
    12/12 a 32 Class Agenda/Homework for next class
    12/14 c 33 We did a Sudoko. It took us a long time. We talked about the implicit programming concerns one must deal with when creating such an enjoyable activity. Right.
    12/16 e 34 Base Conversion Worksheet | Class Agenda: Base Conversion (Lab 4)
    12/20 a 35 Finish Labs: Recursion Practice and Base Conversion (Lab 4)
    12/22 c 36 Labs should be completed by end of class today. Enjoy your winter break.
    WINTER BREAK ASSIGNMENT --> Worth 40-60 points depending upon some variables...
          CLICK HERE FOR VEHICLE GRADE INFO!!!
    January Day Class # Assignment
    1/3 e 37 Marine Biology Case Study - Our first day!
    Homework: P. 197 of rev. book: Prac Exam A-1, part 2, question #1
    --->AND FINISH WINTER BREAK ASSIGNMENT
    1/5 a 38 Complete the following:
    Analysis Question Set 3:  p. 31
    Exercise Set 2: p. 32 
    Analysis Question Set 7: p. 38
    Exercise Set 5:  p. 45
    Exercise Set 1: p. 61
    1/9 c 39 HW: In "Be Prepared" Do Practice Exam A-1, Part 2, Question 4
    Continue work on the MBCS
    1/11 e 40

    IN CLASS ON THIS DAY
    We will go over the HW
    We will discuss MBCS Analysis Question Set 7.
    You will finish READING chapter 2 and complete exercise set 5.
    We will talk about chapter 2 and begin chapter 3.

    HW: In "Be Prepared" Do Practice Exam A-2, Part 2, Question 1

    1/13 a 41 HW: Read 147 to 159 in "Be Prepared"
    Understand it!!!
    (Don't just read, internalize and see the bigger picture!)
    1/19 mid CLICK HERE FOR THE ANSWER SHEET.
    Copy it into BlueJ and work from there. Thanks, Yours Truly, Mr. M
    the midterm | midterm answer key
    1/30 a 42 Went over midterm / worked more on the Shark (lab 4)
    2/1 c 43
    2/3 e 44 Labs 5-7
    HW: Practice Exam A2 in "Be Prepared"
    2/7 a 45 FINISH LABS 6 AND 7 | Do Practice Exam A2
    2/9 c 46 We went over the Exam and looked at the AP AB Reference Materials
    2/13 e 47

    Finish labs 6 and 7. | Start Labs 8 and 9.

    Lab 6 Pseudo

    READ PAGES 103-105 for info on Mergesort and Quicksort

    HOMEWORK
    Read and do all problems in "Be Prepared" pages 111 to 122
    Topic: Linked Lists

    2/15 a 48 Labs 8 and 9
    HOMEWORK: Read 123 to 127 (Stacks and Queues) in "Be Prepared"
    2/17 c 49 continue work on 8 and 9
    2/28 e 50 FINISH LABS 8 AND 9 --> BEGIN LAB 10
    3/2 a 51 Start the next series of labs. Queues and Stacks
    3/6 c 52 Labs 11 and 12
    3/8 e 53 LABS 11 AND 12
    Homework: "Test 7" --> TO BE HANDED IN. (4 pages)
    3/10 a 54

    Complete Labs 11 and 12
    Homework:
    ------ "Test 9" --> TO BE HANDED IN. (4 pages)
    ------ Read pages 127 to 139 in "Be Prepared" (sets and maps, and more!)

    3/14 c 55

    Discuss Advanced Data Structures
    LABS 13 AND 14

    Homework: "Test 12" --> To be handed in.

    3/16 e 56 CHRISTMAS SONGS Datafile | PPT on Sets/Maps | PPT on Tree Sets/Maps
    3/20 a 57
    DATES YOU NEED TO MEET
     
    All labs up to 14 must be complete by Friday, 3/24.
    Complete Exercises #2 and #3
     
    Next week we will tackle Binary Trees.
     
    HOMEWORK:
    In "Be Prepared" do Part 2 questions 1 and 2 for Practice Exam AB-1 (257-262)
    3/22 c 58 Go over the HW | Labs 13 and 14
    3/24 e 59

    HOMEWORK:
    In "Be Prepared" do Part 2 questions 1 and 2 for Practice Exam AB-2

    Finish all labs. | You can start Labs 15 and 16. | We will discuss the AP.

     

    3/28 a 60 Tree Powerpoint |
    4/3 e 62

    Finish labs 15 and 16

    HOMEWORK: Test AB-1, 1-20
    Write answers on a separate sheet, correct them, try to understand the ones you missed. We will discuss your questions in class.

    4/5 a 63

    30 Week Exam: 20 AP MC and 2 Part 2s
    --> REMEMBER YOUR REFERENCE MATERIALS

    HOMEWORK:
    1. Test AB-1, 21-40

    Write answers on a separate sheet, correct them, try to understand the ones you missed. We will discuss your questions in class.
    2. Binary Trees Worksheet

    4/7 c 64

    Go over 30 week, prepare for tonight's contest

    30 Week Part 2 "AP" Answers | Binary Trees Data Printout

    HOMEWORK: Test AB-1, Part 2 questions 3 and 4
    Write answers on a separate sheet, correct them, try to understand the ones you missed. We will discuss your questions in class.

    4/11 e 65

    Cover the following:
    Page 92: Loop Invariants
    Pages 139-145: Final AB topics
    Examine the MBS for unbounded oceans

    Lab for students taking the A-Exam

    HOMEWORK:
    Compare the two classes, BoundedEnv and UnBoundedEnv. List methods that differ and why.

    4/13 a 66

    Examine the MBS for unbounded oceans
    HOMEWORK:

    ENTIRE PRACTICE EXAM. (To be handed out.)

    4/25 c 67

    In class:

    • Grade our multiple choice
    • Turn in free response

    HOMEWORK:
    Test AB-2, 1-20, Free Response #3
    Write answers on a separate sheet, correct them, try to understand the ones you missed. We will discuss your questions in class.

         

    FINAL PROJECT OPTION: Real Life Application in Psychology

    ParagraphLayout Code

    LAST DAY OF CLASS: 5/1/06

    LOOK OVER THE REFERENCE TABLES YOU WILL BE USING.
    Know where to find information, (particularly with regard to the case study.)
    If you realize there is anything you don't know, look in your review book, use google, a book, etc.

    AB Students:
    Click here and complete exercises 6 and 7. - Check your work (solutions are posted.)
    Make sure you have looked at the Priority Queues powerpoint.
    AB exam subset | AB exam reference
    Review of Data Structures

    A Students:
    A exam subset
    A exam reference

     

    TO BRING TO THE AP EXAM

    2005 part 2 ANSWERS
    to get to previous years, change the URL to the correct year

     

    Powerpoints on AB Topics

    AB TOPICS YOU NEED TO KNOW

    • Maps, sets, hashcode, equals
    • Quicksort
    • 2d Arrays
    • Linked Lists (singly, double, circular)
    • Stacks
    • Queues (and Priority Queues)
    • Trees
    • Heaps