185.A03 Functional Programming
This course is in all assigned curricula part of the STEOP.
This course is in at least 1 assigned curriculum part of the STEOP.

2019W, VU, 2.0h, 3.0EC, to be held in blocked form

Properties

  • Semester hours: 2.0
  • Credits: 3.0
  • Type: VU Lecture and Exercise

Learning outcomes

After successful completion of the course, students are able to (among others)

  • explain the basic principles and concepts of the functional programming style and its theoretical foundation, to distinguish it from other programming styles like procedural, object-oriented, logical programming, and to identify and illustrate them considering the functional programming language Haskell.
  • solve programming tasks in-the-small by means of task-adequate Haskell programs, to develop expressive test cases to validate these programs, and to execute them using the interpreter Hugs.
  • explain the meaning and evaluation process of Haskell programs in a step-by-step manner for various evaluation orders.
  • reason about the chosen proceeding of programming and non-programming related issues factually and professionally.
  • investigate, assess, and compare Haskell programs with respect to syntactical and semantical correctness, generality, reusability, efficiency and performance properties, and adequate usage of functional language concepts.

This course is held in German. Without sufficient command of the German language you are unlikely to benefit from attending this course.

Subject of course

The course introduces the principles and concepts of functional
programming, where it stretches from the foundations to the
application. Using concrete problems as examples it will be
demonstrated and discussed how to use them for solving problems in the
tutorials complementing the course. Own proposals to solve
specific problems shall be presented and put up for
discussion. Practical assignments as part of the lab tutorial offer
the opportunity to independently apply and practice the functional
programming style, and to gain a deep practical understanding of the
concepts and principles of functional programming. For demonstration
and implementation in course and tutorials the state-of-the-art
functional programming language Haskell is used.

Part I: Introduction

  • Motivation

Part II: Basics

  • Elementary types, tuples, lists, strings
  • Functions
  • Type synonyms, new types, type classes
  • Data type declarations, algebraic types
  • Patterns and more

Part II: Applicative Programming      

  • Recursion
  • Evaluating expressions
  • Program development, program understanding

Part IV: Functional Programming

  • Higher-order functions
  • Polymorphism

Part V: Foundations of Functional Programming

  • Lambda calculus
  • Evaluation orders
  • Type checking, type inference

Part VI: Extensions and Advanced Concepts

  • Input and output
  • Error handling
  • Modules
  • Programming principles, programming with streams and higher-order functions

Part VII: Conclusions, Looking Ahead

  • Conclusions, looking back, looking ahead

References

Appendix

  • Formal models of computation
  • Other functional languages
  • Aspects of Implementation

Selected Reading Recommendations

  • Simon Thompson. Haskell: The Craft of Functional Programming.
    Addison-Wesley/Pearson, 3rd edition, 2011.
  • Ernst-Erich Doberkat. Haskell: Eine Einführung für Objektorientierte.
    Oldenbourg Verlag, 2012.
  • Peter Pepper. Funktionale Programmierung in OPAL, ML, Haskell und Gofer.
    Springer-V., 2nd edition, 2003.
  • Simon Peyton Jones (Edt.). Haskell 98: Language and Libraries.
    The Revised Report. Cambridge University Press, 2003.

Teaching methods

  • Guided self-dependent learning and practicing: guided by means of lecture and flipped classroom sessions, the self-dependent learning and practicing of the competencies described in the learning outcomes utilizing lecture notes, theoretical and practical exercises, and further self-reliantly chosen material from text books, tutorials, and scientific articles proposed for further reading.
  • Role model and feedback-oriented learning: Presenting, explaining, comparing, contrasting, and rating own and others solutions of assignments in tutor-guided tutorials.
  • Self-assessment tests: Tests supporting the regular self-assessment and self-reflection of one's own previous progress and success of learning.

This course is held in German. Without sufficient command of the German language you are unlikely to benefit from attending this course.

