Course code InfT3044

Credit points 4.50

Programming Basics

Total Hours in Course120

Number of hours for lectures16

Number of hours for seminars and practical classes32

Independent study hours72

Date of course confirmation19.01.2022

Responsible UnitInstitute of Computer Systems and Data Science

Course developer

author lect.

Ingus Šmits

Mg. sc. ing.

Replaced course

InfTB004 [GINTB004] Programming Basics

Course abstract

The development, construction principles and history of programming languages are examined in this course. Students are introduced to the basic elements of a programming language - data types, variables, conditional operators, cycle, arrays and functions. In practical exercises students create simple programs in programming languages C# and Python

Learning outcomes and their assessment

As a result of the study course acquirement students:
• know about basic programming principles (defense of practical assignments);
• have skills in writing and debugging programs, using good programming style (practical assignments, test);
• are able to write and debug independently programs for simple calculations, as well as data processing tasks, without using a data base management system (defense of practical assignments, test).

Course Content(Calendar)

Full-time studies:
1. Introductory lecture. Development of programming languages (comparison of programming languages Python and C#) (1h)
2. Program structure in C # and Python4. Variables (C # and Python) (1h)
3. Program structure in C # and Python4. Variables (C # and Python) (1h)
5. Operations (1h)
6. Algorithm (1h)
7. Conditional operators (1h)
8. Cycle operators while and do..while (1h)
9. Cycle Operator For (1h)
10. Downstream cycle operators (1h)
11. One-dimensional arrays (1h)
12. Basic operations with one-dimensional arrays (1h)
13. Working with the symbol line type (1h)
14. Two-dimensional arrays (1h)
15. Basic operations with a two-dimensional array (1h)
16. Basic operations with a two-dimensional array (1h)

Part-time studies:
All topics specified for full-time studies are implemented, but the number of contact hours is 1/2 of the specified number of hours

Requirements for awarding credit points

Test with a mark
In order to receive a positive evaluation of the course, it is necessary to attend at least 50% of practical classes per semester.

Description of the organization and tasks of students’ independent work

During the practical classes, together with the teacher, the execution of tasks is started, which must be completed independently until the next lesson. At the beginning of each lesson, students submit an independently developed program code and explain the principles of the program. The submitted tasks are accepted if the program works in accordance with the requirements and the student is able to explain the principles of the program and answer the teacher's questions.

Criteria for Evaluating Learning Outcomes

Practical works are evaluated with passed / failed.
The final grade is formed as an accumulative assessment of two parts - assessment of practical works (60%), assessment of test (40%).
If all practical works are assessed as completed and passed, the course evaluation is 6 points. An additional 4 points can be obtained by completing the test tasks during the session.

Compulsory reading

1.Troelsen A., C# 2010 and the .NET Platform. 5th edition. New York, NY: Apress, 2010. 1712 p.
2. David S. P., Introducing Microsoft .NET 3rd ed. Microsoft Press, 2003. (Pieejama pie kursa atbildīgā mācībspēka)
3. Petzold C., Programming Microsoft Windows with C#, Microsoft Press, 2001. (Pieejama pie kursa atbildīgā mācībspēka)

Further reading

1. C# Introduction [tiešsaiste] [skatīts 18.01.2022.]. Pieejams:
2. Python Introduction [tiešsaiste] [skatīts 18.01.2022.]. Pieejams:


Professional higher education bachelor study program “Geoinformatics and Remote Sensing” in full-time and part-time studies