GTU Computer Engineering (Semester 4)
Operating System
December 2014
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Explain basic services provided by Operating System on bare Hardware machine.
7 M
1 (b) What is Virtual Machine? Explain virtual machine & Client/Server architecture of Operating System.
7 M

2 (a) What is the average waiting time & average Turn around times of all process for FCS, SJF, non-preemptive Priority and Round(Quantum=1) scheduling:
Process Burst Time Priority
P1 8 5
P2 1 1
P3 3 2
P4 2 4
P5 5 3

(Assume small number implies higher priority & All 5 process have arrived in order P1,P2,P3,P4,P5 all at time=0).
7 M
2 (b) What is Process? Explain Process state Transition Diagram in detail.
7 M
2 (c) What is System Call in OS? Explain fork() system call to create new process in UNIX OS.
7 M

3 (a) What is IPC? Explain the use of Semaphore to solve Producer-Consumer problem.
7 M
3 (b) Consider the following page reference string
0,1,7,2,3,2,7,1,0,3. How many page fault occur with four page frames and eight pages and the four frames are initially empty in case of FIFO & LRU.
7 M
3 (c) What is Monitor in IPC? Solve the Bounded buffer problem using Monitor.
7 M
3 (d) What is a Deadlock? Describe the conditions that lead to deadlock. How to recover from Deadlock?
7 M

4 (a) Explain virtual memory management with Paging in detail.
7 M
4 (b) Explain Banker's Algorithm to avoid deadlock with multiple resources.
7 M
4 (c) Explain following commands in UNIX
1. chmod 2. grep 3. head & tail 4. cut.
7 M
4 (d) Explain How DMA (Direct Memory Access) works.
7 M

5 (a) Explain linked list allocation file implementation technique.
7 M
5 (b) Discuss various security threats in File System of OS.
7 M
5 (c) Compare various Disk Arm Scheduling Algorithms.
7 M
5 (d) Compare Windows & Unix family Operating System.
7 M



More question papers from Operating System
SPONSORED ADVERTISEMENTS