Course detail

Basics of Programming

FSI-SZP Acad. year: 2022/2023 Winter semester

In this course we deal with an introduction to programming console applications for Windows in C#.
For this, the basic elements of the language are applied by top-down methodology and on the basis of simple considerations on invariants.
We develop applications in the VS 2019 environment using user-friendly code writing tools that increase productivity.

Language of instruction

Czech

Number of ECTS credits

4

Learning outcomes of the course unit

Understanding the principles of algorithmic thinking and a structured approach to problem solving supported by simple actual technologies and the development of creativity.

Prerequisites

Computer literacy and user knowledge of Windows 11 (12) are expected.

Planned learning activities and teaching methods

The preferred style is learning by solve simple tasks.

Assesment methods and criteria linked to learning outcomes

Students will prove the acquired knowledge and skills by independent elaboration of a semester project.
A graded credit is awarded on the basis of a point evaluation of a semester project, taking into account the point evaluation of three ongoing projects assigned during the semester. The evaluation is fully in the competence of the teacher according to the valid guidelines of BUT.

Aims

Knowledge and skill to guide students' programming habits to productive writing of robust applications under Windows in C# using its basic elements and tools of the VS 2019 environment.

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

Teaching takes place according to the weekly syllabi of the course syllabus. Attendance at lectures is expected, at seminars mandatory. Absence from the seminar can be replaced by a separate elaboration of the projects discussed at the given seminar or by elaboration of a substitute project with a possible presentation. The way of compensation missed seminar is fully in the competence of the teacher.

The study programmes with the given course

Programme B-MAI-P: Mathematical Engineering, Bachelor's, compulsory

Type of course unit

 

Lecture

13 hours, optionally

Teacher / Lecturer

Syllabus

1. Algorithm, program and its basic elements, introduction to VS 2019 and C#
2. Declaration of value variable, expression, command, assignment command, block
3. Conditional statement, cycle statements, code writing and editor tools
3. Cycle invariant, use for algorithm formulation
4. Top-down design system and block structure of the program
5. Static method as a named block, overloading, code writing and editor tools
6. Value type n-tuple, tips for project organization
7. Reference type 1D field, value vs. reference type, mention of collections
8. 1D field as a vector, polynomial, formulation of simple algorithms
9. Reference type 1D1D field (toothed field)
10. Reference field 2D array
11. 2D arrays as matrices, formulation of simple algorithms
12. Recursion, recursion invariant
13. Stream, text file

Computer-assisted exercise

26 hours, compulsory

Teacher / Lecturer

Syllabus

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