Algorithm efficiency analysis. Definition, usage, and implementations of abstract data types: Stacks, queues, lists, associative arrays (dictionary in Python), tree structures, graphs, priority queues, heaps. Hash techniques. Tree structures. Implementation and use of data structures that can represent graphs. Algorithms for sorting and searching. Some basic algorithms for graphs, including wayfinding. Use of recursion as programming technique.
After ending this course the student should know how to:
Know how basic algorithms for sorting, searching and wayfinding in graphs work.
Know how basic data structures for lists, stacks, queues, priority queues, sets, associative arrays and graphs work
Be able to calculate the efficiency of algorithms
Be able to implement efficient recursive algorithms
Be able to implement efficient algorithms for sorting and searching
Know how data structures and algorithms for lists, queues, stacks, heaps, binary trees and graphs can be implemented.
Be able to use standard algorithms and data structures to implement efficient programs
Required prerequisite knowledge
The student is expected to know how to program at a level equivalent to DAT110 or DAT120 Introduction to programming.
DAT100 Object-oriented Programming, DAT120 Introduction to Programming
Form of assessment
This course has digital exam. It will be possible to use Scantron to scan drawings made by hand and connect these to the digital exam.
There are nine exercises in this course. In order to be allowed to take the exam at least seven out of the nine exercises need to be approved within the given deadline.
Four hours of lecturing plus 2 hours group work per week. All students can get help for the exercises at a room reserved for the purpose four hours a week. The exercises are approved by presenting them to the teacher or a student assistant during these four hours.
Completion of mandatory exercises are to be made at the times and in the groups that are assigned and published. Absence due to illness or for other reasons must be communicated as soon as possible to the laboratory personnel. One cannot expect that provisions for completion of the exercises at other times are made unless prior arrangements with the laboratory personnel have been agreed upon.
Failure to complete the assigned exercises on time or not having them approved will result in barring from taking the exam of the course.
There must be an early dialogue between the course coordinator, the student representative and the students. The purpose is feedback from the students for changes and adjustments in the course for the current semester.In addition, a digital course evaluation must be carried out at least every three years. Its purpose is to gather the students experiences with the course.