Programming Techniques II (FSI-0S1)

Academic year 2022/2023
Supervisor: prof. RNDr. Ing. Tomáš Březina, CSc.  
Supervising institute: ÚM all courses guaranted by this institute
Teaching language: Czech
Aims of the course unit:

Knowledge and skill to shape students' programming habits with regard to productive writing of robust window applications under Windows in C # using the VS 2019 environment.

Learning outcomes and competences:

Orientation in actual technologies of window application implementation for Windows.

Prerequisites:

Knowledge and skills that meet the conditions for successful completion of the course PROGRAMMING TECHNIQUES I (SPT) are expected.

Course contents:

In this course we deal with programming window applications under the WinForms platform in C#. This mainly includes the design of the application presentation layer and its connection with the logical layer by creating data links. We also pay attention to expanding collections through Linq, validating inputs and handling exceptions. Finally, we briefly mention the programming of C# window applications under the WPF platform.
We use the VS 2019 environment.

Teaching methods and criteria:

The preferred style is learning by solve simple authentic tasks.

Assesment methods and criteria linked to learning outcomes:

Credit is awarded on the basis of point evaluation of an independently prepared semester project. The evaluation is fully in the competence of the teacher according to the valid guidelines of BUT.

Controlled participation in lessons:

Absence from the seminar can be replaced by a separate elaboration of the project discussed at the seminar with a possible presentation.

Type of course unit:
    Computer-assisted exercise  13 × 2 hrs. compulsory                  
Course curriculum:
    Computer-assisted exercise

1. The concept of WinForms, the use of delegates and event management
2. Project structure, logical and presentation layer
3. Linking logical and presentation layers in WinForms
4. Basic WinForms controls
5. Data connection, data source, data links
6. Validation of inputs and treatment of exceptions
7. Extension of collections, Linq
8. Other WinForms controls
9. Menus and dialogs
10. Basics of working with graphics, bitmap, graphical context of the device
11. WPF concept, minimum XAML language
12. Presentation layer in WPF
13. Connection of logical and presentation layer in WPF


At each seminar, at least one project is written or developed with the teacher's explanation and under his guidance, in which the constructions according to the current topic are implemented.

Literature - fundamental:
1.

Virius, M.: C# programming from basics to professional use. Grada, 2021 (in Czech)

1. Virius, M.: Programování v C# od základů k profesionálnímu použití. Grada, 2021
The study programmes with the given course:
Programme Study form Branch Spec. Final classification   Course-unit credits     Obligation     Level     Year     Semester  
B-MAI-P full-time study --- no specialisation -- Cr 2 Elective 1 2 W