B. Tech. (sEM. V) ODD SEMESTERTHEORY EXAMINATION 2012_13 OFE}AATING SYSTEM Tinte
: 3 Hours
Note
:- (i)
(ii) (iii)
Total Marl
:
100
Attempt all questions.
All
questiorls carD/ equal marks.
Notations/Symbols/Abbreviations used have usual meaning.
1.
Attempt any two parts ofthe following :_ (a) Differentiate between the following:
(i) process and program (iD BusywaitandBlockingwait (iii) (iv)
(b) (i)
process switch and Mode switch
User-level thread and Kernel_level thread. Whether it is possible to construct a secure operating system without having dual mode of operation in the system ? Give arguments in favour of your answer.
(iD DiscussessentialpropertiesofTime_sharingoperating system, Real_time operating system and Distributed operating system. ECS50I/DUT44I28
[Tarn Over
(c) (i)
What do you understand by systern call ? List and explain three system calls used for process management.
(iD What are the advantages of the layered approach to the design ofoperating system
(a)
State the Readers/Writers problem
?
with readers having
priority. Give solution ofthe problem using semaphores;
(b) (i)
Define Semaphore. Give
a scheme
for implementation
of semaphore primitives.
(iD Write and explain Peterson
solution to the critical
section problem.
(c)
Discuss message-passing systems. Explain hou, message passing can be used to solve to buffer producer/Consumer problem with infinite buffer.
3.
Attempt any two parts of the following
:
(a) Write an algorithm
for detection of deadlock in a system having several instances of multiple resource types.
(b) (0 '
What is process control block
?
Discuss the difference
among short-term, medium-term and long-term scheduling.
(ir) Define deadlock.
List four necessary conditions for occurrence of deadlock. A system contains 6 units of
What is the maximum value of n for which the system will
resource, and n processes that use the resource.
..1,
j
be deadlock free if the maximum requirement of each
process is 3
ECS501/DLT44I28
? 2
I
(c) (i)
What is the difference between preemptive and non-preemptive scheduling'? Discuss the Multilevel Feedback Queue scheduling algorithm.
(ii)
Consider
a
variant of Rowrd-robin scheduling algorithm
where the entries in the ready queue are pointers to
the processes. What would be the effeot of putting two pointers to the same process in the ready qtteue ? Wirat would be advall;rges and disadvantages of this scheme
4.
?
Attempt any two parts of the folio* ing
(a) (D
(ii)
:
Given memory partitions of 100K" 500K, 200K,300K, and 600K (in order). How w'ould cach ofthe first-fit' Best-fit and Worst-fit algorithms place processes of
212K, 411K, i 12K and 426K (itl order) ? Which algorithm makes the most efficient use of memory ? When do page faults occur ? Describe in detail the actions talien by the operating system u'hen a page faults occur.
(b) (i)
What is the cause of tlirashing ? How does system detect thrashing ? Once it detects thrashing, u'hat can s,vstem do to eliminate this problem ?
(ii)
Consider a demand paged system' Page tables are held in registers. It takes 8 miliseconds to service a page f'ault if an empty page is available or the replaced is not modified, and 20 miliseconds if the replaced page is modified. Memory access time is 100 nanoseconds. Assume that the page to be replaced is
rnodified 70 percent ofthe time. What is the maximum
acceptable page fault rate
for an effective
access
time of no more than 200 nanoseconds ? ECS50IiDLT-44128
lTuruOver
I
(c)
5.
Discuss the paged segmentation scherne of memorv management and explain how logical address is transiated to physical address in such a scheme.
Write shoIt notes on any two of the foilowing
:
(a) Disk scheduling policies (b) RArD (c) XmplementationofAccessMatrix.
I Attempt any four questions: [5x4:20) (a) Describe the differences between symmetric and. asymmetric multiprocessing. (b) Discuss various operating system ...
(e) Enumerate the 'advantages of the layered. approach to system design? Also, Explain. virtual machine architecture in detail. (0 What are Sernaphores?
OPERATINGSYSTEM. Time : 3 Hours ... favour of the oldest process. Draw the Gantt ... Displaying UPTU B.Tech Operating System ECS-501 Sem 5_2013-14.pdf.
(e) On what factors does the Manning's rugosity'corefficient ... Displaying UPTU B.Tech Hydraulics & Hydraulic Machines NCE403 Sem 4_2014-15.pdf. Page 1 ...
Loading⦠Page 1. Whoops! There was a problem loading more pages. Retrying... Main menu. Displaying UPTU B.Tech Advanced Materials Technology EME063 Sem 8_2011-12.pdf.
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.
There was a problem loading more pages. Retrying... UPTU B.Tech Power station practice0001 Sem 6_2007-08.pdf. UPTU B.Tech Power station practice0001 ...
(a) (i) What do you mean by E-Commerce ? What are its ... (it) EDI Application in Business ... Displaying UPTU B.Tech E-COMMERCE-EIT501 Sem 5_2012-13.pdf.
(e) With the aid of the schematic diagram and thermodynamic process, explain the. working of a turbo propeller engine. SECTION * C. : Attempt all questions : 10 ...