Lecturer(s)
|
|
Course content
|
Introduction to object-oriented programming. Definition of a term object and basic postulates (atributes, methods, receive message ability, compose of internal object posibility). Information content of object and analytic meaning of object. Definition of a term 'class'. An acquaintance with an object life cycle and its realization in Delphi. Application memory structure, variable placing, heap status monitor. Property. Definition of a term 'inheritance' - solving of intersection of object properties using object assembling and using inheritance. Accompanying notes about in relation of generalization-specialization, inheritance hierarchy, internal information hiding. Class diagram UML, repeating of recursion, dynamic array. Definition of a term 'polymorfism', early & late binding, use of a keyword 'inherited'. TObject in Delphi, virtual method table (VMT). Typecasting, overload methods, exceptions. Three-layer application model (business, data, user).
|
Learning activities and teaching methods
|
Monologic (reading, lecture, briefing), Dialogic (discussion, interview, brainstorming), Projection, Skills training
|
Learning outcomes
|
To master principles of object-oriented programming at the theoretical level and at the same time their implementation in the Object Pascal (development environment Delphi). It is closely connected with acquirement of the basics of the object analysis and object-oriented application design. To get acquainted with the tools of UML for the purpose of object design representation (class diagram). Further, to become familiar with the philosophy of a three-layer application model design. Familiarization or deepening knowledge of programming in the Delphi environment.
Ability to process an object-oriented problem design and to program it successfully. Knowledge acquirement of programming in the Delphi environment.
|
Prerequisites
|
Knowledge of structured programming in Pascal (Turbo Pascal, Borland Pascal) at the advanced level, i. e. not only user-defined data types and subprograms, but also making units and using dynamic variables.
KID/PAAPK
|
Assessment methods and criteria
|
Written examination, Home assignment evaluation
To obtain the required knowledge mainly at the lectures, or enhance on it from the recommended literature. To participate actively in an engagement of the knowledge of object-oriented programming at the seminars, or by means of an individual work on a course project, or self-study.
|
Recommended literature
|
-
Cantu, Marco. Myslíme v jazyku Delphi 7 : knihovna zkušeného programátora. Praha: Grada, 2003. ISBN 80-247-0694-6.
-
Kraval, Ilja. Základy objektově orientovaného programování : [za pomoci jazyka Microsoft Visual Basic 5.0]. Praha: Computer Press, 1998. ISBN 80-7226-047-2.
-
Matiaško, Karol. Základy informatiky. Žilina: EDIS - vydavatel'stvo ŽU, 2004. ISBN 80-8070-186-5.
|