Mode of examination

Immanent

Additional information

ECTS Break Down:

The course is assigned 3.0 ECTS points. This corresponds to an average
workload of 75 hours. This average workload is divided among the
various learning activities of the course as follows (the descriptions Part I to Part VII refer to the respective parts of the course notes):

  • Guided learning activities (21.0h)
    • Lecture: 7.0h (7 units * 1.0h)
    • Flipped classroom: 3.5h (7 units * 0.5h)
    • Tutorials: 10.5h (7 units * 1.5h)
  • Independent learning activities (52.5h)
    • Self-dependent acquirement of learning outcomes: 28.0h (Proposal: Part I/3.0h, Part II/4.0h, Part III/4.0h, Part IV/6.0h, Part V/6.0h, Part VI/4.0h, Part VII/1.0h)
    • In particular: Solving assignments: 22.0h (Proposal: 4 Assignments * 2.5h + 3 Assignments * 4.0h)
    • Preparation for the written exam: 2.5h
  • Written exam: 1.5h

The course starts with a preliminary course meeting and the first lecture on Tuesday, 1 October 2019, 08.15am-09.45am, in "Informatik-Hörsaal."

Lecturers

Institute

Course dates

DayTimeDateLocationDescription
Tue08:00 - 10:0001.10.2019 - 17.12.2019Informatikhörsaal Functional Programming
Fri12:00 - 13:0011.10.2019 - 24.01.2020complang-Labor Tutorensprechstunde
Fri14:00 - 15:0011.10.2019 - 10.01.2020Informatikhörsaal Funktionale Programmierung
Thu08:00 - 09:0024.10.2019Informatikhörsaal LVA 185.A03 Funktionale Programmierung / Haskell Live
Functional Programming - Single appointments
DayDateTimeLocationDescription
Tue01.10.201908:00 - 10:00Informatikhörsaal Functional Programming
Tue08.10.201908:00 - 10:00Informatikhörsaal Functional Programming
Fri11.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Fri11.10.201914:00 - 15:00Informatikhörsaal Funktionale Programmierung
Tue15.10.201908:00 - 10:00Informatikhörsaal Functional Programming
Fri18.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Fri18.10.201914:00 - 15:00Informatikhörsaal Funktionale Programmierung
Tue22.10.201908:00 - 10:00Informatikhörsaal Functional Programming
Thu24.10.201908:00 - 09:00Informatikhörsaal LVA 185.A03 Funktionale Programmierung / Haskell Live
Fri25.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Fri25.10.201914:00 - 15:00Informatikhörsaal Funktionale Programmierung
Tue29.10.201908:00 - 10:00Informatikhörsaal Functional Programming
Tue05.11.201908:00 - 10:00Informatikhörsaal Functional Programming
Fri08.11.201912:00 - 13:00complang-Labor Tutorensprechstunde
Fri08.11.201914:00 - 15:00Informatikhörsaal Funktionale Programmierung
Tue12.11.201908:00 - 10:00Informatikhörsaal Functional Programming
Tue19.11.201908:00 - 10:00Informatikhörsaal Functional Programming
Fri22.11.201912:00 - 13:00complang-Labor Tutorensprechstunde
Fri22.11.201914:00 - 15:00Informatikhörsaal Funktionale Programmierung
Tue26.11.201908:00 - 10:00Informatikhörsaal Functional Programming
Course is held blocked

Examination modalities

Assessment of the programming assignments and the written examination
on the lecture and tutorial material.

Detailed information on the assessment procedures and modalities
are given in the notes on the preliminary course meeting (cf. homepage of the course).

Exams

