AS
← Til fagoversikten

IDATT2202

Operativsystemer

Hvordan operativsystemet abstraherer og forvalter hardware gjennom kernel, processes, concurrency, memory management, scheduling, file systems og security.

  • Høst 2026
  • 7,5 studiepoeng
  • Donn Morrison
  • Skriftlig eksamen
  • Anderson & Dahlin

Faget på ett blikk

Den faglige sammenhengen. Ukeplanen under viser undervisningsrekkefølgen.

  1. Introduction
  2. Kernel
  3. Processes
  4. Programming Interface
  5. Threads & Concurrency
  6. Synchronisation
  7. Deadlocks
  8. Scheduling
  9. Memory
  10. Storage & File Systems
  11. Security

Tema → pensum → quiz → forelesning

Semesteroversikt

15 kunnskapsområder gjennom uke 34–46.

Temaer med uke, pensum, Canvas-quiz og forelesning i IDATT2202 høsten 2026.
UkeTemaPensumCanvas-quizForelesning
34 Introduction to Operating Systems Ch. 1.1–1.3 Quiz 01 Introduction
35 The Process Abstraction Ch. 2.1 Quiz 02.1 Kernel Abstraction Part 1
35 Dual-Mode Operation Ch. 2.2 Quiz 02.2 Kernel Abstraction Part 1
36 Mode Transfers Ch. 2.3 Quiz 02.3 Kernel Abstraction Part 2
36 Safe Mode Transfer & Kernel Mechanisms Ch. 2.4, 2.6–2.10 Quiz 02.4 Kernel Abstraction Part 2
37 The Programming Interface Ch. 3 Quiz 03 The Programming Interface
38 Concurrency and Threads Ch. 4.1–4.5, 4.8 Quiz 04 Concurrency and Threads
39 Address Translation Ch. 8.1–8.4 Quiz 05 Address Translation
40 Caching and Virtual Memory Ch. 9.1–9.7 Quiz 06 Caching and Virtual Memory
41 Synchronisation Ch. 5.1–5.8 Quiz 07 Synchronisation
42 Advanced Synchronisation & Deadlocks Ch. 6.1–6.3, 6.5 Quiz 08 Advanced Synchronisation and Deadlocks
43 CPU Scheduling Ch. 7.1–7.2 Quiz 09 Scheduling
44 Storage Systems & File System Abstraction Ch. 11.1–11.3 Quiz 10del 1 · felles quiz Storage Systems
45 Files and Directories Ch. 13.1–13.4 Quiz 10del 2 · felles quiz Files and Directories
46 Operating System Security Hailperin Ch. 11 + course material Quiz 11 Security

15 kunnskapsområder · 14 quizer. Uke 44 og 45 deler Quiz 10 – Storage and filesystems: del 1 hører til Storage Systems, del 2 til Files and Directories.

Canvas-strukturen

Forelesninger

13 lecture modules, i undervisningsrekkefølge.

  1. IntroductionUke 34
  2. The Kernel Abstraction Part 1Uke 35
  3. The Kernel Abstraction Part 2Uke 36
  4. The Programming InterfaceUke 37
  5. Concurrency and ThreadsUke 38
  6. Memory Management – Address TranslationUke 39
  7. Memory Management – Caching and Virtual MemoryUke 40
  8. SynchronisationUke 41
  9. Advanced Synchronisation and DeadlocksUke 42
  10. SchedulingUke 43
  11. Storage SystemsUke 44
  12. Files and DirectoriesUke 45
  13. SecurityUke 46

Før forelesningen

Canvas-quizer

De 14 quizene hører til temaene i semesteroversikten.

  • Quiz 01Introduction
  • Quiz 02.1Process abstraction
  • Quiz 02.2Dual-mode operation
  • Quiz 02.3Types of mode transfer
  • Quiz 02.4Safe mode transfers, interrupts, exceptions and signals
  • Quiz 03The programming interface
  • Quiz 04Concurrency
  • Quiz 05Address translation
  • Quiz 06Paging and cache
  • Quiz 07Synchronisation
  • Quiz 08Advanced synchronisation
  • Quiz 09Scheduling
  • Quiz 10Storage and filesystemsUke 44 · Storage Systems
    Uke 45 · Files and Directories
  • Quiz 11Security

Lærebøkene

Pensum

Eksakte section-numre står i semesteroversikten.

Operating Systems: Principles and Practice

2nd edition · Thomas Anderson & Michael Dahlin

  • Ch. 1Introduction
  • Ch. 2The Kernel Abstraction
  • Ch. 3The Programming Interface
  • Ch. 4Concurrency and Threads
  • Ch. 5Synchronising Access to Shared Objects
  • Ch. 6Multi-object Synchronisation
  • Ch. 7Scheduling
  • Ch. 8Address Translation
  • Ch. 9Caching and Virtual Memory
  • Ch. 11File Systems
  • Ch. 13Files and Directories

Eksamen og løsningsforslag

Tidligere eksamener

Materialet finnes i studiekildene. Dokumentene er ikke publisert her.

H2023

  • Eksamen
  • Løsning

H2024

  • Eksamen
  • Løsning
  • Egen correction

Correction to 2024 examQuestion 21 skal bruke if (f == 0), ikke if (f > 0).

H2025

  • Eksamen
  • Suggested solution

Eksamensoppgave ↔ tema

Eksamensrelevans

Verifisert delutvalg. Dette er oppgaver som kunne kobles sikkert til et tema fra tilgjengelig eksamensmateriale. Listen er ikke en full kartlegging av eksamenene.

Introduction
H2023 · spørsmål 1–2H2024 · spørsmål 1–2
Safe Mode Transfer
H2025 · spørsmål 17
CPU Scheduling
H2024 · spørsmål 26H2025 · spørsmål 18

System programming

Praktisk C

Praktiske ferdigheter som brukes i kursarbeid og øvelser.

Utvikling og minne
Kompilere og debugge enkle C-programmer; pointers, memory, malloc/free og mmap.
Prosesser og I/O
Arbeide med fork/exec/wait, file I/O og signals.
Tråder og synkronisering
Bruke pthreads, locks, semaphores og condition variables.

Studiematerialet

Ressurser

Lærebøker, undervisning og øvinger utfyller hverandre.

  • Textbook
  • Canvas lecture modules
  • Lecture slides
  • Lecture transcripts
  • Canvas quizzes
  • Lab exercises
  • Course work / assignments
  • C examples
  • Previous exams and solutions