Engineering and design

Programming for Engineers

Module code: H1038
Level 4
15 credits in autumn semester
Teaching method: Laboratory
Assessment modes: Coursework

Programming for Engineers provides you with an introduction to computer programming. You will study C programming and Matlab.

Programming is an important skill in engineering, as many devices and machines have electronic controls or require a system to be programmed. Programming is about solving problems and writing the algorithm in a clear set of steps.

 

C is the most common programming language in engineering and other fields. It is used for data acquisition, robotic control and programming embedded processors.

Matlab is a very useful computational tool for engineers. It can be used to solve and simulate engineering problems. With a solid foundation in C, you will learn Matlab quickly.

This module will help you in learning other topics that require mathematical modelling, such as control engineering, vibration analysis and signal processing.

This module introduces you to the following topics:

  • C programming
  • compiling and linking
  • constants, variables, data types and conversion
  • operators and expressions
  • program structure and pseudocode
  • selection and repetitive statements
  • functions
  • recursion
  • pointers
  • arrays
  • characters and strings
  • file input/output
  • MATLAB
  • MATLAB - Simulink.

Module learning outcomes

  • Gain a working knowledge of the fundamental principles of structured programming and algorithm concepts.
  • Gain a working knowledge and understanding writing and debugging programs within an IDE
  • Ability to demonstrate a pseudo-code implementation to an algorithm or programming problem and develop this into specific code for compilation.