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.

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

Properties

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

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 an interpreter like GHCi or 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 the 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
  • Algebraic data type declarations
  • 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
  • Reflexive programming
  • Programming with streams and higher-order functions

Part VII: 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

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 self-reliantly chosen further 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, central and control questions 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

The course is planned as in-person activity. In case of anew restrictions due to the pandemic or energy shortage, the course will be changed to an online mode.

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 (Part I to Part VII refer to the respective parts of the course notes):

  • Guided learning activities (14.0h)
    • Lecture: 7.0h (7 units * 1.0h)
    • Flipped classroom: 1.75h (7 units * 0.25h)
    • Tutorials: 5.25h (7 units * 0.75h)
  • Independent learning activities (58.75h)
    • Self-dependent acquirement of learning outcomes: 28.0h (Reference point: Part I/3.0h, Part II/5.0h, Part III/3.0h, Part IV/6.5h, Part V/6.5h, Part VI/4.0h, Part VII/1.0h)
    • In particular: Solving assignments: 25.5h (Reference point: 4 Assignments * 3.0h + 3 Assignments * 4.5h)
    • Preparation for the written tests (e.g., Questions&Answers Lectures and Lab Forums): 4.25h
  • Written test (On Campus, if possible, online otherwise, 1.5h)

The course starts with a preliminary course meeting and the first lecture on Thursday, 6 October 2022, 1.15pm-2.45pm, Informatik-Hörsaal.

Lecturers

Institute

Course dates

DayTimeDateLocationDescription
Thu13:00 - 15:0006.10.2022 - 15.12.2022Informatikhörsaal - ARCH-INF Lecture
Wed10:00 - 12:0016.11.2022Seminarraum Techn. Informatik 185.A03 Functional Programming
Functional Programming - Single appointments
DayDateTimeLocationDescription
Thu06.10.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu13.10.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu20.10.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu27.10.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu03.11.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu10.11.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Wed16.11.202210:00 - 12:00Seminarraum Techn. Informatik 185.A03 Functional Programming
Thu17.11.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu24.11.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu01.12.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Thu15.12.202213:00 - 15:00Informatikhörsaal - ARCH-INF Lecture
Course is held blocked

Examination modalities

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

Detailed information on the assessment procedures and modalities are given
in the notes of the preliminary course meeting (cf. TUWEL course 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
RaumreservierungThu09:00 - 14:0003.11.2022 - 22.12.2022Seminarraum Techn. Informatik 185.A03 Functional Programming Raumreservierung
RaumreservierungThu16:00 - 18:0003.11.2022 - 22.12.2022Seminarraum Techn. Informatik 185.A03 Functional Programming Raumreservierung
RaumreservierungTue09:00 - 18:0008.11.2022 - 20.12.2022Seminarraum Techn. Informatik 185.A03 Functional Programming Raumreservierung

Course registration

Begin End Deregistration end
26.08.2022 01:00 07.10.2022 12:00 28.10.2022 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
KÜG 1, verschmilzt ab 22.11.21 mit KÜG 212.10.2022 20:0021.10.2022 20:00
KÜG 2&1 (Hannes Siebenhandl) / Mo, 10-11 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 3&4 (Samuel Pilz) / Mo, 10-11 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 4, verschmilzt ab 22.11.21 mit KÜG 312.10.2022 20:0021.10.2022 20:00
KÜG 5, verschmilzt ab 22.11.21 mit KÜG 612.10.2022 20:0021.10.2022 20:00
KÜG 6,5&7 (Samuel Pilz) / Mo, 17-18 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 7, verschmilzt ab 22.11.21 mit KÜG 612.10.2022 20:0021.10.2022 20:00
KÜG 8,9&10 (Hannes Siebenhandl) / Mi, 12-13 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 9, verschmilzt ab 17.11.21 mit KÜG 812.10.2022 20:0021.10.2022 20:00
KÜG 10, verschmilzt ab 17.11.21 mit KÜG 812.10.2022 20:0021.10.2022 20:00
KÜG 11, verschmilzt ab 19.11.21 mit KÜG 1312.10.2022 20:0021.10.2022 20:00
KÜG 12, entfällt12.10.2022 20:0021.10.2022 20:00
KÜG 13&11 (Niki Herl) / Fr, 12-13 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 14&15 (Niki Herl) / Fr, 15-16 Uhr12.10.2022 20:0021.10.2022 20:00
KÜG 15, verschmilzt ab 19.11.21 mit KÜG 1412.10.2022 20:0021.10.2022 20:00
KÜG 16, entfällt12.10.2022 20:0021.10.2022 20:00
KÜG 17, entfällt12.10.2022 20:0021.10.2022 20:00
Raumreservierung31.01.2023 00: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
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

Language

German