Course code DatZ1010

Credit points 2

Introduction to Programming II

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.

Prior knowledge

DatZ1009, Introduction to Programming I

Course abstract

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#

Learning outcomes and their assessment

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).

Course Content(Calendar)

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)

Requirements for awarding credit points

It is necessary to attend at least 50% of the practical classes. Must have a written exam task.

Description of the organization and tasks of students’ independent work

During the semester, students must complete the practical work using the assignment descriptions, in consultation with the head of laboratory work and the lecturer.

Criteria for Evaluating Learning Outcomes

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%).

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: 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

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: https://learn.microsoft.com/en-us/dotnet/

Periodicals and other sources

• 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/

Notes

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