Course detail

Basics of Programming

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

The course provides an introduction to the C# programming language using the Visual Studio IDE. Students are introduced to basic concepts such as statements, variable, data type, and others. Further, basics of object-oriented programming are explained.

Learning outcomes of the course unit

Students will gain a basic understanding of C# and using the Visual Studio IDE tools. They will also gain the ability to formulate simple algorithms and then implement them.

Prerequisites

Computer basics.

Planned learning activities and teaching methods

The lectures explain the basic principles and theory of the topics. The exercises are aimed at practicing the material covered in the lectures.

Assesment methods and criteria linked to learning outcomes

The evaluation of the course consists of points for the semester project (presentation of a functional program in C# – 70%) and points for independent tasks (30%) assigned during the semester. The condition for getting the credit is obtaining at least 50% of the points from the semester project. Additional points can be awarded for an active approach during the course.

Language of instruction

Czech

Aims

The aim of the course is to teach students the basics needed for creating simple applications. The student is introduced to the basics of programming using primitive and reference data types, classes and objects in C#. In addition, students are given emphasis on the formulation of algorithms for solving problems.

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

Attendance at lectures is recommended, attendance at the exercise is compulsory. Classes are held according to the weekly schedule. The material discussed in the exercises corresponds to the current topic in the lecture according to the syllabus. The substitution of missed exercises is entirely at the discretion of the instructor.

The study programmes with the given course

Programme B-MAI-P: Mathematical Engineering, Bachelor's
branch ---: no specialisation, 4 credits, compulsory

Type of course unit

 

Lecture

13 hours, optionally

Teacher / Lecturer

Syllabus

1. Introduction to C# and .NET Framework, introduction to Visual Studio IDE – project management, tools, debugging. Console application.
2. Variables, basic data types, operators. Command, code block. Flow control.
3. Reference vs value types. Arrays, collections.
4. Working with strings.
5. Methods, overloading. Basic program structure.
6. Access modifiers. Basic types (class, structure, interface, etc.), objects.
7. Introduction to object-oriented programming.
8. Basics of program design.
9. Fundamentals of object-oriented programming – inheritance, polymorphism.
10. Program vs library, namespace, using .NET Framework, project templates.
11. Exceptions.
12. Stream, working with files.
13. Problem solving.

Computer-assisted exercise

26 hours, compulsory

Teacher / Lecturer

Syllabus

The exercises are aimed at practice of the material covered in the topics on lectures, see the lectures outline. Emphasis is placed on the ability to work independently, i.e. to develop a simple application, often as part of independent tasks.