Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/kos.fs.cvut.cz/web/lib_locale.php on line 9

Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/kos.fs.cvut.cz/web/lib_locale.php on line 11
KOS.FS - fakultní nadstavba
  česky  čs
english  en
Algorithms for Engineering Informatics (E371014)
Katedra:ústav přístrojové a řídící techniky (12110)
Zkratka:Schválen:24.02.2009
Platí do: ??Rozsah:2P+2C
Semestr:L,ZKredity:5
Zakončení:Z,ZKJazyk výuky:EN
Anotace
Basic introduction into Java (tasks can be solved in any language; Pascal/Delphi course alternatively for who is interested). Algorithms with numbers - divide-and-conquer algorithms, recurrence relations, the fast Fourier transform. Big-O notation. Sorting algorithms - bubble sort, insert sort, selection sort, heap sort, quick sort, mergesort. Graphs - depth-first search in undirected graph, depth-first search in directed graphs, strongly connected components. Paths in graphs - distances, breadth-first search, lengths on edges, Dijkstra's algorithm, priority queue implementations, shortest paths in the presence of negative edges, shortest paths in dags. Greedy algorithms - minimum spanning trees, Huffman encoding.


Vyučující
Ing. Vladimír Hlaváč Ph.D.
Letní 2023/2024
Ing. Vladimír Hlaváč Ph.D.
Letní 2022/2023
Ing. Vladimír Hlaváč Ph.D.
Letní 2021/2022
Osnova
Introduction into Java programming (all examples in Java).
Theory of algorithms. Complexity of algorithms. Big-O notation.
Mathematical algorithms - multiplication of two matrices, the greatest common divisor, the least common multiple ( LCM ) , Euclid's algorithm.
Factorial, recursion, factorization.
Divide-and-conquer algorithms, recurrence relations, the fast Fourier transform.
Sorting algorithms - bubble sort, combo sort, insert sort, selection sort, heap sort, quick sort, mergesort. Counting sort.
Data structures, linked lists (stack, circular queue), trees (binary, AVL, red-black; B-trees).
Graphs and graph algorithms - terminology, notation , theory, breadth-first search (BFS), depth-first search (DFS), minimum spanning tree.
Paths in graphs - distances, breadth-first search, lengths on edges, Dijkstra's algorithm, priority queue implementations, shortest paths in the presence of negative edges, shortest paths in dags (directed acyclic graphs). Greedy algorithms - minimum spanning trees, Huffman encoding, Horn formulas.
Cryptography - historical ciphers, search primes, factorization, symmetric ciphers.
Osnova cvičení
Introduction into running applications in 308 laboratory, students' accounts.
Simple application. Constants. Simple types, structured types incl. arrays, records, sets, files. Variables. Basics of programming language.
Sorting. Handling events and exceptions.
Printing from Java applications, I/O operations.
Dynamic data structures: stack, queue, linked list, tree.
Binary tree, AVL tree, B-tree.
Graph algorithms.
Each student will be submitted 3 practical excercises to solve, in the range of lectures. Their solutions will create part of the final classification.
Literatura
Study materials including lecture slides and preparations are provided by lecturer.
Požadavky
The course strongly assumes prior knowledge of programming.

For the Exams: knowledge prescribed in lectures. The exam has a practical and oral parts. The practical part of the exam - write and debug a simple program on given task.

For Assessment, the student receies three tasks to program.
Klíčová slova
algorithms, searching, sorting, linked list, tree, recurrence, graphs
data online/KOS/FS :: [Helpdesk] (hlášení problémů) :: [Obnovit] [Tisk] [Tisk na šířku] © 2011-2022 [CPS] v3.8 (master/4ba2e75e/2023-03-03/01:20)