Programming in Windows (FSI-VPW)

Academic year 2020/2021
Supervisor: Ing. Pavel Heriban, Ph.D.  
Supervising institute: ÚAI all courses guaranted by this institute
Teaching language: Czech
Aims of the course unit:
The aim of the course is to familiarise students with the basics of programming for Windows, event-driven programming, and with the use of API.
Learning outcomes and competences:
Creating of medium complex applications for Windows.
Prerequisites:
Programming ability in C, C++ or Pascal languages.
Course contents:
The course deals with the following topics: Event-driven programming, using of Windows API, kernel objects, processes and threads, synchronization objects, virtual address space, windows, dialogs, control objects, resources, graphical user interface, fonts, palettes, printing, registry, ini files.
Teaching methods and criteria:
The course is taught through lectures explaining the basic principles and theory of the discipline. Exercises are focused on practical topics presented in lectures.
Assesment methods and criteria linked to learning outcomes:
Course-unit credit requirements: Functional application for Windows.
Examination: the exam tests students’ knowledge of the basics of programming
for Windows, and includes a discussion over the application created.
Controlled participation in lessons:
The attendance at lectures is recommended; the attendance at seminars is obligatory. Lessons are organised according to a week schedule. The form of substituting of missed seminars is fully in the competence of the tutor.
Type of course unit:
    Lecture  13 × 2 hrs. optionally                  
    Computer-assisted exercise  13 × 2 hrs. compulsory                  
Course curriculum:
    Lecture 1. Window, system of messages.
2. GDI, device context, drawing, mapping modes, scroll bars.
3. Keyboard, mouse, timer.
4. Controls.
5. Resources: icons, cursors, strings, menus, accelerators.
6. Dialog boxes.
7. Printer, bitmaps.
8. Palette manager, fonts.
9. Kernel objects, processes and threads, synchronization.
10. Win32 memory architecture, data exchange between processes.
11. Registry.
    Computer-assisted exercise 1. Introduction to Borland Delphi and Visual C++
2.-12. Example applications, programming of a credit application.
13. Course-unit credits awarding.
Literature - fundamental:
1. Simon R.J., Gouker M., Barnes B.C.: Win 32 API - průvodce vývojáře, Unis publishing, 1997
3. Richter J.: Advanced Windows, Microsoft Press, 1997
Literature - recommended:
2. Petzold C.: Programování ve Windows, Computer Press, 1999
The study programmes with the given course:
Programme Study form Branch Spec. Final classification   Course-unit credits     Obligation     Level     Year     Semester  
M2A-P full-time study M-MAI Mathematical Engineering -- Cr,Ex 4 Compulsory-optional 2 1 W
M2I-P full-time study M-AIŘ Applied Computer Science and Control P linked to branch B-AIR GCr 4 Compulsory-optional 2 2 W
M2I-P full-time study M-AIŘ Applied Computer Science and Control -- GCr 4 Compulsory-optional 2 2 W