DM509: Programming Languages (5 ECTS)

STADS: 15011001

Level
Bachelor course

Teaching period
The course is offered in the autumn semester.
Second quarter.

Teacher responsible
Email: petersk@imada.sdu.dk

Timetable
Group Type Day Time Classroom Weeks Comment
Common I Monday 14-16 U141 40
Common I Tuesday 10-12 U155 38,40-41
Common I Wednesday 10-12 U147 35
Common I Wednesday 14-16 U24 37
Common I Friday 12-14 U9 35
Common I Friday 08-10 U48a 36,38,41
Common I Friday 12-14 U154 37
S1 TE Tuesday 14-16 U147 36-41
S1 TE Wednesday 14-16 U147 35
S1 TE Wednesday 12-14 U17 40
S1 TE Friday 12-14 U144 36,38
Show entire timetable
Show personal time table for this course.

Comment:
Ubegrænset deltagerantal. 1. kvartal.

Prerequisites:
None

Academic preconditions:
The contents of DM536 Introduction to Programming and DM537 Object-oriented Programming must be known. The course DM507 Algorithms and Data Structures is recommended.

Course introduction
To give the students the general principles of programming languages design, and the specific choices characterizing the language classes imperative, object-oriented, logic-based and functional . To give the participants experience with programming in language of other types than the usual imperative and object-oriented languages.

Expected learning outcome
After the course, the student is expected to be able to:

  • solve non-trivial programming tasks in a functional programming language by writing clear and correct code and by applying the standard language libraries.
  • solve non-trivial programming tasks in a logic-based language by writing clear and correct code and by applying the standard language libraries.
  • estimate time and space consumption of functional programs.
  • prove properties of simple functional programs.
  • calculate the most general type of a functional expression.
  • calculate the most general unifier of two terms.
  • execute resolution for a logical goal.
  • convert an expression in first order logic to clausal form.
Subject overview
  • General languages mechanisms:
    Control structure, type systems, abstraction, module.
  • Functional languages:
    Functions, higher-order types, polymorphism, lists, lazy evaluation, referential transparency, monads, efficiency considerations, proof of correctness
  • Logic based languages:
    Predicates and rules, unification, SLD resolution, function symbols, lists, implementation of negation, constraint programming.
Literature
There isn't any litterature for the course at the moment.

Website
This course uses e-learn (blackboard).

Prerequisites for participating in the exam
None

Assessment and marking:
Project divided into parts and integrated in the course. Pass/fail, internal evaluation by the teacher.

Re-examination after 4th quarter.

Expected working hours
The teaching method is based on three phase model.

Forelæsninger (22 timer), eksaminatorier (20 timer) og projektarbejde.
Educational activities

Language
This course is taught in Danish or English, depending on the lecturer. However, if international students participate, the teaching language will always be English.

Course enrollment
See deadline of enrolment.

Tuition fees for single courses
See fees for single courses.