IB015 Non-Imperative Programming

Faculty of Informatics
Autumn 2021
Extent and Intensity
2/1/1. 4 credit(s) (plus extra credits for completion). Type of Completion: zk (examination).
Teacher(s)
prof. RNDr. Jiří Barnat, Ph.D. (lecturer)
Jakub Arbet (seminar tutor)
Mgr. Jakub Balabán (seminar tutor)
Mgr. František Bráblík (seminar tutor)
Bc. Matej Dipčár (seminar tutor)
Bc. Matej Focko (seminar tutor)
Mgr. et Mgr. Vladimír Chlup (seminar tutor)
Mgr. Tomáš Janoušek (seminar tutor)
Mgr. Jan Jedelský (seminar tutor)
Mgr. Daniela Krúželová (seminar tutor)
Mgr. Adam Matoušek (seminar tutor)
Mgr. Henrieta Micheľová (seminar tutor)
RNDr. Jan Mrázek (seminar tutor)
Mgr. Patrick Ondika (seminar tutor)
Mgr. David Pavlík (seminar tutor)
Mgr. Anna Řechtáčková (seminar tutor)
Ondřej Sojka (seminar tutor)
Mgr. Tomáš Szaniszlo (seminar tutor)
Bc. Jakub Szymsza (seminar tutor)
Bc. Jakub Šárník (seminar tutor)
RNDr. Vladimír Štill, Ph.D. (seminar tutor)
Bc. Dávid Šutor (seminar tutor)
RNDr. Martin Jonáš, Ph.D. (assistant)
Mgr. Juraj Major (assistant)
Mgr. Ondřej Svoboda (assistant)
Guaranteed by
prof. RNDr. Jiří Barnat, Ph.D.
Department of Computer Science – Faculty of Informatics
Contact Person: prof. RNDr. Jiří Barnat, Ph.D.
Supplier department: Department of Computer Science – Faculty of Informatics
Timetable
Tue 14. 9. to Tue 7. 12. Tue 12:00–13:50 D1
  • Timetable of Seminar Groups:
