Course

Operating Systems and Systems Programming (DAT320)

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


Course description for study year 2017-2018. Please note that changes may occur.

See course description and exam/assesment information for this semester (2024-2025)

Semesters

Facts

Course code

DAT320

Credits (ECTS)

10

Semester tution start

Autumn

Language of instruction

English

Number of semesters

1

Exam semester

Autumn

Content

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.

The course also includes several programing exercises throughout the semester which covers some of the topics mentioned above, but with particular focus on thread programming and synchronization between threads.

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

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.

Required prerequisite knowledge

Object-oriented Programming (DAT100)

Recommended prerequisites

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

Exam

Form of assessment Weight Duration Marks Aid Exam system Withdrawal deadline Exam date
Written exam 3/5 4 Hours Letter grades None permitted Inspera assessment 24.11.2017 08.12.2017
Programming project 2/5 Letter grades


Project consisting of two programming assignments. 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

Lab exercise, 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.

Course teacher(s)

Course coordinator:

Nejm Saadallah

Course teacher:

Nejm Saadallah

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) , Operating Systems and Systems Programming (DAT320_1) 5

Open for

Bachelor studies at the Faculty of Science and Technology.

Master studies at the Faculty of Science and Technology.

Course assessment

Form/oral discussion.

Literature

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

Lab exercises and programming projects will be published on Github.

The course description is retrieved from FS (Felles studentsystem). Version 1