OOP244 - Introduction to Object Oriented Programming

Outline info
Last revision date Apr 8, 2019 11:17:41 AM
Last review date Apr 8, 2019 11:18:33 AM

Subject Title
Introduction to Object Oriented Programming

Subject Description

This subject introduces the student to object-oriented programming. The student learns to build reusable objects, encapsulate data and logic within a class, inherit one class from another and implement polymorphism.  This subject uses the C++ programming language exclusively and establishes a foundation for learning system analysis and design and more advanced concepts as implemented in languages such as C++, Java, C# and Objective-C.

Credit Status
1 credit (3 units)
Required for CPA - Computer Programming and Analysis (Ontario College Advanced Diploma)
Required for CPD - Computer Programmer (Ontario College Diploma)

Learning Outcomes
Upon successful completion of this subject the student will be able to:

  1. Design classes with dynamically allocated resources to model the components of a programming solution
  2. Design member functions using logic constructs to solve tasks of linear complexity
  3. Relate classes using inheritance hierarchies to minimize the duplication of object code
  4. Design polymorphic objects to amplify the reusability of program code
  5. Use stream objects to interact with users and access persistent data
  6. Trace the execution of object-oriented code to validate its correctness
  7. Code a complete program using polymorphic objects to solve a systems or business problem
  8. Explain the purpose of an object-oriented programming feature to inform a business person

Essential Employability Skills
Execute mathematical operations accurately.

Apply a systematic approach to solve problems.

Use a variety of thinking skills to anticipate and solve problems.

Locate, select, organize, and document information using appropriate technology and information systems.

Analyze, evaluate, and apply relevant information from a variety of sources.

Take responsibility for one's own actions, decisions, and consequences.

Academic Integrity
Seneca upholds a learning community that values academic integrity, honesty, fairness, trust, respect, responsibility and courage. These values enhance Seneca's commitment to deliver high-quality education and teaching excellence, while supporting a positive learning environment. Ensure that you are aware of Seneca's Academic Integrity Policy which can be found at: http://www.senecacollege.ca/about/policies/academic-integrity-policy.html Review section 2 of the policy for details regarding approaches to supporting integrity. Section 2.3 and Appendix B of the policy describe various sanctions that can be applied, if there is suspected academic misconduct (e.g., contract cheating, cheating, falsification, impersonation or plagiarism).

Please visit the Academic Integrity website http://open2.senecac.on.ca/sites/academic-integrity/for-students to understand and learn more about how to prepare and submit work so that it supports academic integrity, and to avoid academic misconduct.

All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment. Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated. Information and assistance are available from the Student Conduct Office at student.conduct@senecacollege.ca.

Accommodation for Students with Disabilities
The College will provide reasonable accommodation to students with disabilities in order to promote academic success. If you require accommodation, contact the Counselling and Accessibility Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.


Topic Outline

  • Introduction - 5%
    • Complexity, Languages, Namespaces
    • Object Terminology
      • Abstraction, Objects and Classes
      • Encapsulation, Inheritance and Polymorphism
    • Modular Programming
      • Modules
      • Stages of Compilation
      • Unit Tests
      • Debugging Techniques
  • Foundations - 20%
    • Types, Overloaing and References
      • Declarations and Definitions
      • Scope
      • Function Overloading
      • References
      • Arrays of Pointers
    • Dynamic Memory
      • Allocation and Deallocation - new and delete
      • Memory Issues
    • Member Functions and Privacy
      • Member Functions
      • Privacy
    • Simple Input and Output Examples
      • Standard Input and Output
      • Member Functions
  • Encapsulation - 30%
    • Constructors and Destructors
      • Classes and Privacy
      • Construction and Destruction of Arrays
      • Overloading Constructors
    • The Current Object
      • Member Function Parameters
      • this
    • Member Operators
      • Operations - unary and binary
      • Type Conversion Operations
      • Casting Operations
      • Temporary Objects
    • Classes and Resources
      • Resource Instance Pointers
      • Copy Constructor
      • Assignment Operator
      • Member Function Delet
    • Helper Functions
      • Free Helpers (non-friends)
      • Helper Operators
      • Friendship
    • Input and Output Operators
      • Stream Library Overview
      • Custom Standard Operators
      • Custom File Operators
      • string class
  • Inheritance - 10%
    • Derived Classes
      • Hierarchies
      • Base and Derived classes
      • Access - public, protected, private
    • Functions in a Hierarchy
      • Shadowing
      • Constructors and Destructors
      • Helper Operators
  • Polymorphism - 20%
    • Virtual Functions
      • Types
      • Early Binding and Dynamic Dispatch
      • Polymorphic Objects
    • Abstract Base Classes
      • Pure Virtual Functions
      • Arrays of Pointers
      • Unit Tests on an Interface
    • Templates
      • Function Templates
      • Class Templates
      • Constrained Casts
    • Overview of Polymorphism
      • Languages and Type Systems
      • Categories - coercion, overloading, inclusion, parametric
  • Refinements - 10%
    • Simple Input and Output Examples
      • Input Objects
      • Output Objects
      • Manipulators
      • State
      • Robust Validation
      • File Stream Classes
    • Derived Classes and Resources
      • Copy Constructor
      • Copy Assignment Operator
    • Language Standards
      • History - pre-standard C++, C++98, C++11, C++14
      • Some Features that have changed
      • Differences between C++ and C

Mode of Instruction
Modes: In-class lecture, in-class exercises, and hands-on activity
Hours per week: 4
Room configurations: Classroom, and computer lab
Typical scheduling pattern: Fall, Winter, and summer terms

Prescribed Texts

Hard Copy |  Introduction to Object-Oriented Programming Using C++14, July 2016 Edition
by Chris M. Szalwinski
published by Seneca College
Available in the bookstore

Online |  Introduction to Object-Oriented Programming Using C++14


by Chris M. Szalwinski

Reference Material
OOP244 Web Notes by Chris Szalwinski

Required Supplies

Student Progression and Promotion Policy
To obtain a credit in this subject, a student must:

  •     Achieve a grade of 50% or better on the final exam
  •     Satisfactorily complete all assignments
  •     Achieve a weighted average of 50% or better for the tests and final exam
  •     Achieve a grade of 50% or better on the overall course


Grading Policy http://www.senecacollege.ca/about/policies/grading-policy.html

A+ 90%  to  100%
A 80%  to  89%
B+ 75%  to  79%
B 70%  to  74%
C+ 65%  to  69%
C 60%  to  64%
D+ 55%  to  59%
D 50%  to  54%
F 0%    to  49% (Not a Pass)
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online (http://www.senecacollege.ca/about/policies/academics-and-student-services.html) or at Seneca's Registrar's Offices (http://www.senecacollege.ca/registrar/gpacalulator.html.

Modes of Evaluation

Workshops (minimum 8) - 30%

Final Project - 20%

Quizzes (minimum 8) - 15%

Test(s) - 20%

Final Exam - 15%

Approved by: Suzanne Abraham