Course unit code:
Course unit title:
Programming II
Mode of delivery, planned learning activities and teaching methods:
lecture – 1 hour weekly (on-site method)
seminar – 2 hours weekly (on-site method)
Credits allocated:
Recommended semester:
Automation, Information Engineering and Management in Chemistry and Food Industry – bachelor (full-time, attendance method), 6. semester
Level of study:
Prerequisites for registration:
Assesment methods:
Learning outcomes of the course unit:
Students should learn to develop learned basic programming in C/C++. Working with arrays and matrices, initialization and allocation of arrays. Input and output to a file, work with command line. Working with strings and simple data structures. Familiarity with the structures. Design and implementation of custom algorithms.
Course contents:
1. Basics of working with pointers (allowance 3/6)
a. Pointer type variable, pointer's properties
b. Pointers as function arguments, pointers to function
c. Pointers arithmetic, sizeof operator

2. Dynamic memory allocation and release (allowance 3/6)
a. Memory allocation (malloc(), calloc(), realloc())
b. Memory release (free(), cfree())
c. Definition of one and multi dimensional dynamic fields

3. Structures and working with structures. (allowance 3/6)
a. Structure definition and properties
b. Pointer to structure, structure in structure
c. Structures and functions

4. Comparative, sorting and graphs algorithms (allowance 3/6)
a. Bubble sort
b. Quick sort
c. Heap sort
d. Simple graph algorithms

Language of instruction:
Slovak, English
Assessed students in total:

A 56.5 %

B 21.7 %

C 17.4 %

D 0 %

E 4.4 %

FX 0 %

Name of lecturer(s):
P. Bakaráč, M. Kvasnica (2017/2018 – Winter)
J. Holaza, M. Kvasnica (2016/2017 – Winter)
J. Drgoňa, M. Kvasnica (2015/2016 – Winter)
Course supervisor:
doc. Ing. Michal Kvasnica, PhD.
Last modification:
16. 1. 2018

Department of Mathematics

AIS: 2017/2018  

Facebook / Youtube

Facebook / Youtube