RTS Question Bank
RTS Question Bank
M
Sl. Part-I
od BL CO PO & PSO
No Short Answer Type Questions
ule
1 What is real time system? 1
4 Define fail safe state and safety critical system with examples. 1
10 Explain why safety and reliability are not independent issues in safety 1
critical hard real time system.
11 Define relative deadline and absolute deadline. 2
12 Define proficient scheduler, optimal scheduler, pre-emptive scheduler. 2
13 State the difference between cyclic and table-driven scheduler. 2
14 What is context switching overhead? 2
15 Define self-suspension and self-suspension with context switching 2
overhead.
16 Differentiate between clock driven and even driven scheduling. 2
17 State the constraints required to select appropriate frame size. 2
18 Is EDF a dynamic priority scheduling algorithm? 2
19 State the schedulability test for RMA. 2
20 Define valid schedule and feasible schedule and utilization. 2
21 Define task precedence and task instance. 2
22 How task jitters are handled. 2
23 Define priority inversion with example. 3
24 Define unbounded priority inversion with example. 3
25 State the resource grant rule of PCP protocol. 3
26 How deadlock is avoided in PCP? 3
32 Assume that the drift rate between any two clocks is restricted to 3
ρ=5*10-6. Suppose we want to implement a synchronize set 6
distributed clocks using the central synchronization scheme, so that the
max. drift between any two clocks is restricted to €=1msec at any time.
Determine the period with which the clock needs to be resynchronized.
33 Let a distributed real time system have 10 clocks and it is required 3
restrict their max. drift to €= 1msec. let the max, drift of the clocks per
unit time (ρ) be 5*10-6. Determine the required synchronization
interval.
34 Define time services. 4
35 What are the difficulties in providing high resolution timer? 4
36 State the expression to recompute the priority of the task at the end of 4
the jth time slice by UNIX.
37 Briefly explain insufficient device driver support. 4
38 Briefly explain lack of real time file services. 4
39 State the differences between conventional database and real time data 4
base
40 State the ACID properties of concurrency control protocol. 4
41 What is temporal consistency? 4
42 What are the real time database application issues. 4
43 Define consistency constraints. 4
44 What is routing? State the primary goals of QoS routing. 5
T1 20 100
T2 30 150
T3 90 200
Assume that context switching overhead does not exceed 1 m/s and is
to be taken into account in schedulability computations.
10. Briefly explain self-suspension. 2
Consider the following set of periodic real time tasks:
T1 10 50
T2 25 150
T3 50 200
Assume that the self-suspension times of T1, T2 and T3 are 3ms, 3 ms
and 5 ms respectively. Determine whether the task would meet their
respective deadlines, if scheduled using RMA.
11. State the necessary and sufficient condition for RMA schedulability. 2
Also State the shortcomings of RMA algorithm.
12. Define unbounded priority inversion with example and timing diagram. 3
Is it possible to overcome unbounded priority inversion.
13. Briefly explain priority inheritance protocol with diagram. state the 3
shortcomings of the protocol.
14. State the various resource sharing protocols and compare between 3
them.
15. Determine a feasible schedule for the real-time tasks of a task set 3
{T1,T2,……T5} for which the precedence relations have been shown
below for the use with a table-driven scheduler. The execution times
of the tasks T1,T2,….. T5 are: 7, 10, 5, 6, 2 and the corresponding
deadlines are 40, 50, 25, 20, 8, respectively.
16. State and explain two popular dynamic real time task allocation 3
algorithms.
17. Briefly explain centralized clock synchronization. 3
18 Prove that with a distributed system n clocks are single byzantine clock 3
can make two arbitrary clocks in a system to differ by 3€/n in time
value, where € represents the max. permissible drift between clocks.
19 Explain the activities that are carried out when a clock interrupt 4
occurs.
Ans-
b). Aperiodic Timer or One-shot Timer: These timers are set to expire
only once. Watchdog timers are a popular example of one-shot timer.
21. State the difference between windows NT and UNIX. 4
Ans-
22. State the important features of windows NT. 4
Ans-
23. Explain 2PL-HP concurrency control protocol.
Ans-
T1 20 25 150 140
T2 60 10 60 40
T3 40 20 200 120
T4 25 10 80 25
T1 25 150 100
T2 10 50 30
T3 50 200 150
T1 25 150
T2 10 50
T3 50 200
Assume that the self-suspension times of T1, T2 and T3 are 10ms, 20
ms and 15 ms respectively. Determine whether the task would meet
their respective deadlines , if scheduled using RMA. The context
switching overhead of 1 ms should be considered in your result. You
can assume that each task undergoes self-suspension only once
during each of its execution.
10. Consider the following set of three independent real time periodic 2
tasks:
T1 20 100 100
T2 30 150 150
T3 90 200 200
18 Let us consider a system with a set of periodic real-time tasks T... T6. 3
The resource and computing requirements of these tasks have been
shown in Fig. given below. Assume that the tasks T... T6 have been
arranged in decreasing order of their priorities. Compute the different
types of inversions that a task might have to undergo