OOP244 Course Outline

Course Code: OOP244
Course Name: Introduction To Object Oriented Programming Using C++
Offered Date: Summer - 2015 | Other versions
The current-semester outline is shown here.
To view outlines from other semesters, click the 'Other Versions' link.
Course Homepage | Print Outline
Course 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 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++
  • create model objects to implement a design specification
  • augment a class definition using constructors, destructors, member functions, helper functions and custom input/output operators to add functionality to a programming solution
  • manage an object's resources using dynamic memory allocation and deallocation to access data stored outside the object's memory
  • read from and write to files using objects from the standard input output library and custom file operators for future restoration
  • model specialization using single inheritance and abstract base classes to minimize code duplication
  • model polymorphic behavior using coercion, overloading, virtual functions and function templates to amplify reusability of code
  • trace the execution of program code to debug an application
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
    • Derived Classes with a Resource
  • Polymorphism - 25%
    • Overview of Polymorphism
      • Types
      • Categories - coercion, overloading, inclusion, parametric
    • Virtual Functions
      • Bindings - early, late
      • Polymorphic Objects
    • Abstract Base Classes
      • Pure Virtual Functions
      • Arrays of Pointers
      • 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 - casts, pre-standard libraries
      • Differences between C++ and C
      • Legacy Code Issues
Prescribed Text(s):
  • Introduction to Object-Oriented Programming Using C++11, Chris M. Szalwinski, Seneca College, April 2015 Edition.
  • Object-Oriented Programming using C++, Chris M. Szalwinski, https://scs.senecac.on.ca/~oop244
Reference Material:

  • OOP244 Web Notes by Chris Szalwinski https://scs.senecac.on.ca/~oop244
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:

 

Final Project 20%
Workshops 30%
Quizzes 15%
Test(s) 25%
Final Exam 10%

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.