CS371p: Object-Oriented Programming

Spring 2016: 51210

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
51210 MWF 11-11:50am JGB 2.218


Type Name Days Time Place
Lecturer Glenn Downing MF 12-12:45pm GDC 6.308
F 2-2:45pm
TAs Albert Chen F 10-11am GDC 1.310
Proctors Ellen Wiberg M 1-2pm

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. Post class questions to Piazza. Regarding a question of a personal nature e-mail us on Canvas.
  4. 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
  5. Get gcov installed on your machine. The CS network has:
    % gcov --version
    gcov (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
  6. Get gprof installed on your machine. The CS network has:
    % gprof --version
    GNU gprof (GNU Binutils for Ubuntu) 2.24
  7. Get git installed on your machine. The CS network has:
    % git --version
    git version 2.7.0
  8. Get doxygen installed on your machine. The CS network has:
     % doxygen --version
  9. 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
  10. Get the required book:


Computer Science 429 (or 310) or 429H (or 310H) with a grade of at least C-.

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.