Code: E371531 Pascal Programming (Delphi)
Lecturer: doc.Ing. Josef Kokeš CSc. Weekly load: 3+2 Assessment: Z,ZK
Department: 12110 Credits: 5 Semester: W,S
Description:
Delphi and its RAD environment (Rapid Application Develoment) - create programs, use of visual represented components - buttons, edit, memo, event handling using Pascal. Prepared dialogs (work with files, printing). Timer. Work with canvas (pictures, images). Pascal - variables, cycles, functions, procedures. Data types, structured data types creation. Typical algorithms - searching, sorting. Recursion, iteration, backtracking. Pointers, dynamic memory. Abstract data types: table, stack, LIFO, list, tree. Binary tree, AVL tree.

Training in the Borland Delphi, students can install the Lazarus as well.
Contents:
Delphi environment. Simple program.
Fundamentals of Pascal, structure, types of variables, constants definition. Calling functions.
Programming languages, interpreter, compiler, object-oriented approach, 4GL.
Record, set, file-of-byte, text files use.
Statements, assignments, conditional statements, loops, case.
Procedures, functions, formal parameters declaration.
Standard features of Pascal, Borland Pascal extensions.
Algorithms: Data Structures - queue (FIFO), stack (LIFO), the circular queue.
Dynamic Variables - Declaration and returning the memory. Fragmentation, the garbage collector.
Records, dynamic data structures.
Single and double linked list.
Trees, binary trees, B-trees, AVL tree, rotations.
Recommended literature:
Cantu, Marco: Mastering Delphi 7. Sybex 2003.
Wirth, N.: Algorithms and data structures. Prentice-Hall, 1986.
Cormen, Leiserson, Rivest, Stein: Introduction to Algorithms.
Lischner, Ray: Delphi in a Nutshell. O'Reilly, 2002.
Borland: Delphi Developer's Guide. Borland Software Corporation, CA, USA.

http://www1.fs.cvut.cz/cz/u12110/aii/ , http://www1.fs.cvut.cz/cz/u12110/AII/aii/
Keywords:
Pascal, Delphi, RAD, Rapid application development, Visual programming, Compiler, Algorithm, Application, Debugging.