Programming Paradigms
Code | Completion | Credits | Range | Language |
---|---|---|---|---|
BI-PPA | Z,ZK | 5 | 2P+2R | Czech |
- Course guarantor:
- Lecturer:
- Tutor:
- Supervisor:
- Department of Theoretical Computer Science
- Synopsis:
-
The course deals with basic paradigms of high-level programming languages, including their basic execution models, benefits, and limitations 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.
- Requirements:
-
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.
6. Macros.
7. Functional programming in modern programming languages.
8. [2] Efficient interpretation of functional languages: SECD virtual machine.
10. Programming in logic: Prolog - introduction.
11. Unification, cut operator.
12. [2] 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.
- Note:
- Further information:
- https://courses.fit.cvut.cz/BI-PPA/
- No time-table has been prepared for this course
- The course is a part of the following study plans:
-
- Bachelor program Informatics, unspecified branch, in Czech, 2015-2020 (VO)
- Bachelor branch Security and Information Technology, in Czech, 2015-2020 (elective course)
- Bachelor branch Computer Science, in Czech, 2015-2020 (compulsory course of the specialization)
- Bachelor branch Computer Engineering, in Czech, 2015-2020 (elective course)
- Bachelor branch Information Systems and Management, in Czech, 2015-2020 (elective course)
- Bachelor branch Web and Software Engineering, spec. Software Engineering, in Czech, 2015-2020 (compulsory course of the branch)
- Bachelor branch Web and Software Engineering, spec. Web Engineering, in Czech, 2015-2020 (compulsory course of the branch)
- Bachelor branch Web and Software Engineering, spec. Computer Graphics, in Czech, 2015-2020 (elective course)
- Bachelor branch Knowledge Engineering, in Czech, 2018-2020 (elective course)