Operating Systems Kcs 401 2023
Operating Systems Kcs 401 2023
Roll No.
Paper Id: 238341
B.TECH.
(SEM IV) THEORY EXAMINATION 2022-23
OPERATING SYSTEMS
TIME: 3 HOURS TOTAL MARKS: 100
Note: Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
1. Attempt ALL questions in brief. 2 x 10 = 20
(a) Define two main functions of an operating system.
(b) Explain the principal advantages of multiprogramming.
(c) Define the term busy waiting.
(d) Define semaphore and its types.
(e) Explain starvation problem and its solution.
(f) Explain internal and external fragmentation.
(g) Explain thrashing and locality of reference.
(h) Distinguish between physical and logical address space of a process.
(i)Explain various operations associated with a file.
(j)Explain tree level directory structure.
SECTION B
_ .
2. Attempt any THREE of the following: 10x3=30
242
Process/Resource A B C A B C A B C
|
P1 2 1 2 3 2 2
P2 4 0 1 9 0 2
P3 0 2 0 7 5 3
P4 1 1 2 11 2 3
SECTION C
3. Attempt any ONE part of the following: 10x1=10
(a) Explain the term RAID and its characteristics. Also, explain various RAID levels with
their advantages and disadvantages.
(b) Explain the concept of file system management. Also, explain various file allocation and
file access mechanisms in details.
(ii)
(iii)
LRU replacement
Optimal replacement
_ .
(b) Explain the terms hit ratio and miss ratio. On a simple paged system, associative registers
55
hold the most active page entries and the full-page table is stored in main memory. If
.
references satisfied by associative registers take 100ns, and references through main
memory page table takes 180 ns, what must the hit ratio be to achieve an effective access
time of 125 ns?