Btech Cse 5 Sem Real Time Systems pcs5d001 2018
Btech Cse 5 Sem Real Time Systems pcs5d001 2018
com
Registration No :
Q1 Answer the following questions: multiple type or dash fill up type (2 x 10)
a) Preemptive, priority based scheduling guarantees:
(i) hard real time functionality (ii) soft real time functionality (iii) protection of
memory (iv) protection of devices.
b) Priority inversion is solved by use of _________.
(i) priority inheritance protocol (ii) two phase lock protocol (iii) time protocol (iv)
all of these.
c) Type of processor in which single task of particular application is called
(i) real time processor (ii) dedicated processor (iii) applicant processor (iv) one
task processor.
d) Each time a clock interrupt occurs, besides incrementing the software clock,
the handler routine carries out which of the following activities?
(i) Process timer events (ii) Update ready list (iii) Update execution budget (iv)
All of these
e) Which one of the following is not the deficiencies of Unix?
(i) Device driver support (ii) Real-time file service (iii) Dynamic priority
recomputations (iv) Hierarchical file system
f) POSIX stands for __________.
(i) Portable Operating System Interface
(ii) Portable Operating System Input
(iii) Platform Operating System Interface
(iv) Platform Operating System Input
g) Which of the following are commercially claimed RTOSs?
(i) Linux (ii) Windows CE (iii) Windows NT (iv) SunSolaris
h) _________ traffic arises due to constant bit rate data generation.
(i) CBR (ii) VBR (iii) Sporadic (iv) All of these
i) Which of the following describes the RTOS design philosophy best?
(i) Maximize the throughput of the system
(ii) Maximize the processor utilization
(iii) Minimizing the response time
(iv) Response within certain stipulated time period
j) _________ is/are two popular dynamic real-time task allocation algorithms.
(i) Focussed addressing and bidding (ii) Buddy algorithm (iii) EDF (iv) Both (i)
and (ii)
http://www.bputonline.com
http://www.bputonline.com
Q3 a) What do you mean by scheduling point of a task scheduling algorithm? How (10)
are the scheduling points determined in clock-driven, event driven and hybrid
schedulers? How will your definition of scheduling points for the three classes
of schedulers change when (i) self-suspension of tasks and (ii) context
switching overheads of tasks are taken into account.
b) Briefly explain while scheduling a set of hard real-time periodic tasks, why (5)
RMA cannot achieve 100% processor utilization without missing task
deadlines.
Q4 a) Consider a real-time system which consists of three tasks T1, T2 and T3 which (10)
have been characterized in the following table.
Task pi ei R1 R2 R3
T1 400 30 15 20 -
T2 200 25 - 20 10
T3 300 40 - - -
T4 250 35 10 10 10
T5 450 50 - - 5
pi indicates the period of task T i and ei indicates its computation time. The
period of each task is the same as its deadline. The entries in the R1, R2 and
R3 columns indicate the time duration for which a task needs the named
resource in non-preemptive mode. Assume that after a task releases a
resource, it does not acquire the same or any other resource.
b) Explain some of the features that you would require a real-time operating (5)
system to support.
http://www.bputonline.com
http://www.bputonline.com
Q6 a) Consider the following set of four independent real-time periodic tasks. (10)
Assume that task T3 is more critical than task T2. Check whether the task set
can be feasibly scheduled using RMA. Justify your answer. Is RMA optimal
when the task deadlines differ from the task periods?
b) What is the difference between synchronous I/O and asynchronous I/O? What (5)
are the implications of these two types of I/O for real-time applications?
Q8 a) Answer the following in the context of a chemical manufacturing company that (10)
wishes to automate its process control application:
(i) What problems might arise if an attempt is made to implement the chemical
plant control software using the Ethernet LAN available in the factory?
(ii) How can a global priority protocol be supported in a LAN with collision-
based access?
(iii) If RMA scheduling of packets is to be supported, what is the maximum
channel utilization that can be achieved?
(iv) What are the main obstacles to efficient implementation of RMA in this set
up?
b) Would it be advisable to use an Ethernet LAN in a hard real-time application (5)
such as factory automation? Justify your answer. Evaluate the pros and cons
of using an Ethernet-based protocol in such an application.
Q9 a) What do you mean by QoS routing? Explain the different types of QoS routing (10)
algorithms.
b) Explain why traffic gets distorted in a multisegment network and how traffic (5)
reshaping is achieved for providing QoS guarantee.
http://www.bputonline.com