Skip to main content
Till KTH:s startsida

FIK3620 Types, Semantics, and Programming Languages 7.5 credits

Information per course offering

Termin

Information for Spring 2024 Start 18 Mar 2024 programme students

Course location

KTH Campus

Duration
18 Mar 2024 - 3 Jun 2024
Periods
P4 (7.5 hp)
Pace of study

50%

Application code

61046

Form of study

Distance Daytime

Language of instruction

English

Course memo
Course memo is not published
Number of places

Places are not limited

Target group
No information inserted
Planned modular schedule
[object Object]
Schedule
Schedule is not published
Part of programme
No information inserted

Contact

Examiner
No information inserted
Course coordinator
No information inserted
Teachers
No information inserted

Course syllabus as PDF

Please note: all information from the Course syllabus is available on this page in an accessible format.

Course syllabus FIK3620 (Spring 2019–Spring 2024)
Headings with content from the Course syllabus FIK3620 (Spring 2019–Spring 2024) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

The course is divided into three separate modules, each covering different aspects on types, semantics, and programming language theory:

1. Operational semantics and the lambda calculus

  • Small-step and big-step operational semantics
  • Untyped lambda calculus
  • Fundamental typed functional programming

2. Typed lambda calculus with extensions

  • Type rules
  • Type soundness proofs
  • Semantics for let bindings, pairs, tuples, records, sums, and lists
  • References and exceptions

3. Subtyping and Polymorphism

  • Subtype polymorphism
  • Parametric polymorphism
  • Ad-hoc polymorphism
  • Structural and nominal type systems
  • Gradual typing

Intended learning outcomes

After the course, the student will be able to

  • Construct type soundness proofs
  • Analyze type rules
  • Analyze small-step and big-step operational semantics
  • Implement an interpreter and a type checker for a typed functional language
  • Apply untyped and simply typed lambda calculus with extension

Literature and preparations

Specific prerequisites

No information inserted

Recommended prerequisites

Good knowledge in programming. Good basic knowledge in discrete mathematics and logic.
Knowledge in functional programming and compilers is beneficial, but is not a prerequisite.

Equipment

No information inserted

Literature

No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

P, F

Examination

  • EXA1 - Examination, 7.5 credits, grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

See "Requirements for final grade" below.

Other requirements for final grade

The student receives grade P if the following is fulfilled:
1. Active participation in seminars
2. Approved oral presentations at the seminars
3. Approved solutions to theoretical exercises
4. Approved submission and presentation of a software implementation
If the student cannot participate in a seminar, the student can do complementary work at another occasion.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

This course does not belong to any Main field of study.

Education cycle

Third cycle

Add-on studies

No information inserted

Postgraduate course

Postgraduate courses at EECS/Software and Computer Systems