Information Technology (Semester 5)
Total marks: 70
Total time: 2 Hours 30 min
INSTRUCTIONS
(1) Attempts questions Q.1 or Q.2, Q.3 or Q.4 , Q.5 or Q,6 and Q.7 or Q.8 .
(2) Neat diagrams must be drawn whenever necessary.
(3) Assume suitable data , if necessary.
1.a.
Elaborate the functions of operating system.
(5 marks)
00
1.b.
Specify the role of scheduler in operating system.
(5 marks)
00
OR
2.a.
State command line arguments in shell with example.
(5 marks)
00
2.b.
Differentiate between user - level and kernel - level threads
(5 marks)
00
3.a.
Describe in brief different IPC mechanisms.
(5 marks)
00
3.b.
Explain following terms:
i. Critical Section.
ii. Race Condition
(5 marks)
00
OR
4.a.
Write a semaphore solution for readers - writers problem.
(5 marks)
00
4.b.
Explain with an appropriate example, how resource allocation graph determines a deadlock.
(5 marks)
00
5.a.
For the following reference string.
6,5,1,2,5,3,5,4,2,3,6,3,2,1,2
Count the number of page faults that occur with 3 frames using FIFO, Optimal and LRU page replacement methods. Discuss the result.
(12 marks)
00
5.b.
Explain segmentation with suitable diagram
(6 marks)
00
OR
6.a.
Free memory holes of sizes 15K, 10K, 5K, 25K, 30K, 40K are available. The processes of size 12K, 2K, 25K, 20K are to be allocated. How processes are placed using first fit, best fit and worst fit partitioning algorithm. Calculate internal and external fragmentation.
(10 marks)
00
6.b.
Explain the concept of virtual memory with suitable diagram
(8 marks)
00
7.a.
A disk drive has 200 cylinders, numbered 0 - 199. The drive is currently serving the request at cylinder 63. The queue of pending requests in FIFO order is 27,129,110,186,147,41,10,64,120. Starting from the current head position what is the total distance that disk arm moves to satisfy all the pending requests for the following disk scheduling algorithms.
i. FCFS
ii. C - SCAN
iii. C - LOOK
iv. SSTF
(12 marks)
00
7.b.
Explain I/O buffering mechanism.
(4 marks)
00
OR
8.a
Write a short note on the following
i. Directory Structure
ii. File sharing
(8 marks)
00
8.b.
Explain free space management technique.
(8 marks)
00
9.a.
Explain in detail Linux Booting process.
(8 marks)
00
9.b.
List and explain different inter - process communication mechanisms in Linux operating system
(8 marks)
00
OR
Write short note on following:
10.a.
Memory Management in Linux
(4 marks)
00
10.b.
Linux File system
(4 marks)
00
10.c.
Kernel Modules
(4 marks)
00
10.d.
Process Scheduling in Linux
(4 marks)
00