Professional Documents
Culture Documents
7 Years Question
Assignment
Quote of the day: “ The greatest amount of wasted time is the time not getting
started ”
i. Scheduling queues
ii. Scheduler
P.T.O.
10. Compare paging and segmentation.
11. What are the different file allocation method ? Explain any one in detail
with example.
12. What is partitioning ? Explain concept of variable memory
partitioning withexample.
13. Consider the following page reference string – 1, 2, 3, 4, 5, 3, 4, 1, 6,
7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5. How many page faults occur for FIFO
replacement algorithm assuming 3 frames ?
i. fork( )
ii. exec( )
iii. abort( )
iv. end( )
P2 1 1
P3 2 3
P4 1 4
P5 5 2
1. nonpreemptive priority
P.T.O.
2. Round-Robin (RR) (quantum = 1)
36. The job are scheduled for execution as follows solve the problem
using:
i. SJF
ii. FCFS
also find average waiting time using Gantt chart.
P1 0 8
P2 1 4
P3 2 9
P4 3 5
Job Burst
Time
J1 8
J2 5
P.T.O.
J3 5
J4 13
(i) FCFS
(ii) SJF
39. Describe indexed allocation method with advantage and
disadvantage.
40. Explain single level directory structure.
41. Calculate average locating time for SJF (Shortest Job
First)and round robin (RR) algorithm for following table.
P2 04
P3 09
P4 06
P.T.O.
44. Given a page reference reference string(arrival) with four page
frames, calculate the page faults with FIFO and LRU page
replacement algorithms respectively : 12, 3, 4, 5, 1, 2, 5, 1, 2, 3, 4, 5,
1,6,7,8,7,8,9,7,8,9,5,4,4,5,4,2.
48. Differentiate between Long term scheduler and Short term scheduler
w.r.t. following points:
i) Selection of job
iii) Speed
P.T.O.
MSBTE NEXT ICON COURSE YOUTUBE CHANNEL – UR ENGINEERING FRIEND