MEC 510: Object-Oriented Programming

Course Description

Practical introduction to C++ and object-oriented programming for a first programming course for scientists and engineers. Covers basics of application software development such as problem decomposition, structure charts, object modeling, class diagrams, incremental code building, and testing at a beginner’s level. Features the concepts of Abstract Data Types (ADT), encapsulation, inheritance, composition, polymorphism, operator and function overloading besides studying Unified Modeling Language (UML) as a graphical representational design technique. The course follows the evolution of programming ideas from the use of a single function to the use of structural charts and functions to modularize and finally to the use of object-oriented programming.

Course Syllabus

Syllabus

Course Topics

  • Chapter 1 - Introduction, Input-Output, if, Operators
  • Chapter 2 - Introduction to Classes
  • Chapter 3 - if…else, double, Type Conversion, Operators
  • Chapter 4 - while, for, do...while, switch
  • Chapter 5 - Functions and Recursion
  • Chapter 6 - References and Pointers
  • Chapter 7 - Class Templates array and vector
  • Chapter 8 - namespace, enum, struct, Class Templates
  • Chapter 9 - Classes, Operator Overloading
  • Chapter 10 - Inheritance & Virtual Functions
  • Chapter 11 - Multi Threading