Course detail

Programming in Windows

FSI-VPW-A Acad. year: 2019/2020 Winter semester

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.

Language of instruction

English

Number of ECTS credits

4

Learning outcomes of the course unit

Creating of medium complex applications for Windows.

Prerequisites

Programming ability in C, C++ or Pascal languages.

Planned learning activities and teaching methods

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.

Aims

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.

Specification of controlled education, way of implementation and compensation for absences

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.

The study programmes with the given course

Programme M2I-A: Mechanical Engineering, Master's
branch M-AIŘ: Applied Computer Science and Control, compulsory-optional

Type of course unit

 

Lecture

26 hours, optionally

Syllabus

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

26 hours, compulsory

Syllabus

1. Introduction to Borland Delphi and Visual C++
2.-12. Example applications, programming of a credit application.
13. Course-unit credits awarding.