OOP345 - Object-Oriented Software Development Using C++

Outline info
Semester
School
Last revision date 2017-05-29 00:33:02.093
Last review date 2017-07-17 00:15:51.696


Subject Title
Object-Oriented Software Development Using C++

Subject Description

This subject expands the student's skill-set in object-oriented programming and introduces the student to threaded programming.  The student learns to model relationships between classes using containers, inheritance hierarchies and polymorphism in the C++ programming language and to write C++ programs that execute on multiple threads.

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 collections of model objects using sequential containers and multi-dimensional arrays to solve a systems or business problem
  2. Create function objects and closures to customize a programming solution for a particular application
  3. Model generalization and specialization using inheritance hierarchies to minimize the duplication of code
  4. Model polymorphic behavior using interfaces, virtual functions and templates (generics) to amplify the reusability of code
  5. Implement design components using algorithms of the standard template library to utilize existing technologies
  6. Create program components of quadratic complexity to solve non-linear problems
  7. Design program components using raw pointers and pointer arithmetic to access data in program memory
  8. Design multi-tasked solutions using threading libraries to improve the performance of a program
  9. Design file stream objects to backup text and binary data for future restoration

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.

Interact with others in groups or teams in ways that contribute to effective working relationships and the achievement of goals.

Manage the use of time and other resources to complete projects.

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/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.

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 Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.

Prerequisite(s)
OOP244 or C++ Programming experience.  

Topic Outline
Review of C and C++ basics (25%)

  • data types, variables and constants
  • logic structures
  • functions and parameter passing
  • arrays
  • structures and classes
  • derived classes
  • studio, string and iostream library routines
  • effective use of the available programming environments 
Additional C syntax (10%)
  • macros (#define)
  • variable declaration modifiers: extern, static, register, volatile, const
  • unions and enums
  • typedef
  • conditional compilation (#if, #ifdef, etc.)
  • multi-dimensional arrays
  • pointers and functions
Additional C++ syntax (30%)
  • inline functions
  • default parameters
  • template functions
  • template classes
  • virtual base classes
  • reference return values
  • “this” pointer
  • bool
  • scope and scope resolution
  • namespaces
  • exception handling: try, throw, catch
  • overview of STL
Programming techniques (25%)
  • sequential and direct file access using fstream, and related, library routines
  • dynamically sized objects such as linked list
  • terminal control using UNIX courses library routines, and similar routines for PCs
  • elements of good object design
    • protection of data
    • access to necessary functionality
    • hiding of unnecessary detail
Related Topics (10%)
  • file stream objects
    • class hierachy (ios, wios)
    • file objects (connections, direct access, reading, writing)
    • binary access (input, output)
  • string class
  • platform-dependent input and output
  • comparison of C++11 and C11 syntax
  • break, continue, goto
  • C++14 and C++17

Mode of Instruction
Classroom lectures and discussions are reinforced by assigned readings and assignments between classes and lab sessions. This course is also offered online. Distant learning students please refer to addendum.
It is the student's responsibility to save documents, articles and notes that the instructor has provided on BlackBoard or in class. Students will not be able to access BlackBoard as of the last day of the student’s class.

Prescribed Texts
C++ How to Program 8th edition
by Deitel & Deitel
Prentice Hall, ISBN# 9780132662369

Reference Material
Intermediate C++
June 2011 Edition
Chris M. Szalwinski

Promotion Policy

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.


Modes of Evaluation
Since this is a professional credit subject, marking standards reinforce professional practice by demanding legible, tidy work. Written materials should be well organized and grammatically correct, with proper spelling and punctuation.

Assignments

  • Students must retain a duplicate of all assignments.
  • Computer assignments should be documented to the instructor's standards.
  • Assignments must be handed in on the scheduled due date. Late assignments are penalized.
  • For particulars, please obtain standards, dates, etc. from your instructor.

Absenteeism and Tests
  • Students should be aware that absenteeism will impact on their ability to achieve satisfactory grades.
  • If you miss a test, you must provide the reason in writing to the instructor prior to the next scheduled class. If your reason is accepted, you will be permitted to write a make-up test. Otherwise, you will be given a zero for the test. You must submit an original doctor’s certificate identifying the date, length of time of expected absence and the specific reason for your absence, or other appropriate documentation.
Term Work and Final Exam
  • Students must attain a combined grade of at least 50% on term work and the final exam. Students must pass the final exam in order to pass the subject.
  • For further information on evaluation and academic standing, see a copy of the Academic Policy available at Seneca registration offices.
Grading is based on the following marking scheme:

Tests and Quizzes (minimum 2) 40%
Assignments (minimum 2) 30%
Final Examination 30%

Approved by: Denis Gravelle