Code: BIE-PA1.21 Programming and Algorithmics 1
Lecturer: Ing. Jan Trávníček Ph.D. Weekly load: 2P+2R+2C Completion: A, EX
Department: 18101 Credits: 7 Semester: W
Description:
Students learn to construct algorithms for solving basic problems and write them in the C language. They master data types (simple, pointers, structured), expressions, statements, and functions presented in C language. They understand the principle of recursion and basics of algorithm complexity analysis. They know fundamental algorithms for searching, sorting, and manipulating linked lists and trees.
Contents:
1. Algorithms, programs and basic support of SW development.
2. Variables. Input and output in the C language.
3. Floating-point arithmetic. Expressions in the C language.
4. Flow control statements in the C language.
5. Functions in the C language.
6. Arrays and strings in the C language.
7. Structures and pointers in the C language.
8. Pointers and dynamic memory allocation in the C language.
9. Algorithm complexity. Searching and quadratic sorting algorithms.
10. Linked structures and trees in the C language.
11. Recursive algorithms, MergeSort, QuickSort introduction.
12. Working with files. Modular programming in the C language.
13. Abstract data types boolean, complex numbers, queue, stack.
Seminar contents:
1. Numeral systems, conversions. Bit, byte, word, double word. Development environments.
2. Integer types, variables, assignments, I/O. Displaying integers, two's complement code.
3. Real data types. Displaying floating-point numbers. Expressions.
4. Conditional statements.
5. Cycles, processing sequences.
6. Functions.
7. Arrays and strings.
8. Pointers and dynamic variables.
9. Structures.
10. Complexity of algorithms, examples of algorithms with various complexities.
11. Recursive functions.
12. Linked lists.
13. Reserved.
Recommended literature:
1. Cormen T. H., Leiserson C. E., Rivest R. L., Stein C. : Introduction to Algorithms (3rd Edition). MIT Press, 2016. ISBN 978-0262033848.
2. Brassard G., Bratley P. : Fundamentals of Algorithmics (3rd Edition). Pearson, 2015. ISBN 978- 0133350685.
3. Sedgewick R. : Algorithms (4th Edition). Addison Wesley, 2011. ISBN 978-0321573513.
4. Kochan S.G. : Programming in C (4th Edition). Addison-Wesley, 2014. ISBN 978-0321776419.
Keywords:
FIT, programming, C, algorithms

Abbreviations used:

Semester:

Mode of completion of the course:

Weekly load (hours per week):