Course code DatZ1009

Credit points 2

Introduction to Programming I

Total Hours in Course80

Number of hours for lectures16

Number of hours for laboratory classes16

Independent study hours48

Date of course confirmation17.11.2022

Responsible UnitDepartment of Computer Systems

Course developer

author lect.

Ingus Šmits

Mg. sc. ing.

Course abstract

The aim of the study course is to introduce students to the history, development and construction principles of programming languages. Students are introduced to the basic elements of programming languages – data types, variables, conditional operators, loops, arrays and functions. As part of the practical lessons, students gain skills in creating simple programs using the C# programming language.

Learning outcomes and their assessment

As a result of the study course students:
• knows the basic principles of programming (tests, assessment task);
• knows how to code and debug programs, use good programming style (laboratory work, test work);
• is able to independently code and debug programs for performing simple calculations and data processing tasks without using data management systems (tests, assessment tasks).

Course Content(Calendar)

1 Introductory lecture (2h)
2 Development of programming languages (2h)
3 Variables (2h)
4 Variables (2h)
5 Operations (2h)
6 Algorithms (2h)
7 Conditional operators (2h)
8 Loop operators while and do..while (2h)
9 Loop operator For (2h)
10 Nested loop operators (2h)
11 One-dimensional arrays (2h)
12 Operations with one-dimensional arrays (2h)
13 Operations with one-dimensional arrays (2h)
14 Working with the string and char types (2h)
15 Two-dimensional arrays (2h)
16 Basic operations with a two-dimensional array (2h)

Requirements for awarding credit points

It is necessary to attend at least 50% of the practical lessons.

Description of the organization and tasks of students’ independent work

During the semester, the student must complete the practical work using the assignment descriptions, in consultation with the supervisor of the practical work and the lecturer.

Criteria for Evaluating Learning Outcomes

The test grade is formed as an accumulative evaluation from two parts - the evaluation of practical works and tests (60%), the evaluation of the test task (40%).

Compulsory reading

1. Lee G. Modern Programming: Object Oriented Programming and Best Practices: Deconstruct Object-oriented Programming and Use It with Other Programming Paradigms to Build Applications. Packt Publishing, 2019. 249 p. Pieejams: EBSCO e-book academic collection datubāzē
2. C# Tutorial [tiešsasite]. Pieejams:
3. Posadas M. Mastering C# and. NET Framework. Birmingham: Packt Publishing. 2016. Pieejams: EBSCO e-book academic collection

Further reading

1. Improving Your C# Skills: Solve Modern Challenges with Functional Programming and Test-driven Techniques of C#. O. M. A. Khan, J. Callaway, C. Hunt, R. Stephens. Birmingham: Packt Publishing. 2019. 589 p.
2. Angorro W. Functional C#. Birmingham, UK: Packt Publishing. 2017. – 365 p. EBSCO e-book academic collection datubāzē
3. NET Documentation [tiešsaiste]. Pieejams:

Periodicals and other sources

• EBSCO e-book academic collection. Pieejams:
• Visual Studio. Net. [tiešsaiste]. Pieejams:


Compulsory course in Computer Science and Computer Science and Information Technology for Sustainable Development.