Object-Oriented Programming for Transport Engineers

Vortragende/r (Mitwirkende/r)
  • Qin Zhang [L]
  • Wei-Chieh Huang
  • Rolf Moeckel
Umfang4 SWS
SemesterWintersemester 2021/22
Stellung in StudienplänenSiehe TUMonline
TermineSiehe TUMonline




This course will cover the following topics: - Language basics - Methods - Classes and objects - Control statements - Collections - Input/ Output - Tests - git versioning system - object inheritance - Exceptions - Usage of existing frameworks


In this course, students learn to use the programming language Java and how it can be applied to address a variety of transport problems. It will be taught how to design code that builds on the object-oriented paradigm. Students will be able to use a variety of basic programming principles (e.g. control structures, inheritance etc.) to solve real-world problems. After completion of this course, students will be able to write Java programs and to use Java in existing frameworks, e.g. in the transport model MATSim, which is taught in a separate course. Over the course of the semester, introductions to collaboration between team members on a software project and version control systems will be given as well. It will be shown how an open-source version control system can be used to improve workflow and collaboration in a programming project. Please note, that this course is a prerequisite to the Applied Transport Modeling with MATSim course, which will be offered in the summer semester.

Inhaltliche Voraussetzungen


Lehr- und Lernmethoden

The course will be taught in alternating lecture sessions and practical exercises. The lectures cover the theoretical concepts by giving presentations and examples. In the practical sessions, the students will work on related tasks supervised by the tutor. The tasks will mostly include writing own programs in Java.

Studien-, Prüfungsleistung

Over the course of the semester the students will have to submit five assignments (Übungsleistungen) that cover different topics. The first four assignments account for 15% of the total grade each; the fifth assignment accounts for 40%.

Empfohlene Literatur

Sierra K., Bates B., Head First Java, O’Reilly & Associates Inc, Sebastopol, 2005.