On successful completion of this module students will be able to
To write and debug short C++ programs
To simulate simple C++ code and predict its behavious exactly.
To write code for simple C++ classes.
To use the STL for small but powerful programs.
To develop their programming skills as necessary.
Module Content
To cover the essentials of C++ programming, including some of the topics of 1261, but in less detail. C++ input/output style is covered. C++ Subroutines and functions are covered, including the argument-passing styles, more elaborate than in C, and routine/operator overloading.
Classes in C++, and privacy.
Object-orientated programming through classes.
The STL (standard template library) and programming productivity.
The IEEE floating-point standard will be introduced, time permitting.
Teaching:
Lecture will be delivered using a chalkboard, with occasional demonstrations using the classroom PC and projector.
The lecture notes will be posted regularly on the Internet.
There will be weekly programming assignments, which should be completed during the programming labs.
There will be fortnightly tutorial quizzes.
Module Prerequisite
MA1261
Assessment Detail
This module will be examined in a 2-hour examination in Trinity term.
Continuous assessment
will contribute to the final grade for the module at the annual
examination session (10% programming assignments, 10% written
assignments, and 80% final).
At the supplemental session continuous assessment will not be
counted: the supplemental exam will account for 100%.