CMP 326-I401 Fall 2009
Programming Methods 2
Class Schedule: Monday, Wednesday, 11:00 - 12:40
Office Hours: Monday, Wednesday, 1:30 - 3:00
Textbook: Y. Daniel Liang, Introduction to Java Programming (Seventh Edition), Pearson Prentice Hall
Information and Resources
Programs and Examples
- Statistics (mean and standard deviation)
- Person Example
- Geometric Objects
- Geometric Objects as an abstract class
- Expandable Array
- Stack Example
- Casting and Autoboxing Example
- More Stack Examples
- Sorting Examples, Comparable Interface
- A Simple GUI
- Frame and Panel Example
- Calculator GUI Example
- Binary Counting
- Towers of Hanoi
- Binary Conversion
- Binary Search
- Stack methods using recursion
- Merge Sort
- Sort Timings
- Files
Projects
Programming projects are due by midnight on the date given; there are no individual extensions. All programs are to be fully commented. 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 Wednesday, September 2
- Due Wednesday, September 9
- Due Monday, September 14
- Due Wednesday, September 16
- Due Monday, September 21
- Due Wednesday, September 23
- Due Tuesday, September 29
- Due Monday, October 5
- Due Wednesday, October 7
- Due Wednesday, October 14
- Due Monday, October 19
- Due Monday, October 26, with preliminaries due Wed Oct 21
- Due Wednesday, November 4
- Due Monday, November 9
- Due Wednesday, November 11
- Parts 1 and 2 due November 16, part 3 due November 18, changed to November 23
- Due Monday, November 30
Exams
- Midterm, Wednesday, Oct 28
- Final, Wednesday, Dec 16, 11 am - 1 pm
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