Document information
- University
- Politecnico di Milano
- Degree programme
- Computer Engineering
- Subject
- Advanced Operating Systems
- Academic year
- 2021-2022
- Classification
- Exam · Full exam
- Content
- Exam paper only
- Original format
- Text
- Searchable text
Full exam for Advanced Operating Systems in the Computer Engineering degree programme at Politecnico di Milano. The document covers: Advanced Operating Systems - Part A, June 10th 2022 Exercises and solutions Exam finalization Question 1.1 This is part A of the AOS’s exam and today you are finalising your entire grade. You must express now how you have finalised part B. The answer is mandatory for the entire
Full exam for Advanced Operating Systems in the Computer Engineering degree programme at Politecnico di Milano. The document covers: Advanced Operating Systems - Part A, June 10th 2022 Exercises and solutions Exam finalization Question 1.1 This is part A of the AOS’s exam and today you are finalising your entire grade. You must express now how you have finalised part B. The answer is mandatory for the entire
Import quality: text was extracted directly from the original document.
Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.
Advanced Operating Systems - Part A, June 10th 2022 Exercises and solutions Exam finalization Question 1.1 This is part A of the AOS’s exam and today you are finalising your entire grade. You must express now how you have finalised part B. The answer is mandatory for the entire exam. Exercise 2 — Open and closed questions (Points 15) Question 2.1 (Points 5) Describe a reader/writer lock by using pseudocode for the readers’ and writers’ locking and unlocking operations. Question 2.2 (Points 5) Describe goals and the principles of the Linux scheduler multi-core load balancer. Question 2.3 (Points 3) Describe the goals and the basic mechanisms and policies behind file systems equipped with journaling Question 2.4 (Points 2) How does secure boot work? Exercise 3 — Scheduling (Points 7) Question 3.1 (Points 7) Given task set in the following table, • draw the Gantt diagram of the schedule obtained by applying the Round Robin (RR) scheduling algorithm with quantum q = 2 (ignoring any overhead) and • fill the last column in table according to the above scheduling algorithm • considering a non-null preemption overhead, what would be, for this specific task set, the minimum value of q that guarantees a minimal overhead? Justify the answer. Note that, if any task arrives at the same time of a preemption, the arrival task must be inserted first in the ready queue and, then, the preempted task. Solution 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 Task Arrival time ( Ai) Completion time ( Ci) Turnaround time ( Zi) T1 0 3 7 T2 1 10 25 T3 2 5 16 T4 8 7 19 T5 10 2 7 The minimum value of q for this task set to avoid preemptions is q = 10, because the task T2 has a computation time of 10 and…
First page of the document.