Mobilité EUt+
Retour

Page du cours ✏️


Programming 1
EENG H1019

Description
The aim of this module is to provide the learner with an in-depth understanding of programming methods and the ability to write programs to solve common engineering problems using ANSI C programming language.

Introduction to ‘C’ programming: Introduction to basic concepts of software design. Problem solving and Top-Down design methods. The use of flow diagrams to develop program designs. Structured programming. Declaration of data types and expressions. Assignment statements. compiling and executing programs.

Selection Structures: Relational operators and operator precedence. Boolean Operators and Boolean expressions. Simplifying Boolean expressions using De Morgans Law. The decision construct. The if..else..if statement ; the switch statement; multiple if..else statements.

Repetition: Introduction to the need for and use of repetition in programs. A loop design heuristic; The while statement and the for..next statement. Decisions within loops; accumulating a sum or product. The use and operation of nested loops. Declaring and using one dimensional arrays and two dimensional arrays.

Implementation: Various maths algorithms in C. e.g. Trapezoidal and Simpson's rule to approximate areas. Formulae. Random number generation.


Crédits ECTS
5

Langue d'enseignement
English

Langue d'examen
English

Langue des supports pédagogiques
English

Acquis d'apprentissage fondamentaux

Catégorie de cours

Entité de gestion (faculté)