# FI:IB015 Non-Imperative Programming - Course Information

## IB015 Non-Imperative Programming

**Faculty of Informatics**

Autumn 2019

**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)

Mgr. Adam Fiedler (seminar tutor)

Mgr. Vladimír Chlup (seminar tutor)

Bc. Marek Kadlčík (seminar tutor)

Mgr. Slavomír Katkin (seminar tutor)

Mgr. Simona Katkinová (seminar tutor)

Mgr. Matúš Kropuch (seminar tutor)

Mgr. Daniela Krúželová (seminar tutor)

Mgr. Martin Kurečka (seminar tutor)

Mgr. Juraj Major (seminar tutor)

Mgr. Adam Matoušek (seminar tutor)

Mgr. Henrieta Micheľová (seminar tutor)

RNDr. Jan Mrázek (seminar tutor)

Mgr. Anna Řechtáčková (seminar tutor)

Mgr. Tomáš Szaniszlo (seminar tutor)

Bc. Ondřej Šebek (seminar tutor)

Mgr. Adam Štěpánek (seminar tutor)

RNDr. Vladimír Štill, Ph.D. (seminar tutor)

Mgr. Lukáš Zaoral (seminar tutor)

Mgr. Libor Caha, PhD. (assistant)

RNDr. Martin Jonáš, Ph.D. (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**- Mon 16:00–17:50 D3, Mon 16:00–17:50 D1, Tue 12:00–13:50 D1, Tue 12:00–13:50 D3, except Tue 8. 10. ; and Tue 8. 10. 12:00–13:50 D3, 12:00–13:50 D2
- Timetable of Seminar Groups:

*A. Řechtáčková, T. Szaniszlo*

IB015/02: each even Wednesday 18:00–19:50 B130,*A. Řechtáčková, T. Szaniszlo*

IB015/03: each odd Monday 14:00–15:50 B130,*D. Krúželová, J. Major*

IB015/04: each even Monday 14:00–15:50 B130,*D. Krúželová, J. Major*

IB015/05: each odd Tuesday 10:00–11:50 B130,*A. Fiedler, M. Kropuch*

IB015/06: each even Tuesday 10:00–11:50 B130,*A. Fiedler, M. Kropuch*

IB015/07: each odd Wednesday 14:00–15:50 B130,*V. Chlup, A. Štěpánek*

IB015/08: each even Wednesday 14:00–15:50 B130,*V. Chlup, A. Štěpánek*

IB015/09: each odd Wednesday 16:00–17:50 B130,*M. Kurečka, H. Micheľová*

IB015/10: each even Wednesday 16:00–17:50 B130,*M. Kurečka, H. Micheľová*

IB015/11: Mon 16. 9. to Tue 10. 12. each odd Tuesday 16:00–17:50 B130,*D. Krúželová, L. Zaoral*

IB015/12: each even Tuesday 16:00–17:50 B130,*D. Krúželová, L. Zaoral*

IB015/13: each odd Tuesday 14:00–15:50 B130,*A. Matoušek, O. Šebek*

IB015/14: each even Tuesday 14:00–15:50 B130,*A. Matoušek, O. Šebek*

IB015/15: each odd Thursday 10:00–11:50 B130,*S. Katkin, S. Katkinová*

IB015/16: each even Thursday 10:00–11:50 B130,*S. Katkin, S. Katkinová*

IB015/17: each odd Wednesday 10:00–11:50 B130,*M. Kadlčík, J. Mrázek*

IB015/18: each even Wednesday 10:00–11:50 B130,*M. Kadlčík, J. Mrázek*

IB015/19: each odd Tuesday 12:00–13:50 B130,*V. Chlup, O. Šebek*

IB015/20: each even Tuesday 12:00–13:50 B130,*V. Chlup, O. Šebek*

IB015/21: each odd Wednesday 12:00–13:50 B130,*H. Micheľová, T. Szaniszlo*

IB015/22: each even Wednesday 12:00–13:50 B130,*H. Micheľová, T. Szaniszlo*

IB015/23: 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

- THOMPSON, Simon.
**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 (probably available only in Czech)**- Study Materials

The course is taught annually.

General note: https://is.muni.cz/auth/el/fi/podzim2019/IB015/index.qwarp. **Listed among pre-requisites of other courses**

- Enrolment Statistics (Autumn 2019, recent)
- Permalink: https://is.muni.cz/course/fi/autumn2019/IB015