« www.tkk.fi « CSE « SVG

Skip to main content

TRAKLA2 exercise package

You can download the following exercises (a gzipped tar-ball) to your local file system to be used without an internet connection. However, the latest release is always available on this site to be used through a web browser as well. Just click one of the exercise links below and a new page will be opened that has the assignment and the corresponding exercise applet (requires Java 2 enabled web browser).

TRAKLA2 video tutorial


TRAKLA2 exercises are intended for Data Structures and Algorithms course. Each exercise is an independent learning object that you can interact with and receive immediate feedback on your performance in terms of automatic assessment, i.e., the system reports the number of correct steps out of the maximum steps when requested. In addition, the model solutions are available for each exercise. Watch the tutorial video or refer to the documentation in our research site to learn more about the exercises.

All you need to do the exercises is a Java enabled web browser. We have two versions available. The full TRAKLA2 learning environment requires registration and on-line connection while solving an exercises. However, we have also provided the following TRAKLA2 exercise package with reduced functionality (Grading does not submit the answer anywhere) that can be used off-line without an internet connection. For example, a lecturer can demonstrate the working of an algorithm or a learner is able to practise an algorithm after the lecture. Each time an exercise is initialized, a new instance of the exercise is produced, thus making it possible to provide individually tailored exercises and allow practise an algorithm with unlimited number of times.


The material (currently over 50 exercises and their variations) is divided into the following 8 categories according to their topic. In addition, we have combined a set of exercises related to binary heaps to form an example tutorial covering also the theory and analysis of these algorithms. See the Algoviz project for more details. We hope to see more tutorials in the future to cover also other topics.

Basic algorithms

Sorting algorithms

Priority queues

Search trees


Graph algorithms


Spatial Data Algorithms

"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein