SylabUZ
Nazwa przedmiotu | Object-oriented programming |
Kod przedmiotu | 06.9-ZiIP-ANG-D-08_20 |
Wydział | Wydział Mechaniczny |
Kierunek | Management and Production Engineering |
Profil | ogólnoakademicki |
Rodzaj studiów | drugiego stopnia z tyt. magistra inżyniera |
Semestr rozpoczęcia | semestr zimowy 2020/2021 |
Semestr | 1 |
Liczba punktów ECTS do zdobycia | 3 |
Typ przedmiotu | obowiązkowy |
Język nauczania | angielski |
Sylabus opracował |
|
Forma zajęć | Liczba godzin w semestrze (stacjonarne) | Liczba godzin w tygodniu (stacjonarne) | Liczba godzin w semestrze (niestacjonarne) | Liczba godzin w tygodniu (niestacjonarne) | Forma zaliczenia |
Ćwiczenia | 15 | 1 | 9 | 0,6 | Zaliczenie na ocenę |
Laboratorium | 15 | 1 | 9 | 0,6 | Zaliczenie na ocenę |
Wykład | 15 | 1 | 9 | 0,6 | Zaliczenie na ocenę |
Familiarize with the object-oriented approach to system analysis and design, developing skills in using a modern programming environment to creation of simple elements of the IT system.
Computer skills.
Lecture
Reminder of the basic concepts: algorithm, programming language, low level language, high level language, programming, program. Basic information about object-oriented programming, VBA objects in Excel. Analysis of a simple function created in the VBA environment.
Basic elements of the object model. The object as an element of the real world and its model. Object components: attributes and methods. Object classes. Object-oriented approach to system description. Analysis of the object-oriented application model in VBA. Implementation of the sample program using objects available in the VBA environment.
Modules, procedures and functions. Passing parameters by value and reference. Using the exception mechanism to handle errors in the program.
Object-event model of the program. The used of objects events to automate operations carried out in the application.
Class form modules. Class definition syntax. Definition of fields and properties. Definition of procedural and functional methods. Method arguments passed by value and reference. The process of creating and removing objects. References to objects and their components. Design, implementation and testing of an example class. Creating add-ons
Exercises
Example function in a VBA environment. Selected Excel objects, property references. Assignment instruction, arithmetic operators, standard functions.
References to data , performing calculations and displaying results in Excel worksheets cells. Using the exception handling mechanism to catch errors in the designed programs.
Modules, procedures and functions. Passing parameters by value and reference.
Form class structure, fields and methods. Defining procedural and functional methods. Passing parameters by value and reference, examples of applications. Creating and deleting objects.
Laboratory
Introduction to VBA in Excel. Creating macros using the recording mechanism. Creating toolbars with an individual set of functions. Analysis of the macro codes. Creating your own modules containing functions that perform simple calculations.
Form controls in VBA, user interface design, properties window, event definition.
Implementation of programs based on tasks completed as part of the exercises:
Lecture: a conventional lecture
Exercises: problem tasks, case analysis, individual work
Laboratory: practical classes in the computer laboratory
Opis efektu | Symbole efektów | Metody weryfikacji | Forma zajęć |
Lecture: a positive result of the assessment via a written test
Exercises: a positive final assessment, based on grades from tests and oral answers
Laboratory: a positive result of the assessment based on final test
Final rating: the arithmetical mean of grades from individual types of classes.
Zmodyfikowane przez dr inż. Grzegorz Pająk (ostatnia modyfikacja: 27-04-2020 11:40)