Cape Breton University

 

INTRO TO COMPUTER APPS WITH C++

 

Math 189, Winter 2011 Course Outline

 

Instructor: Dr. George Chen

Office: A129 G

Phone: 563-1825

Email: george_chen@cbu.ca

Webpage: http://courseware.cbu.ca/moodle (homework and solutions)

 

Textbook: Class notes + three reference books (reserved in library)

1.      Introduction to Programming with C++, Y. Daniel Liang

2.      Absolute C++, Walter Savitch

3.      Starting Out with C++, Tony Gaddis

 

Major topics include:

  1. Review and Addendum

Top-down design, recursive algorithms, and two dimensional arrays.

  1. Pointers and Strings

Pointers arithmetic and arrays, passing an array using a pointer, dynamic arrays, strings (concepts & declaration), pointer arithmetic and string operations, string I/O, string manipulation functions in <cstring>, array of strings.

  1. Structures, Classes, and Data Abstraction

User-defined abstract types, structures, classes and objects, class members and access control, information hiding, constructors, destructors, const, friend, static members, the this pointer.

  1. Operator Overloading and Inheritance

Method overloading and overriding, basic class and derived class, protected members, using member functions.

5.      Linked Lists

Concept of a simple linked list, basic operations: find, traversing, addition and deletion.

  1. Selected chapters and topics from the reference books.

 

Marking Scheme:

               Labs                         15%

               Quiz                           5%

               Assignments             15%

               Midterm                   20%

               Final                         45%

Remark:

  1. Presenting somebody else’s program or any program code as your own will be considered plagiarism.
  2. Your class attendance may affect your final grade.