Programming and Algorithmics 1
Code | Completion | Credits | Range | Language |
---|---|---|---|---|
BIE-PA1.21 | Z,ZK | 7 | 2P+2R+2C | English |
- Garant předmětu:
- Jan Trávníček
- Lecturer:
- Jan Trávníček
- Tutor:
- David Bernhauer, Tomáš Dejmek, Radek Hušek, František Kovář, Tomáš Krupička, Milan Špinka, Jan Trávníček, Ladislav Vagner, Josef Vogel
- Supervisor:
- Department of Theoretical Computer Science
- Synopsis:
-
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.
- Requirements:
-
None.
- Syllabus of lectures:
-
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.
- Syllabus of tutorials:
-
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.
- Study Objective:
-
The module provides fundamental algorithmics and procedural programming skills that are crucial for further studying.
- Study materials:
-
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.
- Note:
- Further information:
- https://courses.fit.cvut.cz/BIE-PA1/
- Time-table for winter semester 2024/2025:
- Time-table is not available yet
- Time-table for summer semester 2024/2025:
- Time-table is not available yet
- The course is a part of the following study plans:
-
- Bachelor specialization, Computer Engineering, 2021 (compulsory course in the program)
- Bachelor specialization, Information Security, 2021 (compulsory course in the program)
- Bachelor specialization, Software Engineering, 2021 (compulsory course in the program)
- Bachelor specialization, Computer Science, 2021 (compulsory course in the program)
- Bachelor specialization, Computer Networks and Internet, 2021 (compulsory course in the program)
- Bachelor specialization Computer Systems and Virtualization, 2021 (compulsory course in the program)