Authorised by Academic Registrar, April 1996
Objectives To equip students with the necessary tools and techniques to model and solve numerical engineering problems using C programming language.
Synopsis C essentials: ANSI C standard. Standard input/output streams. Scalar data types, variables, operators, enumerated data types, casting and C preprocessor. Loops, if ... else and switch statements. Functions and program structure. Recursion. Scope of variables and storage classes. Arrays and strings. Pointers, command line arguments, dynamic memory management. File input/output. Redirection and piping. Engineering modelling: numerical calculation of series, integrals, interpolation and extrapolation. Numerical calculations of static and dynamic engineering structures.
Assessment Examination (2 hours): 60% + Laboratory work, assignments and tests: 40%