OOP244 Course Outline

Course Code: OOP244
Course Name: Introduction To Object Oriented Programming Using C++
Offered Date: Summer - 2014 | Other versions
Course Homepage | Print Outline
Course Description:
This subject introduces students to object oriented programming concepts. Students will learn to build reusable objects, making use of encapsulation, polymorphism and inheritance in the C++ programming language. Throughout the subject, the emphasis will be on using object oriented approaches to solving problems.
Credit Status: 1 credit in the CPA/CPD Programs.
Prerequisite: IPC144
Mode of Instruction: 2 hours interactive lecture per week.
2 hours activity-based learning per week.
Learning Outcomes:

  • Create, compile, execute and test a modular program using C++11
  • Define and code related classes to implement a design specification
  • Augment a class definition using member functions, helper functions and custom input/output operators
  • Manage a class' resources using dynamic memory allocation and deallocation
  • Read from and write to files using objects from the standard input output library and custom file operators
  • Build a class hierarchy
  • Demonstrate how encapsulation, inheritance and polymorphism are implemented in C++, using constructors, class hierarchies, coercion, overloading, virtual functions and function templates
  • Walk-through the execution of a C++ program
Topic Outline:

  • Introduction - 5%
    • Complexity, Languages, Namespaces
    • Object Terminology
      • Objects and Classes
      • Encapsulation
      • Inheritance
      • Polymorphism
    • Modular Programming
      • Stages of Compilation
      • Unit Tests
  • Foundations - 20%
    • Basic Concepts
      • Declarations and Definitions
      • Scope
      • Prototypes and Overloading
      • References
    • Member Functions and Privacy
      • Member Functions
      • Privacy
      • Inlining
    • Input and Output Examples
      • Output Objects
      • Input Objects
      • State
    • Dynamic Memory
      • Allocation and Deallocation - new and delete
      • Memory Issues
  • Encapsulation - 30%
    • Classes
      • Constructors and Destructors
      • Overloading Constructors
    • The Current Object
      • this
    • Classes with Resources
      • Copy Constructor
      • Assignment Operator
    • Member Operators
      • Unary Operations
      • Binary Operations
    • Helper Functions
      • Independent Helpers (non-friends)
      • Helper Operators
      • Friendship
    • Custom I/O Operators
    • Custom File Operators
  • Inheritance - 15%
    • Derived Classes
      • Hierarchies
      • Base and Derived syntax
      • Access - public, protected, private
    • Functions in a Hierarchy
      • Shadowing
      • Constructors and Destructors
  • Polymorphism - 25%
    • Overview of Polymorphism
      • Types
      • Categories - coercion, overloading, inclusion, parametric
    • Virtual Functions
      • Bindings - early, late
      • Polymorphic Objects
    • Abstract Base Classes
      • Pure Virtual Functions
      • Unit Tests on an Interface
    • Function Templates
  • Language Standards - 5%
    • The ISO/IEC Standard 14882:2011
      • History - pre-standard C++, C++98, C++11
      • Type Safety - deprecated casts, pre-standard libraries
      • Differences between C++ and C
      • Legacy Code Issues
Prescribed Text(s):
Prescribed text(s):
  • Introduction to Object-Oriented Programming Using C++11, Chris M. Szalwinski, Seneca College, November 2013 Edition.
  • Object-Oriented Programming using C++, Chris M. Szalwinski, https://scs.senecac.on.ca/~oop244
Reference Material:
  • OOP244 Web Site
Supply:
None
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
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)
OR
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online (http://www.senecacollege.ca/academic-policy) or at Seneca's Registrar's Offices.


Evaluation:
Evaluation:
Assignments 25%
Workshops (minimum of 10) 20%
Quizzes (minimum of 2) 5%
Tests 20%
Final Exam 30%
Approved By:
Mary-Lynn Manton
Cheating and Plagiarism:
Each student should be aware of the College's policy regarding Cheating and Plagiarism. Seneca's Academic Policy will be strictly enforced.

To support academic honesty at Seneca College, all work submitted by students may be reviewed for authenticity and originality, utilizing software tools and third party services. Please visit the Academic Honesty site on http://library.senecacollege.ca for further information regarding cheating and plagiarism policies and procedures.
Discrimination and Harassment:
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.
Accomodation 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 Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.