Course code InfTB004

Credit points 5

Programming Basics

Total Hours in Course56

Number of hours for lectures16

Number of hours for seminars and practical classes40

Number of hours for laboratory classes0

Independent study hours79

Date of course confirmation13.12.2023

Responsible UnitInstitute of Computer Systems and Data Science

Course developer

author lect.

Kārlis Veiss

Mg. paed.

Replaced course

InfT3044 [GINT3044] Programming Basics

Course abstract

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

Learning outcomes and their assessment

Knowledge - knows the basic principles of programming (defense of practical works);
Skills – know how to create program code and debugs programs, use a good programming style (practical work, test work);
Competencies - to create program code and make its debugs for performing simple calculations and data processing tasks (defense of practical works, test work)

Course Content(Calendar)

Full-time studies:
1. Development and characteristics of programming languages (Lecture – 1 h).
2. Creation and execution of a C# program (Lecture – 1 h, practical work – 4 h).
3. C# variables, constants and literals (Lecture – 1 h, practical works – 2 h),
4. C# operators (Lecture – 1 h, practical works – 4 h)
5. Implementation of mathematical functions in C# (Lecture – 1 h, practical works – 2 h)
6. C# condition statements (Lecture – 1 h, practical works – 2 h)
7. C# cycle instructions (Lecture – 1 h, practical works – 2 h)
8. C# subordinate cycle instructions For (Lecture – 1 h, practical exercises – 2 h)
9. C# one-dimensional arrays (Lecture – 1 h, practical works – 2 h)
10. C# two-dimensional arrays (Lecture – 1 h, practical works – 2 h)
11. C# character strings (Lecture – 1 h, practical works – 2 h)
12. Creating C# methods (Lecture – 1 h, practical works – 2 h)
13. Python program structure and data types (Lecture – 1 h, practical works – 2 h)
14. Python operators and mathematical functions (Lecture – 1 h, practical works – 2 h)
15. Python conditionals (Lecture – 1 h, practical works – 2 h)
16. Python cycle instructions (Lecture – 1 h, practical works – 2 h)
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

Exam.
Must have passed practical works and test work.

Description of the organization and tasks of students’ independent work

Completion of tasks started during practical lessons until the next lesson. Preparation for test work.

Criteria for Evaluating Learning Outcomes

Exam mark is the cumulative evaluation from two parts - credited practical works (60%), evaluation of the test work (40%).

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: https://www.w3schools.com/cs/cs_intro.php
2. Python Introduction [tiešsaiste] [skatīts 18.01.2022.]. Pieejams: https://www.w3schools.com/python/python_intro.asp

Notes

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