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

  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. Code for textbook programs.


Programs and Examples

  1. Adder Example
  2. Person Example
  3. Geometric Objects
  4. Expandable Array
  5. Stack Examples
  6. More Stack Examples
  7. Sorting Examples
  8. Simple GUI Example
  9. More GUI Examples
  10. Student GUI Example
  11. Calculator Example
  12. IntegerPane Example
  13. More Stack Examples
  14. Binary Counting Example
  15. Towers of Hanoi Example
  16. Binary Searching
  17. Merge Sort
  18. Sort Timings
  19. Thread Examples
  20. File Examples
  21. Reading and Writing Objects to a File
  22. Student Records Example, Part One
  23. Student Records Example, Part Two
  24. Student Testing Program
  25. 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.

  1. Due Friday, February 1.
  2. Due Thursday, February 7.
  3. Due Thursday, February 14
  4. Due (items 1 - 5) Saturday, February 23
  5. Item 6 of the previous project, Due Wednesday, February 27
  6. Temperature and Distance Conversion, Due Wednesday, March 5
  7. Tic Tac Toe Project, Due Wednesday, March 12
  8. Binary Addition Project, Due Friday, March 21
  9. Binary Calculator Project, Due Wednesday, April 2
  10. Stack Sorter, Due Wednesday, April 9
  11. Page 812, problem 24.4, Due Wednesday, April 16
  12. Files problems, Due Wednesday, April 30
  13. File Merging, Due Monday, May 5
  14. More File Merging, Due Wednesday, May 7
  15. Test Program Question, Due Wednesday, May 14

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