Operating Systems — Exam Prep Hub Politecnico di Torino · Stefano Scanzio · built from 25 past exams (2019–2025) and the u02–u09 slides

8
topics
16
study pages
96
verified drills
25
past exams

Start here

📋 Study plan
Priority-ordered plan by exam payoff + a 2-week schedule and final checklist.
🧩 Exam template & patterns
The shape of the exam: the backbone questions, where the marks are, the MCQ traps.

Topics — each has a guide (learn) + drills (practice)

u02 · LINUX ENVIRONMENT 🔴 often

Regex & Filters

Regex, grep/egrep, cut/tr/sort/uniq/wc, find, Makefiles, permissions, redirection. Mostly pipeline tracing.
9 drills · ~2–3 pts/exam
u03 · FILE SYSTEM 🔴 often

File System

Allocation (contiguous/linked/indexed), encoding, hard/soft links, open/read/write, stat/opendir, i-nodes.
20 drills · ~2.5 pts/exam
u04 · PROCESSES 🔴 a lot

Processes

PCB & states, fork/exec/system output tracing, zombie/orphan, signals, pipes/IPC.
23 drills · ~9–11 pts/exam
u05 · THREADS 🟡 sometimes

Threads

Thread vs process, shared/private, user vs kernel, Pthreads API, exit/pthread_exit/return, the &i race.
11 drills · ~2–6 pts/exam
u06 · SHELL SCRIPTING 🔴 a lot

Shell Scripting

bash: variables, params, test [ ], loops, reading files, the filter toolbox. Mostly write a script.
8 drills · ~5 pts/exam
u07 · SYNCHRONIZATION 🔴 a lot

Synchronization

Critical sections, TestAndSet, semaphores, precedence graphs, producer/consumer, readers/writers, philosophers.
13 drills · highest points/exam
u08 · CPU SCHEDULING 🔴 a lot

CPU Scheduling

FCFS, SJF, SRTF, Priority, Round Robin. Draw the Gantt chart and compute average waiting time.
6 drills · ~3 pts/exam
u09 · DEADLOCK 🔴 a lot

Deadlock

The four conditions, resource-allocation graph & cycles, the Banker's algorithm, prevention/avoidance.
6 drills · ~3 pts/exam
💡 Suggested order by exam payoff: Synchronization → Scheduling → Deadlock → Processes (most points), then Shell, Threads, File System, Linux/regex for the cheaper, reliable marks. Each guide is in simple English with worked examples; each drill answer is verified against the official solution PDFs (⚠️ marks flag a few debatable official keys).

Raw material

📄 Material index (README) 📁 Past exams + solutions 📁 Lecture slides 📁 Topic quizzes 📁 Labs 📁 Cheat sheets