Modeling and object programming 1

  • ECTS

    5 credits

  • Component

    Faculty of Science

Description

The teaching unit presents the basic principles of modeling and programming by objects. The supporting languages are UML and Java, with possibly elements of Python at the end of the semester

From a modeling point of view, the teaching unit focuses on the modeling of static views, with class and instance diagrams. Through these diagrams, the notions of classes, instances, attributes, operations, associations, interfaces and specialization will be seen. Their parallel implementation in Java will allow to give them a concrete application and to show in particular the translation of associations in a programming language which does not have them. In Java, the focus will be on the notions of class, instance, inheritance, instance variable, class variable and method, visibility and organization in packages, and static and dynamic bindings. Data collections widely used in Java will be presented to translate some of the associations (lists and associative dictionaries). These collections will introduce students to the use of generic classes. The implementation of the concepts of object-oriented programming with Python may be addressed at the end of the semester depending on the progress.

Read more

Objectives

At the end of this course, the main objective is that students know how to design and implement small object-oriented programs (about 15 classes). Students will have to master the UML class and instance models, and know how to implement them with the Java language.

Read more