Instructor:David Hovemeyer
Office:KEC 113
Office Hours:MWF 2-3, T/Th 11-12
Class Location:KEC 123
Class Times:W/F 10:00-11:40 (Section 101), W/F 12:00-1:40 (Section 102)

CS 201 - Fundamentals of Computer Science II

Fall 2012

Updated 9/26 - schedule revised

Course Description

This course introduces advanced object-oriented constructs such as abstraction, virtual methods, and generic classes. Advanced data structures including arrays, linked lists, queues, stacks, trees, heaps, and hash tables will be discussed both natively as well as through standard template libraries. Fundamental sorting and searching algorithms will be introduced. Basic analytical and proof techniques will be used to characterize the data structures and algorithms discussed. The course will focus on implementing applications from computer science and engineering using languages such as C++/C#/Java.


CS 101 with a grade of 2 or better

Course Structure and Expectations

Class meetings will be a mix of lecture/discussion and in-class lab exercises designed to illustrate the concepts we are covering. A series of programming projects in the Java programming language will be assigned at approximately 1-2 week intervals, to be completed individually. Written homework assignments may be assigned.

We will use the Eclipse IDE for labs and programming assignments in Java. This is available for free from (You will also need the Java Development Kit (JDK) available from

In-class quizzes will be given frequently, typically at the beginning of class. Up to two missed quizzes will be forgiven. Quizzes may not be made up.

There will be two midterm exams given in class, dates/times to be announced. A scheduled final exam will be given (see the Final Exam Schedule).

We will be covering a significant amount of material in the course, and it is very important that you keep up. If you have any questions, please ask me in class, office hours, or through email. I'm here to help!

Learning Outcomes

By the end of this course, you will be able to:

  • Use an object-oriented programming language effectively
  • Understand and use abstract data types such as lists, stacks, queues, maps, and sets
  • Understand and use fundamental data structures such as arrays, linked lists, trees, and hash tables
  • Implement basic array- and list-based data structures
  • Understand and implement fundamental algorithms such as searching and sorting
  • Use big-O analysis to determine the asymptotic complexity of algorithms
  • Understand and use recursion
  • Solve recurrences
  • Use proof by induction



Grades are assigned on a 100-point scale:

Numeric Range Letter Grade
90-100 A (4.0)
85-90 B+ (3.5)
80-85 B (3.0)
75-80 C+ (2.5)
70-75 C (2.0)
60-70 D (1.0)
0-60 F (0.0)

Your overall grade for the course will be determined as follows:

  • Homework and programming assignments: 30%
  • Midterm exams: 40% (20% each)
  • Final exam: 20%
  • Quizzes and attendance/participation: 10%

Course website

Please check the course web page,, regularly for important announcements.

Reading Assignments

Reading assignments are posted in the Schedule at the end of this syllabus. I expect you to do the reading before class. When I give a lecture, I will assume you have done the reading. I encourage you to use class time to ask questions about parts of the reading you did not understand to your satisfaction.

Homework assignments

You must make a legitimate attempt to complete every homework assignment. I reserve the right to fail any student who does not make a good faith effort to complete all of the homework assignments.

Posting and submission of assignments and labs

Assignments and labs will be posted as zip files on the course web page,

Assignments will be submitted using the server You will receive an email containing the username and password you should use for this server.

Academic Integrity

The following policy pertains to homework and graded (individual) programming assignments:

All homework assignments and graded (individual) programming assignments are to be completed individually. I encourage you to discuss high level concepts with other students, but any work you submit must be yours alone.

Direct copying of code or other work from other students, web sites, or other sources is absolutely forbidden under any circumstances.

Any sources (books, websites, articles, fellow students, etc.) that you consult in completing an assignment must be properly acknowledged. In general, I strongly discourage you from using any resource not explicitly listed in the course syllabus or on the course web page. When you work on a programming assignment, it must be your program, not your adaptation of someone else's program.

Quizzes and exams must be completed individually.

Lab assignments are not graded---therefore, you may work with other students on them. However, I do expect you to complete and submit them. Failure to complete lab assignments may affect your attendance and participation grade.

Any violation of the course's academic integrity policy will be referred to the Dean of Academic Affairs, and could have consequences ranging from a 0 on an assignment to dismissal from the college.

Late Assignments

Late assignments will be marked down 10% per day late. No credit will be given for assignments that are more than three (3) days late.


No make-up exams will be given without approval of the instructor prior to class unless proof of extreme emergency or illness is provided. All exams will be open book and open notes.

Attendance and Participation

I expect you to attend class and participate regularly in class activities. If you miss a class, please notify me in advance. You are responsible for all material covered in class, regardless of whether or not you were present. If you attend and participate in class regularly, you can expect to receive full credit for attendance and participation. Frequent absence and/or lack of participation will reduce the credit you receive for attendance and participation. You are responsible for keeping up with the reading assignments as described in the schedule below.


I expect you to conduct yourself as a professional in this course. Professionalism includes:

  • Respect for and courteous interaction with peers, faculty and facilities;
  • Integrity, which includes at its core honesty, responsibility and accountability for one’s own actions;
  • Sensitivity and appreciation for diverse cultures, backgrounds, and life experiences;
  • Constructive evaluation, which means that criticism is offered and accepted in a productive manner;
  • Self-reflection and identification of one’s own strengths and weaknesses;
  • Responsibility for one’s own education and learning;
  • An attitude that fosters professional behavior in colleagues and peers;
  • Punctuality at meetings and class sessions;
  • Attentive behavior during class sessions, avoiding personal or social use of cell phones, laptops, or other electronic devices;
  • Acknowledgement of the Kinsley Engineering Center as a professional workplace, and treatment of this facility as a business or office space, not as an informal space.

I reserve the right to enforce this code through the York College Code of Student Conduct.

Use of Personal Technology in the Classroom

While York College recognizes students’ need for educational and emergency-related technological devices such as laptops, PDA’s, cellular phones, etc., using them unethically or recreationally during class time is never appropriate. The college recognizes and supports faculty members’ authority to regulate in their classrooms student use of all electronic devices.

Communication Standards

York College recognizes the importance of effective communication in all disciplines and careers. Therefore, students are expected to competently analyze, synthesize, organize, and articulate course material in papers, examinations and presentations. In addition, students should know and use communication skills current to their field of study, recognize the need for revision as part of their writing process, and employ standard conventions of English usage in both writing and speaking. Students may be asked to further revise assignments that do not demonstrate effective use of these communication skills.


This schedule may be subject to minor changes. Any changes will be announced in class and also be posted on the course web page.

Week Note Topic Reading
Week 1: Aug 27-Aug 31   Basic Java 1.1-1.6
Objects, References, Arrays 2.1-2.3, 3.1-3.9
Week 2: Sep 3-Sep 7   Arrays 2.4
I/O, Exceptions 2.5-2.6
Week 3: Sep 10-Sep 14   Exceptions 2.5
GUIs, Growing an Array Lecture6Notes
Week 4: Sep 17-Sep 21   Inheritance 4.1-4.2
Interfaces 4.3-4.4
Week 5: Sep 24-Sep 28   Type casts, instanceof, Object class Lecture9Notes
Collections, Genericity 4.5-4.7
Week 6: Oct 1-Oct 5   Exam 1
Generic Methods, Functors 4.8
Week 7: Oct 8-Oct 12   Analysis of Algorithms 5.1-5.3
Big-O 5.4-5.8
Week 8: Oct 15-Oct 19   Collections, Iterators 6.1-6.3
Generic Algorithms 6.4
Week 9: Oct 22-Oct 26   Lists 6.5
Parallel Programming with Threads Lecture17Notes
Week 10: Oct 29-Nov 2   Stacks and Queues 6.6
Work day
Week 11: Nov 5-Nov 9   Sets and Maps 6.7-6.8
Recursion 7.1, 7.3
Week 12: Nov 12-Nov 16   Recursion, cont'd  
Exam 2
Week 13: Nov 19-Nov 23 Thanksgiving vacation, no class
Week 14: Nov 26-Nov 30   Proof by Induction 7.2
Dynamic Programming 7.6
Week 15: Dec 3-Dec 7   Insertion, Merge, and Quick Sort 8.1-8.3, 8.5-8.6
Singly and Doubly-linked lists 17.1-17.3
Week 16: Dec 12-Dec 14 No class