Official course description:

Full info last published 22/08-19
Course info
ECTS points:
Course code:
Offered to guest students:
Offered to exchange students:
Offered as a single subject:
Price for EU/EEA citizens (Single Subject):
10625 DKK
MSc. Master
MSc in Software Design
Course manager
Associate Professor
Assistant Professor
Associate Professor
Course semester
Efterår 2019
26 August 2019
31 January 2020
Exam type
ekstern censur
Grade Scale
Exam Language

In this course, you will learn how to implement some widely-used algorithms as fast and scalable programs on modern hardware, and how to evaluate your implementation using appropriate test cases and performance experiments.


This course introduces the students to some classical examples of widely used algorithms and uses these to show how to implement an algorithm in a correct and scalable way in the context of a particular application. 
The focus of the course is the implementation, its correctness, the experimental analysis, and the connection to the performance models. 

Examples of well understood computational tasks that can be considered in depth are: 

  • shortest path for cars on road networks 
  • sorting: why different variants of quicksort differ in performance, how to sort strings
  • cache oblivious search trees as file system or database index 
  • matrix multiplication
  • matrix vector multiplication 
  • locality sensitive hashing 
  • k-means clustering 
  • minimum spanning tree 
  • edit distance 
  • approximate neighborhood 
  • distinct elements
  • job scheduling

The course introduces the different algorithmic tasks, the algorithms, the testing methodology and the performance models.  The exercises focus on implementation, testing and interpretation of the measurements

Formal prerequisites
Before the course, the student should be able to:
  • Perform basic analysis of algorithm correctness and complexity, using invariants and big-O notation.
  • Use basic algorithms and data structures when programming (e.g., lists, queues, stacks, search trees, hashing, sorting algorithms, and basic graph algorithms).
This can be achieved, for example, by taking the courses "Algorithms and Data Structures" (ALDAS) or "Algorithms and Data Structures" (BADS). The course Algorithm Design (ALDES) is not a prerequisite. The two course actually complement each other.
Intended learning outcomes

After the course, the student should be able to:

  • implement a (randomized, parallel) algorithm from a given high-level description (such as pseudo-code). In particular, this includes judging which data structures, libraries, frameworks, programming languages, and hardware platforms are appropriate for the computational task, and using them effectively in the implementation.
  • experimentally evaluate the correctness of an implementation by creating and using adequate test cases.
  • design, perform, and run a performance and scalability experiment. In particular, this includes creating and using adequate families of synthesized or real-world test cases, measuring the computational resource requirements of a particular implementation, and judging if the experimental results conform to a theoretical performance model.
Learning activities

Teaching consists of a mix of lectures and exercises. 

Mandatory activities
The course has 2 mandatory assignments. You can work in groups of size 3. 

The student will receive the grade NA (not approved) at the ordinary exam, if the mandatory activities are not approved and the student will use an exam attempt.

Course literature

The course literature is published in the course page in LearnIT.

Ordinary exam
Exam type:
D: Submission of written work with following oral, external (7-trinsskala)
Exam variation:
D2G: Submission of written work for groups with following oral exam supplemented by the work submitted. The group has a shared responsibility for the content of the report.
Exam description:

Mixed  2 Exam:

The group makes their presentations together and afterwards the Joint presentation students participate in the dialogue individually while the rest of the group is outside the room.

Hand-in: Implementation and experimental evaluation of a self-developed algorithm, or an algorithm as described in one or several research papers.

Duration of oral exam: 20 minutes per student

Group size: 1-3

Exam type:
Z. To be decided, - (-)

Time and date