- Course unit code:
- 427P0_4B
- 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:
- 4
- Recommended semester:
- Automation, Information Engineering and Management in Chemistry and Food Industry – bachelor (full-time, attendance method), 6. semester
- Level of study:
- 1.
- Prerequisites for registration:
- none
- Assesment methods:
- Test
- 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:
37
A 59.5 %
B 27 %
C 10.8 %
D 0 %
E 2.7 %
FX 0 %
- Name of lecturer(s):
- P. Valábek (2024/2025 – Winter)
R. Kohút (2023/2024 – Winter)
R. Kohút (2022/2023 – Winter)
R. Kohút, M. Kvasnica (2020/2021 – Winter)
K. Kiš, M. Kvasnica (2019/2020 – Winter)
P. Bakaráč, M. Kvasnica (2018/2019 – Winter)
P. Bakaráč, M. Kvasnica (2017/2018 – Winter)
J. Holaza, M. Kvasnica (2016/2017 – Winter)
J. Drgoňa, M. Kvasnica (2015/2016 – Winter)
- Course supervisor:
- prof. Ing. Michal Kvasnica, PhD.
- Last modification:
- 19. 9. 2019
Department:
Department of Information Engineering and Process Control
AIS: 2019/2020
2018/2019
2017/2018