Elementary Programming for Diplom-E
Overall Course Objectives
The aim of the course is to make the students able to design, code, test and document programs in the programming language C
Learning Objectives
- work with ordinary data types and declare variables
- use selections: if-, if-else- and switch-statements
- use loops: while-, do-while- and for-statements and tell about recursion
- prepare functions with arguments: call by value and call by reference
- use standard I/O (keyboard and display) as well as text files
- use structured data types: arrays with 1- and 2-dimensions and structs
- use hardware simple near programming
- use pointers in relations to the arrays
- use the data structure: stack
- perform tests of programs
- use flowchart and module diagrams as documentation of programs
- participate and cooperate in small groups to solve a specific task
Course Content
Program structure: From pseudo code through data-flow diagrams to modules, functions parameter transfer, loops and selections. I/O: Display, keyboard, and files. Simple search and sorting. At the end of the course, you are supposed to make an application for the 1. semester CDIO-Project
Teaching Method
Lectures and exercises. Programming projects will be given in the 13-weeks period. All of them will count in the over all grading based on a generel assessment
Faculty
Remarks
The CDIO-projekt will be an excercise during the end of the semester in the 3-weeks period (course “Project work in Electrotechnic”). The application is supposed to visualize the mathematical model “heating of the aluminium block”. The model is delivered by the course DiplomMat1