Professional Documents
Culture Documents
Os Insem (2019) @sppuitpro
Os Insem (2019) @sppuitpro
8
23
P75 [Total No. of Pages :3
ic-
Oct./ TE/ Insem. - 194
tat
T.E. (Information Technology)
1s
7:1
OPERATING SYSTEM
01 91
0:3
(2015 Course) (Semester - I) (314444)
0
91
2/0 13
Time : 1 Hour] [Max. Marks :30
0
8/2
Instructions to the candidates:
.23 GP
8
C
23
3) Figures to the right side indicate full marks.
ic-
4) Assume suitable data, if necessary.
16
tat
8.2
1s
.24
7:1
Q1) a) Write C program for fork system call in which main program accept the
91
49
array, parent process sort and display the element in ascending order
0:3
30
OR
CE
82
8
23
Q2) a) Explain the concept of virtual machine with its implementation and benefits.
.23
ic-
Also explain example of virtual machine. [6]
16
tat
b) State and explain different services provided by an operating sytem. [4]
8.2
1s
.24
7:1
91
Q3) a) For the table given below calculate the average waiting time and average
49
0:3
turn around time and draw a Gantt Chart illustrating the process execution
30
91
P1 0 10
.23
P2 1 06
16
P3 2 12
8.2
P4 3 15
.24
8
23
[2]
ic-
OR
tat
Q4) a) For the table given below calculate the average waiting time and average
1s
turn around time and draw a Gantt Chart illustrating the process execution
7:1
01 91
using following scheduling algorithms.
0:3
0
i) RR (Time slice - 2 units) [8]
91
2/0 13
ii) FCFS
0
8/2
.23 GP
P1 0 4
82
8
C
23
P2 1 5
ic-
16
tat
P3 2 2
8.2
1s
P4 3 1
.24
7:1
91
49
0:3
P5 4 6
30
91
P6 6 3
01
01
8
Q5) a) Consider the following snapshot of a system: [6]
23
.23
tat
8.2
1s
A B C D A B C D A B C D
.24
7:1
P0 0 0 1 2 0 0 1 2 1 5 2 0
91
49
0:3
30
P1 1 0 0 0 1 7 5 0
91
01
01
P2 1 3 5 4 2 3 5 6
8/2
GP
P3 0 6 3 2 0 6 5 2
2/0
CE
P4 0 0 1 4 0 6 5 6
82
.23
8
23
OR
ic-
tat
Q6) a) What is busy waiting with respect to process synchronization? Explain
1s
how semaphore solves problem of synchronization. [6]
7:1
01 91
b) How resource allocation graph helps to deadlock? Write the necessary
0:3
conditions of deadlock to be occurred. [4]
0
91
2/0 13
0
8/2
.23 GP
E
82
8
C
23
ic-
16
tat
8.2
1s
.24
7:1
91
49
0:3
30
91
01
01
8/2
GP
2/0
CE
82
8
23
.23
ic-
16
tat
8.2
1s
.24
7:1
91
49
0:3
30
91
01
01
8/2
GP
2/0
CE
82
.23
16
8.2
.24