DayTimeDateRoomMode of examinationApplication timeApplication modeExam
Thu16:00 - 18:0016.01.2020EI 7 Hörsaal written09.12.2019 01:00 - 13.01.2020 12:00TISSHaupttermin
Thu16:00 - 18:0016.01.2020EI 3 Sahulka HS written09.12.2019 01:00 - 13.01.2020 12:00TISSHaupttermin
Fri15:00 - 17:0006.03.2020EI 7 Hörsaal written17.02.2020 12:00 - 03.03.2020 23:59TISS2. Termin
Fri15:00 - 17:0008.05.2020HS 11 Paul Ludwik written05.04.2020 12:00 - 28.04.2020 12:00TISS3. Termin
Fri15:00 - 17:0026.06.2020HS 11 Paul Ludwik written22.05.2020 12:00 - 24.06.2020 12:00TISS4. und letzter Termin

Group dates

GroupDayTimeDateLocationDescription
Keine Gruppe IITue15:00 - 16:0029.10.2019complang-Labor -
VorreservierungMon18:00 - 20:0021.10.2019 - 09.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Vorreservierung
VorreservierungMon18:00 - 20:0021.10.2019 - 09.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungTue16:00 - 18:0022.10.2019 - 10.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungTue16:00 - 18:0022.10.2019 - 10.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungTue18:00 - 20:0022.10.2019 - 10.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Vorreservierung
VorreservierungTue18:00 - 20:0022.10.2019 - 10.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungTue18:00 - 20:0022.10.2019 - 10.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungWed18:00 - 20:0023.10.2019 - 11.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungWed18:00 - 20:0023.10.2019 - 11.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Vorreservierung
VorreservierungWed18:00 - 20:0023.10.2019 - 11.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungThu14:00 - 16:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungThu14:00 - 16:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungThu16:00 - 18:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungThu16:00 - 18:0024.10.2019 - 12.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Vorreservierung
VorreservierungThu16:00 - 18:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungThu18:00 - 20:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Vorreservierung
VorreservierungThu18:00 - 20:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Vorreservierung
VorreservierungThu18:00 - 20:0024.10.2019 - 12.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Vorreservierung

Course registration

Begin End Deregistration end
01.09.2019 01:00 04.10.2019 12:00 11.10.2019 12:00

Registration modalities:

Die Anmeldung zur Lehrveranstaltung erfolgt über TISS. Diese ist
maßgeblich für die Teilnahme an der Lehrveranstaltung und unterliegt
den in den Studienplänen genannten Voraussetzungen.

Nach Abschluss der Anmeldeperiode wird für die Studierenden mit
valider Anmeldung ein persönliches Benutzerkonto auf der Maschine
g0.complang.tuwien.ac.at eingerichtet. Benutzerkennung und erstes
Losungswort werden jedem Teilnehmer durch Nachricht an die
Standardadresse <e-Matr.Nr>@student.tuwien.ac.at mitgeteilt. Dieses
erste Losungswort ist im Zuge des ersten Einbuchens auf das
Benutzerkonto durch ein selbstgewähltes neues Zugangswort zu ersetzen.


Group Registration

GroupRegistration FromTo
Keine Gruppe29.10.2019 15:0029.10.2019 16:00
Keine Gruppe II29.10.2019 14:3329.10.2019 15:00
Vorreservierung01.01.2020 00:00

Curricula

Study CodeSemesterPrecon.Info
033 526 Business Informatics STEOP
Course requires the completion of the introductory and orientation phase
033 534 Software & Information Engineering 3. SemesterSTEOP
Course requires the completion of the introductory and orientation phase
033 535 Computer Engineering STEOP
Course requires the completion of the introductory and orientation phase
860 GW Optional Courses - Technical Mathematics STEOP
Course requires the completion of the introductory and orientation phase

Literature

No lecture notes are available.

Previous knowledge

  • General: Mastering of the professional, methodological, cognitive, practical, social and self-competencies instructed in the lectures of the 1st study year on the competency levels to be achieved there.
  • Specifically: Abstract thinking, mathematical-logical thinking and diction.

Preceding courses

Continuative courses

Miscellaneous

Language

German