This unit of study aims to provide a foundation for the study of systems and embedded programming for the degree in Mechatronic Engineering. It is based around a systems engineering approach to requirements capture, software design, implementation, debugging and testing in the context of the C programming language. Problem definition and decomposition; the design process; designing for testing and defensive coding methods; modular code structure and abstract data types; best practice in programming. Programming in teams; documentation and version control. The C language: Preprocessor, tokens, storage classes and types; arithmetic, relational and bit manipulation operators; constructs for control flow: if, switch, for, do and while; arrays; pointers and character strings; dynamic memory allocation; functions and parameter passing; derived storage classes: structures and unions; file I/O.
Through semester assessment (60%) and Final Exam (40%)
ELEC1101 or ELEC2602 or COSC1902 or COSC1002