CST 138 - Structured Programming in C++ for Engineers
Students will demonstrate a knowledge of C++ by writing programs to solve engineering problems such as: statistics, Monte Carlo method, best fit straight line, heat flow, center of mass, complex numbers, matrices, and electrical circuits.
The course will illustrate the basics of C++ including: structures, recursion, pointers, dynamic memory allocation, linked lists, OOP, classes, overloading, encapsulation and polymorphism, inheritance, and composition.
Prior or Concurrent: CST 127 Introduction to C++ for Engineers
2 Class Hours, 2 Laboratory Hours
Learning Outcomes of the Course:
Upon successful completion of this course the student will be able to:
1. Demonstrate a working knowledge of the following C++ topics by successfully writing programs to solve engineering-based problems such as:
- basics of C programming, data types, functions, files
- scope, duration, recursion, scope resolution operator
- passing functions, storage class modifiers
- pointers, dynamic memory allocation, linked lists
- enumeration, structures
- OOP, classes
- overloading functions and operators
- encapsulation and polymorphism
- inheritance, composition
- friends, virtual functions
- class templates
2. Expain the concepts, components and philosophy of Object Oriented Programming, OOP.
3. Explain the benefits of using OOP in classes.
4. Explain what a pointer is, and how it is used in a program.
5. Explain the advantages and disadvantages of a linked list.
6. Create a linked list using C++.
7. Solve various engineering problems using mathematical techniques such as: statistics, Monte Carlo method, best fit straight line, heat flow, center of mass, complex numbers, matrices, determinates, electrical circuits.
[Add to Portfolio]