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

  1. Syllabus
  2. OnLine Java help available at java.help@lehman.cuny.edu
  3. Java tutoring available in Math Lab, Gillet room 222.
  4. Java Language Documentation
  5. Java Code Conventions
  6. Sun's Java Tutorials
  7. Sun's General Java Website
  8. Obtaining Eclipse
  9. Website of textbook


Programs and Examples

  1. Statistics (mean and standard deviation)
  2. Person Example
  3. Geometric Objects
  4. Geometric Objects as an abstract class
  5. Expandable Array
  6. Stack Example
  7. Casting and Autoboxing Example
  8. More Stack Examples
  9. Sorting Examples, Comparable Interface
  10. A Simple GUI
  11. Frame and Panel Example
  12. Calculator GUI Example
  13. Binary Counting
  14. Towers of Hanoi
  15. Binary Conversion
  16. Binary Search
  17. Stack methods using recursion
  18. Merge Sort
  19. Sort Timings
  20. 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.

  1. Due Wednesday, September 2
  2. Due Wednesday, September 9
  3. Due Monday, September 14
  4. Due Wednesday, September 16
  5. Due Monday, September 21
  6. Due Wednesday, September 23
  7. Due Tuesday, September 29
  8. Due Monday, October 5
  9. Due Wednesday, October 7
  10. Due Wednesday, October 14
  11. Due Monday, October 19
  12. Due Monday, October 26, with preliminaries due Wed Oct 21
  13. Due Wednesday, November 4
  14. Due Monday, November 9
  15. Due Wednesday, November 11
  16. Parts 1 and 2 due November 16, part 3 due November 18, changed to November 23
  17. Due Monday, November 30

Exams


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