Pascal Programming (Delphi) (E371531)
Departments:ústav přístrojové a řídící techniky (12110)
Abbreviation:Approved:03.01.2013
Valid until: ??Range:3P+2C
Semestr:*Credits:5
Completion:Z,ZKLanguage:EN
Annotation
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.
Structure
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.
Structure of tutorial
Introduction into running applications in 308 laboratory, students' accounts, students will be submitted 3 practical excercises to solve.
Simple application. Constants. Simple types, structured types incl. arrays, records, sets, files. Variables. Basics of programming language.
Sorting. Handling events (OnMouse.., Timer]. Using components, their fields (Canvas) and attributes (writing and painting on Canvas).
Printing from Delphi applications.
Dynamic data structures: stack, queue, linked list, tree.
Binary tree, AVL tree, B-tree.
Literarture
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/
Requirements
ask lecturer
Keywords
Pascal, Delphi, RAD, Rapid application development, Visual programming, Compiler, Algorithm, Application, Debugging.
data online/KOS/FS :: [Helpdesk] (hlášení problémů) :: - print date: 29.3.2024, 10:02 © 2011-2022 [CPS] v3.8 (master/4ba2e75e/2023-03-03/01:20)