22isu303 Ise Aiml MP
22isu303 Ise Aiml MP
22isu303 Ise Aiml MP
A B C D A B C D A B C D
0 0 1 2 1 5 2 0 P 0 0 1 2
P0 0
P1 1 0 0 0 P 1 7 5 0
1
P2 1 3 5 4 P 2 3 5 6
2
P3 0 6 3 2 P 0 6 5 2
3
P4 0 0 1 4 P 0 6 5 6
4
OPERATING SYSTEM
OR
2 a) Identify the activities for which the operating system is 10 CO1 L3
responsible for in connection with
i) Process management
ii) ii) File management
OR
OR
c) Write a program for sequential file for processing the student 6 CO4 L5
information.
OR
OR
b) Discuss process. What are the states a process can be in? Give the 08 CO1 L2
process state diagram clearly indicating the conditions for a
process to shift from one state to another.
c) Write a c program to implement unix MV command by using 06 CO1 L3
system calls.
OR
c) Write a short note on i) hashed page tables ii) Inverted Page Tables 06 CO3 L2
OR
6 a) What do you mean by page faults? When does page fault occur? 06 CO3 L1
Describe the action taken by OS when a page fault occurs?
b) Consider the following page reference string: 10 CO3 L5
70120304230321201701
Foe a memory with three frames. How many page faults would
occur for LRU, FIFO and optimal page replacement algorithms?
Which is the most efficient among them.
c) Write a program to simulate Buddy memory allocation algorithm. 04 CO3 L1
8 a) Given the following queue 95, 180, 34, 119, 11, 123, 62, 64 with 12 CO4 L5
head initially at track 50 and ending at track 199 calculate the
number of moves using FCFS, SSTF, elevator, and C-LOOK
algorithm.
04 CO4 L2
b) Explicate the linked allocation and indexed allocation method.
c) Write a program to organize the file using single level directory. 04 CO4 L5
OR