SubjectsSubjects(version: 962)
Course, academic year 2024/2025
   Login via CAS
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: doc. RNDr. Filip Uhlík, Ph.D.
Annotation
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)
  • Programming paradigms (recursion, divide and conquer, dynamic programming, backtracking, greedy algorithms)
  • Data structures
  • Arrays
  • Stacks, queues, lists
  • Trees (representations, traversals, game trees, expression trees)
  • Searching (arrays, 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: Ušelová Kateřina, RNDr., Ph.D. (31.01.2022)
 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html