Module Overview

Programming 1

This is an introductory module to ANSI C programming language used by engineers to write computer engineering software solution. The princilpes learned relating to ANSI C are used to program microprocessors, microcontrollers and microcomputers, an essential element in modern engineering design.


Module Code

EENG H1019

ECTS Credits


*Curricular information is subject to change

Principles of ANSI ‘C’ programming

Introduction to the programming structure principles of ANSI C to write, compile, debug and execute C programs. This involves learning problem solving and Top-Down design methods applied to writing valid C programs that execute without errors. Program code structure, syntax and flow during execution is discussed.

Data Structures

Introduction to data types such as integer, floating point, charaters and strings. Use of data structures for scanning keyboard, data manipulation and output to the computer screen. Use of printf instruction and correct value display. Pointers and Constants defined. Use of arrays and their structure and how to manipulate elements.


Introduction to the need for and use of repetition in programs. A loop design heuristic; The while statement and the statement. Decisions within loops; accumulating a sum or product. The use and operation of nested loops. Understanding how to choose the correct loop type based on the problem statement and variables.


Design a range of engineering programs to demonstrate how boolean logic, advanced mathematical calculations and random numbers can be used. Using appropriate header files, defined constants and subroutines to shorten code while maintaining program integrity.

The module is delivered through a series of lectures, laboratory activities as well as student self-directed learning including assessment activities.

Module Content & Assessment
Assessment Breakdown %
Formal Examination50
Other Assessment(s)50