CS371p: Object-Oriented Programming

Fall 2015: 50885 & 50890

This is a course on object-oriented programming comparing C++ to Java. It is also strongly focused on using tools to improve the quality of software development, including source control with git and GitHub, unit testing with Google Test, coverage with gcov, continuos integration with Travis CI, and documentation with Doxygen.

Estimates of the required effort to do well are:

  • 3 hours per week of studying
  • 21 hours per week of programming
  • 7,000 lines of code


Unique Days Time Place
50885 MWF 10am CLA 0.128
50890 1pm CLA 0.112


Type Name Days Time Place
Lecturer Glenn Downing
MF 12-12:45pm GDC 6.308
F 2-2:45pm
TAs Albert Chen
Th 10-11am GDC 1.302
Xiangru Huang
T 10-11am
Proctors Hongbing Cai
Th 4-5pm
Thanh Nguyen
WTh 11-12pm

Getting Started

  1. Get a GitHub education account as soon as possible. It must be an education account, which will entitle you to private repos. It can take several days to get this, and you must have it before you can turn in any projects.
  2. Sign into Canvas and confirm that you're registered for the course and can see your grades. It's imperative that you check your grades on a regular basis.
  3. Sign into Piazza. The assistants and I will not respond to e-mail, unless it's of a personal nature. All questions must be asked on Piazza.
  4. Sign into Top Hat. Attendance and quizzes will be managed by Top Hat. It costs either $24/term or $36/year.
  5. Get g++ 4.8 (c++ 11) installed on your machine. The CS network has:
    % g++ --version
    g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
  6. Get gcov installed on your machine. The CS network has:
    % gcov --version
    gcov (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
  7. Get gprof installed on your machine. The CS network has:
    % gprof --version
    GNU gprof (GNU Binutils for Ubuntu) 2.24
  8. Get git installed on your machine. The CS network has:
    % git --version
    git version 2.5.0
  9. Get doxygen installed on your machine. The CS network has:
     % doxygen --version
  10. Get Google Test installed on your machine. The CS network has:
    % dpkg -l libgtest-dev
    ||/ Name                        Version            Architecture       Description
    ii  libgtest-dev:amd64          1.7.0-3utcs~2      amd64              Google's framework for writing C++ tests - header files
  11. Get the required book:


The following coursework with a grade of at least C- in each: Computer Science 311, 311H, 313H, or 313K; Computer Science 307, 314, 314H, 315, or 315H; Computer Science 310, 310H, 429, or 429H; and Mathematics 408C, 408K, or 408N.

Special Needs

Any student with a documented disability who requires academic accommodations should contact Services for Students with Disabilities at 471-6259 (voice) or 1-866-329-3986 (Video Phone) as soon as possible to request an official letter outlining authorized accommodations.

You must provide this letter to me by the 12th class day. Project deadlines will not be extended for special-needs students.


To be eligible for an incomplete you must have a letter grade of C or better and a written, verifiable excuse for missing the last test. This is a necessary but insufficient condition for receiving an incomplete.

Academic Integrity

Students who violate University rules on academic dishonesty are subject to disciplinary penalties, including the possibility of failure in the course and/or dismissal from the University. Since such dishonesty harms the individual, all students, and the integrity of the University, policies on academic dishonesty will be strictly enforced. For further information please visit the Student Judicial Services Web site: Student Judicial Services.

Programming assignments will be compared using Moss. You may share design ideas with your fellow students. You may not share code in any way with your fellow students.

The penalty for academic dishonesty will be a course grade of F and a referral of the case to the Dean of Students. Further penalties, including suspension or expulsion from the university may be imposed by that office.