CMPT 166 Spring 2009 Syllabus


Dr. Sean Ho
(604) 513-2121 x3209
Class location:
MWF 14:35 - 15:50 Neu21


This is a course in the elements of programming with one or more object oriented programming languages. Students will be introduced to the general concepts of object oriented programming and will learn one object oriented language in sufficient detail to be able to produce substantial programs.


The objective of the course is to make students familiar with the main concepts of OOP. The programming language C++, which incorporates the principles of OOP, will be used almost exclusively. After taking this course students should be able to write substantial programs in C++ and other OOP languages.


CMPT 140 (145 preferred) or an equivalent course or working experience using a procedural language such as Pascal, Modula-2, Oberon, Python, C, or Java.

Required Text

This semester we will be using the online textbook, Bruce Eckel's "Thinking in C++" (2nd ed., vols 1 and 2, Prentice Hall, ISBN 0139798099 and 0130353132, 2000 and 2003.)


We will be using Microsoft's Visual C++ 2008 compiler, within the Visual Studio 2008 development environment. This is installed on the senior lab PCs. You may also use your own computer, as long as you have a compatible compiler. (I will need to be able to recompile and run your programs.)


Letter grade assignment follows the TWU percentage to grade equivalents except that >=85% and <95% is an A; 95% and above is an A+.
Labs (5-6) 40% Approx. every other week
Quizzes (5-6)15% 10min in-class pop quizzes
Midterm 15% Wed 18 Feb
Final Exam 30% Sat 20 Apr 9-11am


  1. All labs must be completed -- if you do not turn in something for each lab, you will automatically fail the course.
  2. The good news is the late policy is fairly lenient: penalty of 5% per calendar day, up to a week late. More than a week late is 50% penalty. More than two weeks late and it will not be accepted unless there are extenuating circumstances. We will use the timestamp on myCourses. It is your responsibility to make sure all parts of your lab are uploaded to the right place in myCourses by the deadline.
  3. If you turn in your lab on-time, you can expect to have your lab marked within a week. If you turn in your lab late, you forfeit the privilege of getting prompt feedback.
  4. During in-class quizzes/exams, all of the following are not permitted and should be left in your closed/zipped bag and put on the floor:
    • Textbooks, notes, cell phones (turn off), laptops, PDAs, electronic dictionaries, calculators.
    Scratch paper will be provided. Your desk should be clear except for your pencil/pen.
  5. In case of inclement weather, call (604) 513-2147 or see for official campus conditions.
  6. As Christian scholars pursuing higher education, we value academic integrity as a core value of the entire TWU community. Students are invited into this scholarly culture and required to abide by the principles of sound academic scholarship at TWU. This includes, but is not limited to, avoiding all forms of plagiarism and cheating in scholarly work. TWU has a strict policy on plagiarism (see academic calendar 2008-09, pp. 37-38). Learning what constitutes plagiarism and avoiding it is the student's responsibility. An excellent resource describing plagiarism and how to avoid it has been prepared by TWU Librarian William Badke and is freely available for download (PPT file) or used as flash (14 minute) (8 minute) tutorials of varying length.