Introduction

Aims

To enable students to:

  1. create, document and use user-defined classes

  2. read a data file into memory and print it

  3. input records at the keyboard, update and write the file back to disk

  4. code and document a system from a given specification

Schedule

Introduction

Program development - design, develop, debug and document programs. Introduction to OOP.

  • Functions - prototyping, parameter passing, overloading and inlining.

  • Classes - structures vs. classes, member variables and functions, constructors and destructors, scope resolution

  • Storage - pointers, memory allocation and storage classes.

  • Data - types and qualifiers, scope, validation and arrays.

  • File handling - read from and write to files.

  • Assessments - one multiple choice written test, two programming assignments, all to be completed in class.

Notes

Throughout the notes text appearing in courier represents computer related information, such as C++ keywords, assembly statements, contents of memory locations, etc.

Words appearing in bold relate to learning objectives in the students log book.

Download