- Garant předmětu:
- Jan Janoušek
- Jan Janoušek, Petr Máj
- Filip Gregor, Jan Janoušek, Petr Máj, Tomáš Pecka, Jan Sliacký
- Department of Theoretical Computer Science
The course deals with basic paradigms of high-level programming languages, including their basic execution models, benefits, and disadvantages of particular approaches. Functional programming paradigm and its basic principles are explained in details. Logic programming is introduced as another way of declarative programming. The principles are demonstrated on lambda calculus and on Lisp (Racket) and Prolog programming languages. Moreover, usage of these principles is demonstrated on modern mainstream programming languages such as C++ and Java.
Basic knowledge of imperative programming and of OOP (C and C++)
- Syllabus of lectures:
1. High-level programming languages and their paradigms.
2. Basic runtime environment for executing programs.
3. Functional programming: Lambda calculus.
4. Informal introduction to LISP, from Lambda calculus to LISP.
5. Recursion, higher order functions and their composition.
7. Functional programming in modern programming languages.
8.  Efficient interpretation of functional languages: SECD virtual machine.
10. Programming in logic: Prolog - introduction.
11. Unification, cut operator.
12.  More complex examples, graph algorithms in Prolog.
- Syllabus of tutorials:
1. Lambda calculus I
2. Lambda calculus II
3. Lambda calculus III
4. Lisp I
5. Lisp II
6. Lisp III
7. Prolog I
8. Prolog II
- Study Objective:
The goal of the course is to provide an overview of programming paradigms. Basic principles and concepts of high-level programming languages based on the programming paradigms are described and compared. The course deals with functional and logic programming in details. Students should learn both basic theoretical principles and programming practical examples. Principles of implementing programming languages are discussed as well.
- Study materials:
1. Lee K. D. : Foundations of Programming Languages. Springer, 2014. ISBN 978-3-319-13314-0.
2. Hoyte D. : Let Over Lambda. lulu.com, 2008. ISBN 978-1435712751.
3. Brammer M. : Logic Programming with Prolog (2nd Edition). Springer, 2013. ISBN 978-1-4471-5487-7.
4. Weitz E. : Common Lisp Recipes: A Problem-Solution Approach. Apress, 2016. ISBN 978-1-4842-1177-9.
- Further information:
- Time-table for winter semester 2023/2024:
- Time-table is not available yet
- Time-table for summer semester 2023/2024:
- Time-table is not available yet
- The course is a part of the following study plans:
- Bachelor specialization Information Security, in Czech, 2021 (elective course)
- Bachelor specialization Management Informatics, in Czech, 2021 (elective course)
- Bachelor specialization Computer Graphics, in Czech, 2021 (elective course)
- Bachelor specialization Computer Engineering, in Czech, 2021 (elective course)
- Bachelor program, unspecified specialization, in Czech, 2021 (VO)
- Bachelor specialization Web Engineering, in Czech, 2021 (elective course)
- Bachelor specialization Artificial Intelligence, in Czech, 2021 (elective course)
- Bachelor specialization Computer Science, in Czech, 2021 (PS)
- Bachelor specialization Software Engineering, in Czech, 2021 (PS, elective course)
- Bachelor specialization Computer Systems and Virtualization, in Czech, 2021 (elective course)
- Bachelor specialization Computer Networks and Internet, in Czech, 2021 (elective course)