Interesting Articles
Programming Assignments
- Program 1 (due February 20, 2008)
- Program 2 (due March 20, 2008 -- yes, this is a Thursday)
- program so that you can see expected behavior (right-click, save as type "all files", make sure file name ends with .jar even if you have to type .jar yourself)
Executable Jar file -- should be able to double click to run)
If you cannot double click to run the jar file, you can type " java -jar p2s08sample.jar" at the command prompt. Or you can unzip the file using WinZip or WinRAR, and you can type "jar xvf p2s08sample.jar" at
the command prompt, and then type "java PartyPlannerDriver" to run.
As a last resort, go here and right-click and save each .class file individually.
At the command prompt, you can type "java PartyPlannerDriver" as before. If you are using BlueJ, make an empty
project, close BlueJ, copy the files manually into the directory, and then restart BlueJ and open the project.
- Hints (Microsoft Word format) There are a lot of methods to write, but most of them should be
short!
- More Hints
- Possible flowchart for getWhosUnknown
- Program 3 (due April 15, 2008 -- yes, this is a Tuesday)
- Program 4 (due May 1, 2008 -- yes, this is a Thursday)
- Hints (Microsoft Word format)
- program so you can see expected behavior (same directions as above, except this filename
is p4s08sample.jar). Here are the individual class files, as before (you would type " java PartyPlannerGUIDriver" as a last resort
at the command prompt).
- Sample input file (for your program)
- Sample input file (for my sample) - It records the payment status of the party, # invited, invited people
(comma-separated), # of accepted, and guests who accepted (comma-separated), # of regrets, and guests who
regretted (comma-separated), in addition to the fields required for your program
Tests
- February 13, 2008
- Chapter 2: Sections 1 through 5
- Chapter 3: Sections 1 through 6 (except for printf method)
- Chapter 5: Sections 1 through 3, 5
- Keyboard
- Examples done in class (this goes without saying)
- March 19, 2008
- Chapter 5: Section 8
- Chapter 4: Sections 1 through 5 (5th edition)
- Chapter 6: Sections 1 through 4, 7, 8
- April 9, 2008
- Final Exam Week Spring 2008
- Chapter 10: Sections 1-6
- File I/O
Exceptions
- IOException
- ClassNotFoundException
Text File Input
- FileReader (constructor)
- BufferedReader (constructor, readLine(), close())
- Integer.parseInt(...), Double.parseDouble(...), etc.
Text File Output
- FileWriter (constructor)
- BufferedWriter (constructor)
- PrintWriter (constructor, print(...), println(...), close())
- java.io.Serializable interface
Object File Input
- FileReader (constructor)
- ObjectInputStream (constructor, Object readObject(), casting,
close())
Object File Output
- FileWriter (constructor)
- ObjectOutputStream (constructor, writeObject(...), close())
- GUIs (sections marked in green in your textbook)
- Chapter 3: Sections 9-11
- Chapter 2: Sections 7-9
- Chapter 4: Sections 6-9
- Chapter 5: Sections 9-12
- Chapter 6: Sections 10-13
- Chapter 8: Sections 6-7
- Chapter 9: Sections 7-8
- Chapter 10: Sections 7-9
Supplemental Reading Material from Head First Java, 2nd edition
Jeliot Visualization Tool (Java Web Start)
bookClasses-8-21-06.zip
(Zip file containing Turtle examples from the textbook by Dr. Mark Guzdial at Georgia Tech)
MediaSources.zip (Zip file containing sound files played in example originated by Dr. Guzdial)
java-source-Fall06.zip(Zip file containing Sound classes from the textbook by Dr. Guzdial)