Professional Documents
Culture Documents
Code No.421201
IV-B.Tech. II-Semester Examination April, 2003 1
REAL TIME SYSTEMS
(Computer Science and Information Technology)
Time: 3 hours Max.Marks:80
Answer any FIVE questions
All questions carry equal marks
---
5. Define real time system and Explain specifications for real time systems.
4.a) A system contains five jobs. There are three resources X, Y and Z. The
resource requirements of the jobs are listed below.
J1 : [X ; 2]
J2 : none
J3 : [Y ; 1]
J4 : [X;3 [Z;1] ]
J5 : [Y ;4 [Z; 2]]
What are the maximum blocking times of the jobs under the nonpremptable
critical section protocol under the priority ceiling protocol.
b) Explain the advantages of priority scheduling strategies.
3.a) Explain the criteria for deciding the use of global or local variables.
4. A system contains the following five periodic tasks. The tasks are scheduled rate-
monotically.
T1 : (6,3, [X ; 2])
T2 : (20,5, [Y ; 1])
T3 : (200,5, [X ; 3] [Z ; 1]])
T4 : [X;3 [Z;1] ]
T5 : [210,6, [Z; 5 [Y;4]])
Compare the schedulability of the system when the priority-ceiling protocol is
used versus the NPCS protocol.
6. Differentiate single task approach and multitask approach for real time systems.
2. What are serial interfaces? Explain how they distinguish from parallel
interfaces.
4.a) Show that the periodic tasks (10,2), (15,5), and (25,9) are schedulable by the
rate monotonic algorithm.
b) Show that the periodic tasks (10,2) (12,5) and (15,4) are not schedulable by the
rate monotonic algorithm.
c) Construct the initial segments in the time interval (0,75) of a rate monotonic
schedule and an earliest-deadline-first schedule of the periodic tasks (10,2) (15,5)
and (25,12).
6. Explain how petri nets are useful in transactions for real time systems.