Ss Zg553 Ec-2r First Sem 2022-2023
Ss Zg553 Ec-2r First Sem 2022-2023
Mid-Semester Test
(EC-2 Regular)
Q.1 Answer the following questions (with short justification in brief wherever required)
[3
x 2 = 6]
(a) List out the distinguishing characteristics of periodic, aperiodic, and sporadic real‐time
tasks with examples and which of them must have hard real-time characteristics, and
why?
(b) The frame size of a cyclic scheduler is 2 ms and the hyper period of all the tasks in the system is
20ms. How many entries will be present in the off-line schedule calculated for the cyclic
scheduler?
(c) A job J3 has two predecessors J1 and J2. Job J3 has a feasible interval of (2, 8]. Similarly J 1 and J2
have feasible intervals (0, 6] and (3, 10] respectively. What is the effective release time of the job
J3 ?
Q.2 Sketch the architecture of an RTOS by showing various modules? What are the important
characteristics that are required to be supported by a RTOS vs Non-RT Operating
Systems? [6]
Q.3 Using a cyclic real‐time scheduler, suggest a suitable frame size that can be used to
schedule three periodic tasks T1, T2, and T3 with the following characteristics. [6]
Q.4 Please check if following set of periodic tasks can be scheduled by RM Algorithm.(Sketch
the schedule if schedulable)
T1 = (9,3), T2 = (7, 3), T3 = (10, 2) (period, execution-time) [6]
Q.5 Given release times and deadlines of jobs, calculate the effective release time and
effective deadline, and sketch the schedule as per EDF algorithm [6]
###