SylabUZ
Course name | Object-oriented programming |
Course ID | 06.9-WM-ZiIP-ANG-D-10_17 |
Faculty | Faculty of Engineering and Technical Sciences |
Field of study | Management and Production Engineering |
Education profile | academic |
Level of studies | Second-cycle studies leading to MSc degree |
Beginning semester | winter term 2018/2019 |
Semester | 1 |
ECTS credits to win | 3 |
Course type | optional |
Teaching language | english |
Author of syllabus |
|
The class form | Hours per semester (full-time) | Hours per week (full-time) | Hours per semester (part-time) | Hours per week (part-time) | Form of assignment |
Lecture | 15 | 1 | - | - | Credit with grade |
Class | 15 | 1 | - | - | Credit with grade |
Project | 15 | 1 | - | - | Credit with grade |
Familiarisation with the object-oriented approach to system analysis and design, development of the ability to use a modern programming environment, to the extent that the creation of simple elements of the IT system is facilitated.
Computer skills.
Lecture
A reminder of the basic elements of the Pascal language, basic information about the object and event programming. RAD type tools and their use on the example of Borland Delphi. Basic elements of the object model. An object as an element of the real world and its model. Object components: attributes and methods. Classes of objects. An object-oriented approach to the description of systems, analysis of the structure and sample operation. Object-event programme model. Execution of a sample programme, using objects available in the VCL library. Object type of elements of the Pascal language. Syntax of the class definition. Definition of fields. Declaration and definition of procedural and functional methods. Arguments of methods passed, by value and reference. The process of creating and deleting objects: constructor and destructor. References to objects and their components. Design, implementation and testing of the sample class.
Exception classes, reporting and capturing exceptions. Using an exception mechanism to handle errors in a designed class. Overloading of methods. Appeals to overloaded methods. The use of overloaded methods to expand class functionality with a transparent interface. Inheritance, base class and child class (subclass). Generalisation and specialisation, examples of class hierarchies. Syntax of the child class definition. The application of inheritance to create classes of own exceptions. Implementation of a sample hierarchy of classes describing a family of geometric figures.
Practical training
A sample programme in the Delphi environment. Type conversion functions, selected components and their properties, references to component properties, input and display of data using components. Assignment instruction, arithmetic operators, standard functions. Using an exception-handling mechanism to detect errors in a designed programme. Class structure, fields and methods. Defining procedural and functional methods. Transmission of parameters by value and variable, examples of applications. Creating and deleting objects: constructors and destructors. Overloading of methods. Design and implementation of sample classes, modelling selected real objects and processes. Creating applications using objects of defined classes. Inheritance, creating a hierarchy of classes. Virtual methods. Design and implementation of classes using the mechanism of inheritance.
Project
Independent implementation of the object-oriented application, including obtaining the necessary information from the literature, designing the required algorithms and user interface and implementing it, using elements of the programming tool discussed.
Lecture: a conventional lecture
Practical training: problem tasks, case analysis, individual work
The project: project carried out individually or in a group
Outcome description | Outcome symbols | Methods of verification | The class form |
Lecture: a positive result of the assessment via a written test
Practical training: a positive final assessment, based on grades from tests and oral answers
Project: preparation and passing the project
Final rating: the arithmetical mean of grades from individual types of classes.
Modified by dr inż. Tomasz Belica (last modification: 13-09-2018 21:51)