Principles of Programming Languages
IPP Acad. year 2023/2024 Summer semester 5 credits
The course offers a basic classification of programming languages with a more detailed explanation of imperative and declarative languages. Explaining imperative paradigm, it will be presented non-structured, structured (both block and modular), and object-oriented programming languages. Design patterns are presented as a programming technique. A brief introduction into functional and logic programming will be studied during the explanation of the declarative paradigm. The underlying theories are discussed too. Students will also be given an introduction to processing (translation) of presented programming paradigms/languages.
Language of instruction
- 39 hrs lectures
- 13 hrs projects
- 60 pts final exam (written part)
- 20 pts mid-term test (written part)
- 20 pts projects
To give an overview: of existing programming paradigms, of the range of existing programming languages and their classification, and of requirements on programming language usage, analysis, and translation.
Students will be able to classify programming languages. They will be able to use a given programming paradigm on a certain level too. Moreover, basic analysis and compilation issues will be clarified as well. Usage of selected design patterns.
Why is the course taught
IT bachelors should understand principals of program representation in run-time, what categories of programming languages are available, what one can expect from a particular programming language. Moreover, a deeper understanding of processing and implementation of object paradigm and design patterns is necessary and required as an outcome too.
Prerequisite knowledge and skills
Formal languages and their models, grammars, automata; translation/analysis of formal languages. Focus on regular and context-free languages and their models, grammars, automata and processing.
- Lecture notes in PDF file
- Kolář, D.: Principy programovacích jazyků a objektově orientovaného programování - I, studijní opora pro kombinované studium, modul IPP I, VUT FIT, 2006
- Křivka, Z., Kolář, D.: Principy programovacích jazyků a objektově orientovaného programování - II, studijní opora pro kombinované studium, modul IPP II, VUT FIT, 2008
- Kolář, D.: Principy programovacích jazyků a objektově orientovaného programování - III, studijní opora pro kombinované studium, modul IPP III, VUT FIT, 2006
- Sebesta R.W.: Concepts of Programming Languages, 4th edition, ADDISON-WESLEY, 1999, ISBN 0-201-38596-1
- MacLennan, B.J.: Principles of Programming Languages: Design, Evaluation, and Implementation (3rd Edition). Oxford University Press, 1999
- Lee, D.K.: Foundations of Programming Languages, Second Edition, Springer, 2017
Syllabus of lectures
- Introduction, the definition of used terms
- Imperative languages, non-structured programming languages
- Block-structured programming languages
- Modular languages
- Object-oriented languages
- Some specialities of object-oriented programming languages
- Design patterns
- Declarative languages, lambda calculus
- Functional programming languages
- Logical programming languages
- Another declarative programming languages, their comparison
- Main differences in usage and implementation of declarative and imperative programming languages
- Conclusion, discussion of the follow-up courses
Syllabus - others, projects and individual work of students
A simple program or programs/scripts implemented in the given programming language together with relevant documentation.
- Mid-term exam, for which there is only one schedule and, thus, there is no possibility to have another trial - 20 points.
- One project should be solved and delivered in given deadlines during a term - 20 points.
- Mid-term exam - written form, a test, where answers are given in full sentences, no possibility to have a second/alternative trial. (20 points)
- Projects realization - 1 project (program(s) development according to a given specification) with appropriate documentation. (20 points)
- Final exam - written form, a test, where answers are given in full sentences, 2 another corrections trials possible. (60 points - the minimal number of points which can be obtained from the final exam is 25, otherwise, no points will be assigned to a student.)
At the end of a term, a student should have at least 50% of points that he or she could obtain during the term; that means at least 20 points out of 40.
Plagiarism and not allowed cooperation will cause that involved students are not classified and disciplinary action can be initiated.
|Mon||lecture||1., 5., 6., 7., 8., 10., 11., 12., 13. of lectures||E104 E105 E112||08:00||10:50||294||2BIB 3BIT||xx 20 - 29||Kolář|
|Mon||lecture||2., 3., 4. of lectures||E104 E105 E112||08:00||10:50||294||2BIB 3BIT||xx 20 - 29||Křivka|
|Tue||lecture||1., 5., 6., 7., 8., 9., 11., 12., 13. of lectures||E104 E105 E112||10:00||12:50||294||2BIA 3BIT||xx 10 - 19||Kolář|
|Tue||lecture||2., 3., 4., 10. of lectures||E104 E105 E112||10:00||12:50||294||2BIA 3BIT||xx 10 - 19||Křivka|
Course inclusion in study plans