t.BA.XXI.INF2.19HS (Computer Science 2) 
Module: Computer Science 2
This information was generated on: 16 April 2024
Computer Science 2
Organised by


Version: 4.0 start 01 February 2025

Short description

The students expand their programming knowledge from Computer Science 1 and acquire another programming language (Java) and another programming paradigm (object-oriented programming).

Module coordinator

Bazzi Elio (bazz)

Learning objectives (competencies)

Objectives Competences Taxonomy levels
(1) The students understand more advanced concepts of programming in C like reading and writing files, preprocessor directives, the module concept of C, as well as dynamic memory management. F, M K1-K3
(2) The students know how the programming concepts of C translate to Java and are able to write console applications in Java that correspond roughly to their C-counterparts. F, M K1-K3
(3) They know the basics of object oriented programming, e.g., the differences between objects and classes, instance and class variables, also methods and constructors, inheritance, polymorphism, abstract classes and interfaces. They can make use of this knowledge when designing and implementing programs. They know how to find class descriptions of the Java library in the Java API documentation. F, M K1-K5
(4) The students are able to program applications with graphical user interfaces. They can make use of important GUI elements and handle the events of these elements by defining suitable event listeners. F, M K1-K5
(5) The students understand exception handling in Java and how it can be used in their programs. F, M K1-K5

Module contents

(1) More on C programming

  • File I/O
  • Module Concept and Preprocessor
  • Dynamic memory management

(2) From C to Java

  • Similarities and differences
  • Data types, strings, arrays, methods and parameters

(3) Object oriented programmimg

  • Objects and classes, instance- and class variables
  • Methods, constructors, overloading
  • Inheritance and polymorphism
  • Abstract classes and interfaces
  • Java library, Java API documentation

(4) Applications

  • Console applications
  • Applications with GUI
  • GUI-elements (label, button, scrollbar, textfield, menubar)
  • Events and event listener

(5) More on Java programming

  • Exception handling

Teaching materials

Slides used in lessons will be available.

Supplementary literature

Java ist auch eine Insel



Teaching language

(X) German ( ) English

Part of International Profile

( ) Yes (X) No

Module structure

Type 3a
  For more details please click on this link: T_CL_Modulauspraegungen_SM2025


Description Type Form Scope Grade Weighting
Graded assignments during teaching semester Various     grade 20%
End-of-semester exam Exam written 90 min grade 80%

(see additional remarks in the german version)



Legal basis

The module description is part of the legal basis in addition to the general academic regulations. It is binding. During the first week of the semester a written and communicated supplement can specify the module description in more detail.


Course: Informatik 2 - Praktikum
Informatik 2 - Praktikum


  • No module description is available in the system for the cut-off date of 01 August 2099.
Course: Informatik 2 - Vorlesung
Informatik 2 - Vorlesung


  • No module description is available in the system for the cut-off date of 01 August 2099.