Course code DatZ1010
Credit points 3
Total Hours in Course81
Number of hours for lectures16
Number of hours for laboratory classes16
Independent study hours49
Date of course confirmation17.11.2022
Responsible UnitInstitute of Computer Systems and Data Science
Mg. sc. ing.
DatZ1009, Introduction to Programming I
The aim of the study course is to introduce students to the elements of a modern object-oriented programming language - data type conversion, classes and objects, exception handling mechanisms. Within the course, the specifics of using functions in working with various data types are examined in depth. In practical exercises, students acquire skills in creating simple programs using objects and classes in programming language C#
As a result of learning the course, students:
• knows the basic principles of programming (tests, exam);
• knows how to code and debug programs, use good programming style (laboratory work, test work);
• are able to independently code and debug programs for performing simple calculations and data processing tasks without using data management systems (tests, exam).
1 Functions (2h)
2 Functions (2h)
3 Data types (2h)
4 Conversion of data types (2h)
5 Notched arrays (2h)
6 Work with arrays (2h)
7 Defining functions (2h)
8 Features of using functions (2h)
9 Classes and objects (2h)
10 Classes and objects (2h)
11 Values and reference types (2h)
12 Values and reference types (2h)
13 Characteristics of the class (2h)
14 Static functions (2h)
15 Processing for exceptions (2h)
16 Generating exceptions (2h)
It is necessary to attend at least 50% of the practical classes. Must have a written exam task.
During the semester, students must complete the practical work using the assignment descriptions, in consultation with the head of laboratory work and the lecturer.
The exam grade is formed as an accumulative evaluation from two parts - the evaluation of laboratory works and tests (40%), the evaluation of the exam task (60%).
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: https://www.w3schools.com/cs/index.php
3. Posadas M. Mastering C# and .NET Framework. Birmingham: Packt Publishing. 2016. Pieejams: EBSCO e-book academic collection
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: https://learn.microsoft.com/en-us/dotnet/
• EBSCO e-book academic collection. Pieejams: https://web-p-ebscohost-com.ezproxy.llu.lv/ehost/search/selectdb?vid=0&sid=8715372b-5e1d-4646-9ecc-530bf329861f%40redis
• Visual Studio .Net. [tiešsaiste]. Pieejams: https://visualstudio.microsoft.com/vs/features/net-development/
Compulsory course in Computer Science and Computer Science and Information Technology for Sustainable Development.