Quiz Friday, Jan. 25

We will have a brief in-class Quiz on Friday. Material you are responsible for:

2D arrays
ArrayLists, including the generic form ArrayList<T>
Iterators - usage only, and what they’re good for
Sequential Search (of both Arrays and 2D arrays)
Binary Search concepts - not expected to reproduce code
General understanding of running time.

EXAMPLE Questions:
1. Write the method below that […]

Stats Program posted — and F.A.Q.

Here’s the basketball stats program we’ve been writing in class. Lab11_BBallStats.zip
NOTE: I truly encourage you to try to write the steps we took on your own using this program as a reference.
F.A.Q. Posted.
The Stats Program FAQ has been posted in the “Pages” section on the right. I’ve moved the notes on arrays there […]

Last 3 weeks Schedule

Last 3 weeks of Fall Quarter
TOPICS:
————
1. Design Patterns - Commands, Factories
2. Graphics - intro
3. 2D Arrays
4. Take home exam — Stats program analysis is part of exam.
Week 13
————-
1. Nov. 26 — Reorganize commands to use Command class
2. Nov. 27 — Read teams from files, write output to files
3. Nov. 28 — Distribute assignment sheet with […]

NOTES: BinaryNumberReader project posted

Scholars,
Here is the Binary Number Reader project we worked on in class. I have modified it so that it will work with the SampleCode.kwld file which I have also included in the project.
I have added some comments explaining each line in an attempt to clarify.
Project: BinNumReader.zip

Notes: Multiplier project

Here is the multiplier project we did in class on 10.15.07:
101507_Multiplier.zip.
Alert student, Jeff, pointed out that the world has a repaint() method,which forces the World to redraw itself.
In case you’re interested, the reason the beepers in world weren’t showing up was that World re-drawing is tied to robot actions. Since we didn’t have any […]

NOTES: Exam Review Packet distributed

As a matter of policy I don’t put Exam or exam review materials online.  Only hardcopy.  So if you need your review packet please come see me to get one.

NOTE: Test 1 on Friday, Oct. 12

Use the review packet as your study guide.
Problems on the test will mimic those given on quizzes, plus one extra “design problem.” There will likely be 4 questions on the test:

terminal based applications, simple variables, etc. (see Quiz 1 and Lab 1)
Simple robot stuff including if-statements, and simple recursive methods (see Quiz 2 and […]

NOTES: instance vars from class

Here is the blueJ project we worked on in class: 100707_InstanceVars.zip
Topics covered during this talk included:

more on recursive methods - move(int numSteps)
using instance variables to keep track of things.

For notes on instance variables please see the week 5 notes.

Reminder: Polymorphism Quiz on Friday, Oct. 5

Please review the Quiz preparation sheet I handed out in class. If you don’t feel solid on any part of it, please see me and we’ll clear it up.
Also, I will post the notes on static methods some time soon.
The Week 3 summary is almost complete as well.

NOTES: Inheritance and Polymorphism PPT

Here is the Powerpoint on Inheritance and Polymorphism that we went through in class.  Enjoy!
Inheritance_and_Polymorphism.ppt 
(If you need it in pdf form let me know).