Questions Exam
Questions Exam
Joël Goossens
December 2024
1 Introduction
My objective is to assess the depth of your understanding, ranging from superficial (fail) to very deep (suc-
cess). It is not critical to replicate my examples, arguments, or notations, but I will evaluate the correctness
and understanding of your responses.
2 List of questions
1
7. For FTP class, synchronous systems, arbitrary deadline: provide and prove correct a feasibility interval.
8. For deterministic schedulers and discrete time space, prove that feasible schedules of periodic tasks
are periodic.
9. For FTP class, asynchronous systems, constrained deadline: prove correct the feasibility interval [0, Sn +
P). Explain the meaning of the Si instants.
10. For FTP class (𝜏1 ≻ 𝜏2 ≻ 𝜏3 ), asynchronous systems, constrained deadline: compute the Si values for
the following system (O, C, T) : 𝜏1 : (10, 2, 10), 𝜏2 : (0, 1, 5), 𝜏3 : (1, 1, 3) and then check the schedulability.
11. For FTP class, asynchronous systems, constrained deadline: provide and prove correct the main prop-
erty foundation of the optimal Audsley’s priority assignment.
12. Consider the following task set (O1 = 3, C1 = 2, D1 = 2, T1 = 4; O2 = 0, C2 = 3, D2 = 4, T2 = 8). In the
framework of FTP class (and asynchronous systems, constrained deadline) determine if 𝜏1 is lowest-
priority viable?
13. Prove the optimality of EDF.
14. For EDF, implicit deadline systems: prove the fact that U ≤ 1 is necessary and sufficient.
15. For EDF, synchronous systems, constrained deadline: provide the feasibility interval and the procedure
to determine its upper-bound.
16. LLF: define the notion of laxity, the priority management and the trashing situation using an example.
17. Build an LLF schedule for the following system (C, T, D): (2, 6, 4)(4, 5, 6).
18. For what type(s) of tasks and which scheduling algorithm(s) is the response time of the first job of each
task sufficient to conclude the schedulability of the task?
19. Provide at least three different feasibility intervals, specifying the type of tasks and the scheduler
involved for each.
22. Define the concept of scheduling anomalies, illustrate the phenomenon for global FTP scheduling and
the period parameter.
23. Define the PFair scheduling rule using the notion of lag.
24. Provide the basic sufficient condition for EDF schedulability of implicit deadline tasks, present the
EDF(k) improvement.
25. Build a global DM schedule for the following system upon two processors (C, T): (1, 2)(3, 6)(6, 12).
26. Build an EDF(k) schedule for the following system upon two processors (C, T): (9, 10)(1, 3)(4, 6).
27. Build a PFair schedule for the following system upon two processors (C, T): (2, 3)(2, 3)(4, 6).
28. Build a global EDF schedule for the following system upon two processors (C, T): (1, 2)(3, 6)(6, 12).
29. Provide a necessary and sufficient condition for the feasibility of implicit deadline systems upon mul-
tiprocessors.
30. Half-proof of the fact that partitioning and global scheduling are incomparable: system such that a
partition exists while all global-FTP schedulers fail.
2
2.3 Parallel algorithms
31. Provide the Amdahl’s law and illustrate its consequences.
2.4 Concurrency
34. Solution to the producer-consumer problem, bounded buffers.
39. Live-lock definition. Illustrate the phenomenon using one of the Dekker’s attempts.
40. Describe the Byzantine Generals algorithm.