Resources

Introduction to the City and Guilds course 7261-229

Aims

To enable students to:

  1. prepare and edit C++ source code

  2. compile and execute C++ programs

  3. create simple C++ programs with an acceptable layout and structure

  4. use C++ to produce executable programs to solve given problems

  5. write clear user instructions for the operation of a program

Schedule

Introduction

Program Preparation - creating and compiling source code to produce executable programs.

Components of a C++ source file - sample structure, data types and their use, the pre-processor, functions.

Simple input and output - interacting with the user

Code presentation and maintenance - indentation, case, comments and documentation.

Operations - assigning values to variables, use of arithmetic operations, operator precedence.

Control Structures - decision making and loops.

Assessments - one multiple choice written test, three 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.

Reading

Students are not expected to buy books on the subject, though the following may be of use:

  1. First Course in C++ by Mark Harman and Ray Jones (McGraw Hill, 1997).

  2. C++ Primer Plus 3rd Edition by Stephen Prata (Sams, 1998).

  3. Mastering C++ Programming by Arthur Chapman (MacMillan Master Series, 1998).

Downloads