CMP 326-01 Spring 2008
Programming Methods 2
Class Schedule: Monday, Wednesday, 11:00 - 12:50, G225
Office Hours: Monday, Wednesday, 1:30 - 3:00
Textbook: Y. Daniel Liang, Introduction to Java Programming (Sixth Edition), Pearson Prentice Hall, ISBN: 0-13-222158-6
Information and Resources
Programs and Examples
- Adder Example
- Person Example
- Geometric Objects
- Expandable Array
- Stack Examples
- More Stack Examples
- Sorting Examples
- Simple GUI Example
- More GUI Examples
- Student GUI Example
- Calculator Example
- IntegerPane Example
- More Stack Examples
- Binary Counting Example
- Towers of Hanoi Example
- Binary Searching
- Merge Sort
- Sort Timings
- Thread Examples
- File Examples
- Reading and Writing Objects to a File
- Student Records Example, Part One
- Student Records Example, Part Two
- Student Testing Program
- Student Records with Tests, Final Version
Projects
Programming projects are due by midnight on the date given; there are no individual extensions. All programs are to be fully commented---I suggest you learn how to use javadoc. Programs are to be e-mailed to me at melvin.fitting@lehman.cuny.edu. Send programs as attachments---do not paste them into the e-mail body. Make sure you do not send the .class (compiled) files, send the .java files.
- Due Friday, February 1.
- Due Thursday, February 7.
- Due Thursday, February 14
- Due (items 1 - 5) Saturday, February 23
- Item 6 of the previous project, Due Wednesday, February 27
- Temperature and Distance Conversion, Due Wednesday, March 5
- Tic Tac Toe Project, Due Wednesday, March 12
- Binary Addition Project, Due Friday, March 21
- Binary Calculator Project, Due Wednesday, April 2
- Stack Sorter, Due Wednesday, April 9
- Page 812, problem 24.4, Due Wednesday, April 16
- Files problems, Due Wednesday, April 30
- File Merging, Due Monday, May 5
- More File Merging, Due Wednesday, May 7
- Test Program Question, Due Wednesday, May 14
Exams
- Midterm: March 17, 2008
- Final Exam: May 21, 2008
Grading
The grade for the course is based on both program assignments and tests. There will be a large number of programming projects, and the average on them counts as half the final grade. There will be a midterm and a final exam. The (weighted) average on them counts as the other half of the final grade. To compute the average of the exams, the midterm counts 1/3 and the final exam counts 2/3.
Return to Home Page