Programming - MC260P148
Title: Programming
Guaranteed by: Department of Physical and Macromolecular Chemistry (31-260)
Faculty: Faculty of Science
Actual: from 2024
Semester: summer
E-Credits: 4
Examination process: summer s.:
Hours per week, examination: summer s.:2/1, C+Ex [HT]
Capacity: unlimited
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: taught
Language: English
Note: enabled for web enrollment
priority enrollment if the course is part of the study plan
Guarantor: prof. RNDr. Filip Uhlík, Ph.D.
Teacher(s): Mgr. David Klusáček, Ph.D.
Mgr. Oleg Rud, Ph.D.
prof. RNDr. Filip Uhlík, Ph.D.
Opinion survey results   SS schedule   
Annotation
The course Programming provides an introduction to computer programming starting from basic concepts (algorithms, computability, data structures, programming languages, implementations, computer hardware), developing on fundamental algorithms (searching, sorting, graph algorithms, …) and data structures (lists, arrays, trees, …), describing different algorithmic (divide and conquer, dynamic programming, branch and bound, …) and programming (procedural, functional, parallel, …) paradigms. The examples will be given in Julia programming language and practiced in small groups of students allowing an individual approach. Within the course students may access high-performance computer center in Troja.
Last update: Uhlík Filip, prof. RNDr., Ph.D. (21.12.2025)
Literature

Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein: Introduction to Algorithms, MIT Press, 2022, ISBN 026204630X.
 Ivo Balbaert, Adrian Salceanu: Julia 1.0 Programming Complete Reference Guide: Discover Julia, a high-performance language for technical computing, Packt Publishing, 2019, ISBN 1838822240.
 Jeff Erickson: Algorithms, 2019, ISBN 1792644833.
 Allen Downey, Ben Lauwens: Think Julia: How to Think Like a Computer Scientist, 2018, https://benlauwens.github.io/ThinkJulia.jl/latest/book.html

additional resources can be found at http://11c.cz/j

Last update: Uhlík Filip, prof. RNDr., Ph.D. (21.12.2025)
Requirements to the exam

The course is completed by an individual software project followed by an oral examination. During the oral part students will be questioned about their software projects, asked to make modifications and expected to discuss it in general.

Last update: Uhlík Filip, prof. RNDr., Ph.D. (02.03.2026)
Syllabus

- What are algorithms, data structures and programs?
- First programs in simplified environment
- Describing and analyzing algorithms (programming languages, procedural and functional programming, invariants, proofs)
- Logo graphics (recursion)
- Program flow (ifs, loops, functions, operators, expressions, variables, assignment)
- Programming paradigms (divide and conquer, dynamic programming, backtracking, greedy algorithms)
- Data structures
- Arrays
- Stacks, queues, lists
- Trees (representations, traversals, game trees, expression trees)
- Searching (sequential, binary, searching trees, hashing tables)
- Sorting (n2 methods, nlog n methods)
- Graphs (representations, traversals, shortest path, topological sort, A* search)
- Numbers and their representations (integer, fixed point, floating point)
- What can be computed? (decidability, complexity)

Last update: Uhlík Filip, prof. RNDr., Ph.D. (06.02.2026)
Learning outcomes

Students will be able to explain positional number representations for both integers and real numbers, how to convert between bases, how numbers are represented in computers, what problems are connected with the fixed amount of memory per number. Students will understand variables, operators and expressions. Students will actively write computer programs in Julia using basic constructions if-else, while, for, functions including their recursive calls and how to remove them. Students will understand basic data structures, arrays, lists (stacks and queues in particular), trees, graphs. Students will be able to formulate basic algorithms, implement and test them as well as to prove their correctness and estimate their computational complexity. Basic algorithms will include sequential search, binary search, searching trees, hashing tables, simple sorting methods like select sort or insert sort as well as methods like heap sort, merge sort or quick sort. Students will be able to traverse trees and graphs and solve problems like evaluation of expressions, finding a path, finding the shortest path, number of graph components. Students will learn logo graphics and master recursion.

Last update: Uhlík Filip, prof. RNDr., Ph.D. (06.02.2026)