IB015/01: Tue 14. 9. to Tue 7. 12. each odd Tuesday 10:00–11:50 B130, A. Řechtáčková, V. Štill
IB015/02: Tue 14. 9. 10:00–11:50 B130, Tue 21. 9. 10:00–11:50 B130, Tue 5. 10. 10:00–11:50 B130, Tue 19. 10. 10:00–11:50 B130, Tue 2. 11. 10:00–11:50 B130, Tue 16. 11. 10:00–11:50 B130, Tue 30. 11. 10:00–11:50 B130, A. Řechtáčková, V. Štill
IB015/03: Mon 13. 9. to Mon 6. 12. each odd Monday 10:00–11:50 B130, T. Janoušek, V. Štill
IB015/04: Mon 13. 9. 10:00–11:50 B130, Mon 20. 9. 10:00–11:50 B130, Mon 4. 10. 10:00–11:50 B130, Mon 18. 10. 10:00–11:50 B130, Mon 1. 11. 10:00–11:50 B130, Mon 15. 11. 10:00–11:50 B130, Mon 29. 11. 10:00–11:50 B130, T. Janoušek, V. Štill
IB015/05: Mon 13. 9. to Mon 6. 12. each odd Monday 12:00–13:50 B130, H. Micheľová, P. Ondika
IB015/06: Mon 13. 9. 12:00–13:50 B130, Mon 20. 9. 12:00–13:50 B130, Mon 4. 10. 12:00–13:50 B130, Mon 18. 10. 12:00–13:50 B130, Mon 1. 11. 12:00–13:50 B130, Mon 15. 11. 12:00–13:50 B130, Mon 29. 11. 12:00–13:50 B130, H. Micheľová, P. Ondika
IB015/07: Wed 15. 9. to Wed 8. 12. each odd Wednesday 12:00–13:50 B130, H. Micheľová, J. Szymsza
IB015/08: Wed 15. 9. 12:00–13:50 B130, Wed 22. 9. 12:00–13:50 B130, Wed 6. 10. 12:00–13:50 B130, Wed 20. 10. 12:00–13:50 B130, Wed 3. 11. 12:00–13:50 B130, Wed 1. 12. 12:00–13:50 B130, H. Micheľová, J. Szymsza
IB015/09: Wed 15. 9. to Wed 8. 12. each odd Wednesday 8:00–9:50 B130, V. Chlup, O. Sojka
IB015/10: Wed 15. 9. 8:00–9:50 B130, Wed 22. 9. 8:00–9:50 B130, Wed 6. 10. 8:00–9:50 B130, Wed 20. 10. 8:00–9:50 B130, Wed 3. 11. 8:00–9:50 B130, Wed 1. 12. 8:00–9:50 B130, V. Chlup, O. Sojka
IB015/11: Thu 16. 9. to Thu 9. 12. each odd Thursday 16:00–17:50 B130, J. Arbet, V. Chlup
IB015/12: Thu 16. 9. 16:00–17:50 B130, Thu 23. 9. 16:00–17:50 B130, Thu 7. 10. 16:00–17:50 B130, Thu 21. 10. 16:00–17:50 B130, Thu 4. 11. 16:00–17:50 B130, Thu 18. 11. 16:00–17:50 B130, Thu 2. 12. 16:00–17:50 B130, J. Arbet, V. Chlup
IB015/13: Thu 16. 9. to Thu 9. 12. each odd Thursday 10:00–11:50 B130, F. Bráblík, J. Mrázek
IB015/14: Thu 16. 9. 10:00–11:50 B130, Thu 23. 9. 10:00–11:50 B130, Thu 7. 10. 10:00–11:50 B130, Thu 21. 10. 10:00–11:50 B130, Thu 4. 11. 10:00–11:50 B130, Thu 18. 11. 10:00–11:50 B130, Thu 2. 12. 10:00–11:50 B130, F. Bráblík, J. Mrázek
IB015/15: Tue 14. 9. to Tue 7. 12. each odd Tuesday 14:00–15:50 B130, J. Jedelský, A. Matoušek
IB015/16: Tue 14. 9. 14:00–15:50 B130, Tue 21. 9. 14:00–15:50 B130, Tue 5. 10. 14:00–15:50 B130, Tue 19. 10. 14:00–15:50 B130, Tue 2. 11. 14:00–15:50 B130, Tue 16. 11. 14:00–15:50 B130, Tue 30. 11. 14:00–15:50 B130, J. Jedelský, A. Matoušek
IB015/17: Tue 14. 9. to Tue 7. 12. each odd Tuesday 16:00–17:50 B130, M. Dipčár, T. Szaniszlo
IB015/18: Tue 14. 9. 16:00–17:50 B130, Tue 21. 9. 16:00–17:50 B130, Tue 5. 10. 16:00–17:50 B130, Tue 19. 10. 16:00–17:50 B130, Tue 2. 11. 16:00–17:50 B130, Tue 16. 11. 16:00–17:50 B130, Tue 30. 11. 16:00–17:50 B130, M. Dipčár, T. Szaniszlo
IB015/19: Wed 15. 9. to Wed 8. 12. each odd Wednesday 18:00–19:50 B130, M. Focko, D. Pavlík
IB015/20: Wed 15. 9. 18:00–19:50 B130, Wed 22. 9. 18:00–19:50 B130, Wed 6. 10. 18:00–19:50 B130, Wed 20. 10. 18:00–19:50 B130, Wed 3. 11. 18:00–19:50 B130, Wed 1. 12. 18:00–19:50 B130, M. Focko, D. Pavlík
IB015/21: Tue 14. 9. to Tue 7. 12. each odd Tuesday 8:00–9:50 B130, D. Krúželová, J. Šárník
IB015/22: Tue 14. 9. 8:00–9:50 B130, Tue 21. 9. 8:00–9:50 B130, Tue 5. 10. 8:00–9:50 B130, Tue 19. 10. 8:00–9:50 B130, Tue 2. 11. 8:00–9:50 B130, Tue 16. 11. 8:00–9:50 B130, Tue 30. 11. 8:00–9:50 B130, D. Krúželová, J. Šárník
IB015/23: Fri 17. 9. to Fri 10. 12. each odd Friday 10:00–11:50 B130, J. Balabán, D. Šutor
IB015/24: Fri 17. 9. 10:00–11:50 B130, Fri 24. 9. 10:00–11:50 B130, Fri 8. 10. 10:00–11:50 B130, Fri 22. 10. 10:00–11:50 B130, Fri 5. 11. 10:00–11:50 B130, Fri 19. 11. 10:00–11:50 B130, Fri 3. 12. 10:00–11:50 B130, J. Balabán, D. Šutor
IB015/ne: No timetable has been entered into IS. J. Barnat
Prerequisites
There are no special prerequisities apart from the basic math skills (on the secondary-school level), and certain aptitude for abstract reasoning.
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
there are 54 fields of study the course is directly associated with, display
Course objectives
On successful completion of the course, students will understand functional and logic programming paradigms. Programming languages enforcing declarative way of description of an algorithm bring on programming habits that the students will be able to use in practice later on when implementing large applications using even imperative languages.
Learning outcomes
After graduation students will: - understand fundaments of functional programming, - be able to decompose computational problems to individual functions and apply this ability for design and implementation of programs even in imperative programming languages, - have basic knowledge of Haskell programming language - be able to design and implement recursive functions, - be able to work with recursively defined data structures.
Syllabus
  • Functional computational paradigm and Haskell
  •   Functions in programming;
  •   Lists, Types and Recursion
  •   Functions of higher rank, Lambda functions
  •   Accumulators, Type definitions, Input/Output
  •   Reduction strategy, Infinite lists
  •   Relation of recursion and induction, Recursive data types
  •   Time complexity of computation, Type classes, Modules
  •   Functional solutions od some problems
  • Logical computational paradigm and Prolog
  •   Non-imperative programming in Prologu
  •   Lists, Arithmetics, Tail rekursion in Prologu
  •   Cuts, Input-Output, All solutions
  •   An Introduction to Constraint Solving Programming
