CMP 326
Programming Methods II



Course Description: 4 hours, 4 credits

Continuation of parameter passing with a focus on devising function definitions and tracing recursive calls. Sorting and searching algorithms and a comparison of their performance. GUI programming. Threads, Exceptions, and Exception Handling. Object-Oriented Programming techniques.

Prerequisite:

A grade of B- or better in CMP 167 or Departmental permission.
CIS 166 may be used as a PREREQ with Department Permission.

Course Objectives:

By the end of the course students should be able to read and write java code that does the following:

  1. Demonstrate OOP through proper use of encapsulation, polymorphism and inheritance.
  2. Independently design, create, debug Java Applications
  3. GUI (Graphical User Interface) for desktop applications
  4. Perform decision branching using if-else statements, switch cases
  5. Perform iteration using loops for, while, do-while
  6. Use Recursion to solve problems
  7. Manipulate Arrays 1 Dimensional & 2 Dimensional
  8. Manipulate Strings
  9. Use Streams and perform File I/O
  10. Demonstrate use of Exception Handling
  11. Popular Sorting Algorithms (Bubble, Selection, Insertion, Merge)
  12. Popular Searching Algorithms (Sequential, Binary)

Grades Policy:

Your grades will be computed based in the following

  • Participation & Challenge Activities From Textbook: 10%
  • Homework Problems: 15%
  • Projects: 15%
  • Midterm: 30%
  • Final Exam: 30%

Academic Integrity and Plagiarism Policy

You are encouraged to work together on the overall design of the programs and homework. However, for specific programs and homework assignments, all work must be your own. You are responsible for knowing and following Lehman's academic integrity code (available from the Undergraduate Bulletin, Graduate Bulletin, Office of Academic Standards and Evaluations, or the Smart Catalog).

Statement may be found in student handbook. For more information, refer to http://www.lehman.cuny.edu/student-affairs/documents/student-handbook-02.pdf

Note: All incidents of cheating will be reported to the Vice President of Student Affairs

Computer Access:

Part of this course will use university computer laboratories. These machines are for work related to this course only and a code of conduct applies to computer use in the department and on-campus. Misusing university computers could result in losing your computer access for the rest of the term, making it exceedingly difficult to complete this course.

Accommodating Disabilities:

Lehman College is committed to providing access to all programs and curricula to all students. Students with disabilities who may need classroom accommodations are encouraged to register with the Office of Student Disability Services. For more info, please contact the Office of Student Disability Services, Shuster Hall, Room 238, phone number, 718-960-8441.


Tentative Schedule:

Week Day Date Topic URL for class P&C Due Dates HW
1107/15/2019Introduction, Syllabus, Ch2 - Variables, Ch3 - Decision Branching Chapter Materials
1207/16/2019Ch4 - Loops, Ch5 - Arrays Chapter Materials P&C Activity 1 Due 7/16
1307/17/2019Ch7 - Objects and Classes Chapter Materials HW 1 Due 7/17
1407/18/2019Ch8 - Inheritance Chapter Materials HW 1 Due 7/20
2507/22/2019Ch9 - Abstract Class and Interfaces P&C Activity 2 Due 7/22
2607/23/2019Ch10 - Exceptions, Project 1 is Due Project Presentations
2707/24/2019Ch11 - Recursion, Exam 1 Review
2807/25/2019Exam 1
3907/29/2019Recursion,
31007/30/2019Multi-Dimension Arrays
31107/31/2019Ch12 - GUI
31208/01/2019Ch12 - GUI
41308/05/2019Ch13 - File Input/Output
41408/06/2019Project 2 is Due, Ch13 - File Input/Output
41508/07/2019Ch14 - Searching and Sorting, and Exam Review
41608/08/2019Final Exam