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 […]
Posted on January 22nd, 2008 by Baker Franke
Filed under: Class Notes | No Comments »
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 […]
Posted on November 26th, 2007 by Baker Franke
Filed under: Handouts, Class Notes | No Comments »
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 […]
Posted on November 26th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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
Posted on October 26th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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 […]
Posted on October 15th, 2007 by Baker Franke
Filed under: Class Notes | 1 Comment »
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.
Posted on October 9th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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 […]
Posted on October 8th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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.
Posted on October 8th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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.
Posted on October 2nd, 2007 by Baker Franke
Filed under: Class Notes | No Comments »
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).
Posted on September 27th, 2007 by Baker Franke
Filed under: Class Notes | No Comments »