Literature
  • THOMPSON, Simon. Haskell :the craft of functional programming. Harlow: Addison-Wesley, 1996, xx, 500 s. ISBN 0-201-40357-9. info
  • LIPOVAČA, Miran. Learn You a Haskell for Great Good!: A Beginner's Guide. First Edition. San Francisco, CA, USA: No Starch Press, 2011, 400 pp. ISBN 978-1-59327-283-8. URL info
  • BLACKBURN, Patrick and Johan BOS. Learn Prolog Now! London: College Publications, 2016. Texts in Computing, volume 7. ISBN 1-904987-17-6. URL info
Bookmarks
https://is.muni.cz/ln/tag/FI:IB015!
Teaching methods
The course is organized as a series of lectures and homeworks, plus a set of voluntary exercises, where the students get practice with solving various problems.
Assessment methods
The evaluation consists of a final written test that have two parts, obligatory and voluntary. To complete successfully with "E", the student have to pass the obligatory part of the final test and collect some minimal amount of points from the homeworks. The final grade can be further improved by additional points from the homeworks and selected exercises during practicals.
Language of instruction
Czech
Follow-Up Courses
Further Comments
Study Materials
The course is taught annually.
Listed among pre-requisites of other courses
The course is also listed under the following terms Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2005, Autumn 2006, Autumn 2007, Spring 2008, Autumn 2008, Spring 2009, Autumn 2009, Spring 2010, Autumn 2010, Spring 2011, Autumn 2011, Spring 2012, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, Autumn 2017, Autumn 2018, Autumn 2019, Autumn 2020, Autumn 2022, Autumn 2023, Autumn 2024.
  • Enrolment Statistics (Autumn 2021, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn2021/IB015