Dette er studietilbudet for studieår 2018-2019. Endringer kan komme.

The course gives an introduction to operating systems, and how to program them efficiently, with particular focus on thread programming and synchronization between threads within a program.

Learning outcome

Knowledge - How operating system work - How to protect the operating systems from malicious software

Skills - Be capable of programming against the operating system API - Be capable of implementing simple mechanisms for resource management - Know how to program with threads - Know how to exploit virtualization for resource management

General compentancy - Know important general principles for resource management for computer systems.


The course gives an introduction to operating system architectures and mechanisms for resource management in computer systems. Specific topics covered: the kernel abstraction, processes, the programming API, thread, concurrency and parallelism, synchronized access to shared objects, multi-object synchronization and processor scheduling algorithms. Memory management: address translation, caching and virtual memory. Persistent storage: file systems and reliable storage through transaction-based file system consistency. Operating Systems security.

The course includes programming assignments focused on main concepts learned in the course, such as concurrency, parallelism and synchronization techniques, and tools to analyze and debug various aspects of such applications. In the final project, student groups should design a larger system using the techniques covered in the course.

The programming language used in this course is primarily Go (golang).

Required prerequisite knowledge


Recommended previous knowledge

DAT100 Object-oriented Programming, DAT200 Algorithms and Datastructures, DAT230 Communication Technology I, ELE210 Computer Architecture


Skriftlig eksamen og programmeringsprosjekt
Weight Duration Marks Aid
Written exam3/54 hoursA - FNone permitted
Programming project2/5 A - F
Project consisting one large assignment. The project is to be performed in a group. The grade for the project will be based on the submitted program code and an individual oral examination (lab exam) of the submitted program code. Only a single grade is given for these two lab exercises, but each group member can receive a different grade based on their performance during the oral examination.

Coursework requirements

Laboratory work

Five mandatory individual lab exercises (programming exercises). Pass/Fail. All programming exercises must be passed to attend for the written exam and lab exam. Approval takes place through the Autograder system for automated evaluation, followed by in-lab approval.

Completion of mandatory lab assignments are to be made at the times and in the groups that are assigned. 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 lab assignments at other times are made unless prior arrangements with the laboratory personnel have been agreed upon.

Failure to complete the assigned labs on time or not having them approved will result in barring from taking the exam of the course.

Subject teacher(s)

Course teacher
Vinay Jayarama Setty
Course coordinator
Hein Meling
Head of Department
Tom Ryen

Method of work

4 hours lectures and 2 hours of guided lab exercises. Lab exercises requires additional non-guided work effort.

Overlapping courses

Course Reduction (SP)
Operating Systems (BID200_1) 5

Open to

Bachelor studies at the Faculty of Science and Technology.

Master studies at the Faculty of Science and Technology.

Course assessment

Form/oral discussion.


Operating Systems: Principles and Practice. Second Edition. Thomas Anderson and Michael Dahlin.

Go Systems Programming. Mihalis Tsoukalos

Lab exercises and programming projects will be published on Github.

Dette er studietilbudet for studieår 2018-2019. Endringer kan komme.

Sist oppdatert: 14.12.2018