Authorised by Academic Registrar, April 1996
Synopsis Introductory topics about computers: DOS-directories and files, directory structure, basic command line commands. Editors and text files. Structure of a simple C program. Data items and data types. Arithmetic in C. Overflow, precedence in arithmetic. Functions. Passing data by value and reference, prototyping, simple scoping, guidelines for writing functions. Simple input and output in C. Design concepts: steps in developing a program, top-down design, structured programming constructs, the structure chart, functional decomposition, coupling. Testing: test strategies - test plan, input data, expected results, testing heuristics. Selection constructs in C. Repetition: iteration and recursion in C. The C preprocessor. Simple pointers. One-dimensional arrays. Strings. Project files.
Assessment Examination (3 hours): 50% + Unit tests: (20%) + Practical work: 30%