Faculty of Engineering: Instructions To Students
Faculty of Engineering: Instructions To Students
Faculty of Engineering
School of Computing and IT
Department of CSE/IT/CCE
VII SEM. B.Tech.
Odd Semester End Term Examination 2021-22
CS1758 Real Time System
Instructions to Students:
Attempt any full four questions.
Missing or wrong data, if any, may be assumed suitably after duly mentioning at proper
place.
Calculator is allowed.
Start every question from a fresh page and submit scanned answer copies in sequence
order.
Mention page no on every page.
All necessary assumptions should be made. Answer must be relevant and precise
b) Consider a system with a set of periodic real time tasks T1, T2,… [CO3]
, and T6. Two critical resources CR1, CR2, and CR3 are required
by these tasks. The resource requirements of the tasks are given
in below table:
T2 CR2 20 mSec 44
T4 CR2 40 mSec 19
T5 NONE 0 mSec 8
T1 T2
Read(A) Read(B)
A=A-100 B=B+100
Write(A) Write(B)
Page 2 of 3
Suppose transaction fails after completion of T1 but before
completion of T2. Identify the ACID property that can be used to roll
back the transaction to generate the consistent result.
4 a) Consider a cyclic scheduler. One of the frame size constraints for
choosing a correct frame size specifies the below equation:
Max{ei}<=F. Explain the constraint which depicts this equation
with the help of timeline diagrams.
b) In a simple priority-driven pre-emptive scheduler, two periodic
tasks T1, T2 and a background task are scheduled. The periodic
task T1 executes once every 20 msec and requires 10 msec time
for execution. T2 requires 20 msec of execution time every 50 [5*2] [CO2],
msec. T3 is the background task which requires 100 msec to [CO3]
execute. If all tasks start at time 0, answer the following
questions:
Page 3 of 3