ELEMENTARY CODING AND PROGRAMMING IN C++ Aims
To enable
students to: ·
prepare
and edit C++ source code ·
compile
and execute C++ programs ·
create
simple C++ programs with an acceptable layout and structure ·
use
C++ to produce executable programs to solve given problems ·
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: ·
First
Course in C++ by Mark Harman and Ray Jones (McGraw Hill, 1997). ·
C++
Primer Plus 3rd Edition by Stephen Prata (Sams, 1998). ·
Mastering
C++ Programming by Arthur Chapman (MacMillan Master Series, 1998). |
|
||
|
|||
|
Last updated: 11th July 2006. copyright © 2006 Greystoke Systems Ltd. Web address: http://www.gsys.biz/Documents/Services/Tuition/CityAndGuilds/7261-229/Introduction.htm |