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 - ARCH-INF Functional Programming
Fri12:00 - 13:0011.10.2019 - 17.01.2020complang-Labor Tutorensprechstunde
Mon08:00 - 10:0021.10.2019Informatikhörsaal - ARCH-INF LVA 185.A03 Functional Programming (Replacement Meeting Lecture)
Mon08:00 - 10:0031.08.2020GM 1 Audi. Max.- ARCH-INF LVA 185.A03 Funktionale Programmierung WS19, 4. Prüfungstermin
Functional Programming - Single appointments
DayDateTimeLocationDescription
Tue01.10.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Tue08.10.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri11.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue15.10.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri18.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Mon21.10.201908:00 - 10:00Informatikhörsaal - ARCH-INF LVA 185.A03 Functional Programming (Replacement Meeting Lecture)
Fri25.10.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue29.10.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Tue05.11.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri08.11.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue12.11.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Tue19.11.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri22.11.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue26.11.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri29.11.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue03.12.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri06.12.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue10.12.201908:00 - 10:00Informatikhörsaal - ARCH-INF Functional Programming
Fri13.12.201912:00 - 13:00complang-Labor Tutorensprechstunde
Tue17.12.201908:00 - 10:00Informatikhörsaal - ARCH-INF 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
Fri10:00 - 12:0031.05.2024FH Hörsaal 1 - MWB written29.04.2024 02:00 - 24.05.2024 18:00TISSSchriftlicher Test 3 auf Papier / Fr, 02.06.2023, 10-12 Uhr

Group dates

GroupDayTimeDateLocationDescription
Übungsgruppe 1Mon18:00 - 20:0021.10.2019 - 09.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Übungsgruppe 1
Übungsgruppe 2Mon18:00 - 20:0021.10.2019 - 09.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 2
Übungsgruppe 3Tue16:00 - 18:0022.10.2019 - 10.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 3
Übungsgruppe 4Tue18:00 - 20:0022.10.2019 - 10.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 4
Übungsgruppe 5Wed18:00 - 20:0023.10.2019 - 11.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 5
Übungsgruppe 6Wed18:00 - 20:0023.10.2019 - 11.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Übungsgruppe 6
Übungsgruppe 7Wed18:00 - 20:0023.10.2019 - 11.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Übungsgruppe 7
Übungsgruppe 8Thu14:00 - 16:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 8
Übungsgruppe 9Thu14:00 - 16:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Übungsgruppe 9
Übungsgruppe 10Thu16:00 - 18:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 10
Übungsgruppe 11Thu16:00 - 18:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Übungsgruppe 11
Übungsgruppe 12Thu18:00 - 20:0024.10.2019 - 12.12.2019FAV Hörsaal 2 185.A03 Functional Programming Übungsgruppe 12
Übungsgruppe 13Thu18:00 - 20:0024.10.2019 - 12.12.2019Seminarraum FAV 01 B (Seminarraum 187/2) 185.A03 Functional Programming Übungsgruppe 13
Übungsgruppe 14Thu18:00 - 20:0024.10.2019 - 12.12.2019Seminarraum FAV EG C (Seminarraum Gödel) 185.A03 Functional Programming Übungsgruppe 14

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
Übungsgruppe 111.10.2019 08:0017.10.2019 20:00
Übungsgruppe 211.10.2019 08:0017.10.2019 20:00
Übungsgruppe 311.10.2019 08:0017.10.2019 20:00
Übungsgruppe 411.10.2019 08:0017.10.2019 20:00
Übungsgruppe 511.10.2019 08:0017.10.2019 20:00
Übungsgruppe 611.10.2019 08:0017.10.2019 20:00
Übungsgruppe 711.10.2019 08:0017.10.2019 20:00
Übungsgruppe 811.10.2019 08:0017.10.2019 20:00
Übungsgruppe 911.10.2019 08:0017.10.2019 20:00
Übungsgruppe 1011.10.2019 08:0017.10.2019 20:00
Übungsgruppe 1111.10.2019 08:0017.10.2019 20:00
Übungsgruppe 1211.10.2019 08:0017.10.2019 20:00
Übungsgruppe 1311.10.2019 08:0017.10.2019 20:00
Übungsgruppe 1411.10.2019 08:0017.10.2019 20:00

Curricula

Study CodeObligationSemesterPrecon.Info
033 526 Business Informatics Mandatory electiveSTEOP
Course requires the completion of the introductory and orientation phase
033 534 Software & Information Engineering Mandatory3. SemesterSTEOP
Course requires the completion of the introductory and orientation phase
033 535 Computer Engineering Mandatory electiveSTEOP
Course requires the completion of the introductory and orientation phase
860 GW Optional Courses - Technical Mathematics Not specifiedSTEOP
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