OSY imp
OSY imp
Solve the problem using: (i) SJF (ii) FCFS Also find average waiting time using Gantt chart.
Enlist different file allocation methods? Explain contiguous allocation method in detail.
Describe prevention of deadlock occurrence with respect to hold and wait necessary condition
Describe linked file allocation method with suitable example. Also list its one advantage.
With suitable example, describe any one free space management technique.
Calculate average waiting time for following data using First Come First Served (FCFS) and Shortest
Job First (SJF) algorithms.
i) Device Management
ii) ii) Performance monitor
iii) iii) Task scheduler
Describe the concept of virtual memory with respect to paging. Also draw paging hardware diagram
and describe its working with example.
Consider the following page reference string arrival with three page frames:- 5, 6, 7, 8, 9, 7, 8, 5, 9, 7,
8, 7, 9, 6, 5, 6 Calculate number of page faults with optimal and FIFO (First In First Out) page
replacement algorithms.
Describe following directory structures in short with neat sketches: i) Single level ii) Two level iii)
Tree structured
Solve given problem by using SJF and FCFS scheduling algorithm using Gantt chart. Calculate the
average waiting time for each algorithm.
Given a page reference string with three (03) page frames. Calculate the page faults with ‘Optimal’
and ‘LRU’ page replacement algorithm respectively. ‘7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1
Solve given problem by using (i) Pre-emptive SJF (ii) Round Robin (Time Slice = 3 ms) Calculate
average waiting time using Gantt Chart
i. First Bet
ii. Best Fit
iii. Worst Fit
O.S
P1
<FREE> 12 KB
P2
<FREE> 19 KB
P3
<FREE> 7 KB
Construct and explain directory structure of a file system in terms of two level and tree structure.
i) Virtual Memory
ii) ii) Paging
Define Deadlock.
i) Optimal
ii) ii) LRU
iii) iii) FiFo page
Consider the four processes P1, P2, P3 and P4 with length of CPO Burst time. Find out Avg waiting
time and Avg turn around time for the following Algorithms. i) FCFS ii) RR (Slice-4ms) iii) SJF
i) Memory management
ii) ii) File management
Describe concept of free space management technique using bit map method.
Draw the diagram of linked file allocation method and explain it.
Solve given problem by using FCFS scheduling algorithm. Draw correct Gantt chart and calculate
average waiting time and average turnaround time –
Which hole is taken for next segment request for 8 KB in a swapping system for First fit, Best fit and
Worst fit.
OS
4 KB
9 KB
20 KB
16 KB
8 KB
2 KB
6 KB
Page replacement algorithms of memory management, if the page are coming in the order
70120304230321201701
Draw and explain directory structure of a file system in terms of single level, two level and tree
structure.