SylabUZ

Generate PDF for this page

Object-oriented programming - course description

General information
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
Course information
Semester 1
ECTS credits to win 3
Course type optional
Teaching language english
Author of syllabus
  • dr inż. Grzegorz Pająk
  • dr inż. Iwona Pająk
Classes forms
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

Aim of the course

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.

Prerequisites

Computer skills.

Scope

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.

Teaching methods

Lecture: a conventional lecture

Practical training: problem tasks, case analysis, individual work

The project: project carried out individually or in a group

Learning outcomes and methods of theirs verification

Outcome description Outcome symbols Methods of verification The class form

Assignment conditions

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.

Recommended reading

  1. Booch G., Rumbaugh J., Jacobson I., UML przewodnik użytkownika, WNT, Warszawa 2002,
  2. Pacheco X., Teixeira S., Delphi 6. Vademecum Profesjonalisty, tom I i II, Helion, Gliwice 2002,
  3. Spolsky J., Projektowanie interfejsu użytkownika. Poradnik dla programistów, MIKOM, Warszawa 2001,
  4. Weisfeld M., Myślenie obiektowe w programowaniu, Helion, Gliwice, 2010,
  5. Wojtuszkiewicz K., Programowanie strukturalne i obiektowe (Tom 2. Programowanie obiektowe), PWN, Warszawa, 2010.

Further reading

  1. Pamuła T., Aplikacje w Delphi. Przykłady, Helion, Gliwice 2011,
  2. Pamuła T., Krawiec S., Programowanie strukturalne i obiektowe w Delphi, Wydawnictwo Politechniki Śląskiej, Gliwice 2005,
  3. Sadowski T. M., Praktyczny kurs Delphi, Helion, Gliwice 2003.

Notes


Modified by dr inż. Tomasz Belica (last modification: 13-09-2018 21:51)