The course Programming provides an introduction to computer programming starting from basic concepts (computability, algorithms, 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, branch and bound, …) and programming (procedural, functional, parallel, …) paradigms. The examples will be given in a restricted programming environment before going to the wild and practiced in small groups of students allowing an individual approach. Within the course students may access high-performance computer center Troja.
Last update: Uhlík Filip, doc. RNDr., Ph.D. (29.12.2022)
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, doc. RNDr., Ph.D. (01.03.2024)
Requirements to the exam
The course is finished by a small individual software project that upon successful completion is followed by an oral examination.
Last update: Ušelová Kateřina, RNDr., Ph.D. (31.01.2022)
Syllabus
What are algorithms, data structures and programs?
First programs in safe environment
Describing and analyzing algorithms (programming languages, procedural and functional programming, invariants)
Program flow (if, loop, functions, operators, expressions, variables, assignment)