0% found this document useful (0 votes)
132 views17 pages

OS Update Blow UP KCS401

This course plan outlines an operating systems course that will help students understand the structure, design, and implementation of operating systems. The course covers key topics like processes, concurrency, memory management, I/O management, and file systems. Students will learn about process scheduling algorithms, synchronization methods, virtual memory, disk scheduling, and more. The course references textbooks on operating system concepts, computer system architecture, and Linux systems as reference materials. Tutorial sheets provide sample questions to help students practice and reinforce the concepts covered.

Uploaded by

Shikha Arya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views17 pages

OS Update Blow UP KCS401

This course plan outlines an operating systems course that will help students understand the structure, design, and implementation of operating systems. The course covers key topics like processes, concurrency, memory management, I/O management, and file systems. Students will learn about process scheduling algorithms, synchronization methods, virtual memory, disk scheduling, and more. The course references textbooks on operating system concepts, computer system architecture, and Linux systems as reference materials. Tutorial sheets provide sample questions to help students practice and reinforce the concepts covered.

Uploaded by

Shikha Arya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

COURSE PLAN

OPERATING SYSTEM
KCS-401

COURSE DESCRIPTION: This course is designed to help the students gain an understanding
of the Operating System and its application in different contexts. It’s also gives a better glimpse
of the design and the Implementation of the OS and also encompasses the various issues either
related with the technical or theoretical.

Course OutComes

CO 1 Understand the structure and functions of OS.


CO 2 Learn about Processes, Threads and Scheduling algorithms.
CO 3 Understand the principles of concurrency and Deadlocks.
CO 4 Learn various memory management scheme.
CO 5 Study I/O management and File systems.

Program OutComes

PO2: Problem Analysis: Identify, Formulate, review research literature and analyze complex
engineering problems related to CSE and reaching substantiated conclusions using first
principles of mathematics, natural sciences and engineering sciences.

PO12: Life-Long Learning: Recognize the need for and have the preparation and ability to
engage in independent and life-long learning the broadest context of technological change.

Program Specific Outcome

PSO2: Foundation of Computer System: the ability to interpret the fundamental concepts and
methodology of computer systems. Students can understand the functionality of hardware and
software aspects of computer systems.

PRE-Requisites: To study this subject it is necessary to have Knowledge of programming


language C, elementary data structures and architecture of computer. In this subject we study the
principle and concepts of operating systems in term of different topics such as processes
scheduling & synchronization, memory management, file systems etc.

Operating System is system software that manages computer hardware and software resources
and provides common services for computer programs. The operating system is a component of
the system software in a computer system. Application programs usually require an operating
system to function. Time-sharing operating systems schedule tasks for efficient use of the system
and may also include accounting software for cost allocation of processor time, mass storage,
printing, and other resources.

For hardware functions such as input and output and memory allocation, the operating system
acts as an intermediary between programs and the computer hardware, although the application
code is usually executed directly by the hardware and frequently makes system calls to an OS
function or is interrupted by it. Operating systems are found on many devices that contain a
computer—from cellular phones and video game consoles to web servers and supercomputers.

No. of REFEREN
UNIT TOPIC DETAILS Page No.
Lecture CE
Introduction to Operating 1
system, functions of Operating
system PgNo.3 - 10
I. Classification of Operating 1 Silberschatz,
systems Galvin and PgNo.12- 17
Operating System Structure 1 Gagne PgNo.18,70
Components of Operating 1
Introduction systems PgNo.18-31
Operating System Services 1 PgNo.55-66
Kernels/shell Introduction 1 PgNo. 10-15
Richard
Monolithic and Microkernel 1 Peterson
Systems PgNo. 18-22
Process Concept, Process States 1 PgNo.101-103
Process Control Block (PCB) 1 PgNo. 103
Process address space , Process 1
III. identification information PgNo. 105
Inter Process Communication 1
models, Process generation Silberschatz, PgNo. 116-123
Threads and Multi Thread 1 Galvin and
Management Gagne PgNo. 153-158
CPU Schedulers 1 PgNo. 108
Scheduling Scheduling Concepts, 1
Performance Criteria PgNo.183-188
Scheduling Algorithms 1 PgNo. 188-199
Multiprocessor Scheduling 1 PgNo.200-206
Principle of 1
Concurrency/Synchronization PgNo.225-227
Critical Section and Critical 1 Silberschatz,
Section Problem Galvin and PgNo. 227
II. Peterson’s solution 1 Gagne
PgNo. 229
Concurrent Dekker’s solution 1 PgNo. 268
Processes
Semaphores 1 PgNo.234-237
Silberschatz,
Test and Set operation 1
Galvin and PgNo. 231-233
Classical Problem in 1 Gagne
Concurrency PgNo. 239-244
Deadlock : System model, 1
III. Deadlock characterization PgNo. 283-289
Deadlock Prevention 1 Silberschatz PgNo. 291-294
, Galvin and
Deadlock Deadlock Avoidance 1 PgNo. 294-300
Gagne
Handling Daedlock Detection and 1
Recovery PgNo. 301-305
Basic bare machine, resident 1
monitors PgNo. 315-317
IV. Memory Allocation Schemes 1 PgNo. 318-327
Paging & protection 1 Silberschatz PgNo. 328-341
Segmentation 1 , Galvin and PgNo. 342-344
Memory Virtual Memory, Demand 1 Gagne
Management paging PgNo.357-367
Page replacement algorithms 1 PgNo. 369-375
Thrashing 1 PgNo. 386-388
Cache memory organization 1 Morris
Mano PgNo.238
File System Introduction 1 PgNo. 421-430
Access mechanism 1 PgNo. 430-432
V. File directories and File sharing 1 PgNo. 433-450
File System Implementation 1
and Protection Silberschatz PgNo.451, 464
I/O Disk Scheduling 1 , Galvin and
PgNo. 510-516
Management Gagne
Disk Management 1 PgNo. 516-519
and Disk
RAID Structure 1 PgNo.522-529
Scheduling
I/O devices and I/O subsystems 1 PgNo. 566-570
I/O buffering, Disk storage 1 PgNo. 572-574

References:
1. Silberschatz, Galvin and Gagne, “Operating Systems Concepts”, Wiley
2. M. Morris Mano, “Computer System Architecture", Pearson Education
3. Richard Peterson, “Linux: The Complete Reference”, Osborne McGraw-Hill
TUTORIAL SHEETS
OPERATING SYSTEM

TUTORIAL SHEET-1

Q1. What do you understand by user mode and kernel mode? Differentiate between multi
programming, Time sharing and multiprocessing operating system.
Q2. Define the components of an operating system? [AKTU2013-14]
Q3. What is operating System? Discuss its any four functions? [AKTU2013-14]
Q4. What is spooling? [AKTU2014-15]
Q5. Why operating system is needed ? Justify “operating system is the control program of the
system”. [AKTU2014-15]

TUTORIAL SHEET – 2

Q1. Justify the statement that Operating System is a reactive program. Explain the concept of
Kernel in Operating System. Also differentiate monolithic and micro-kernel system.
Q2. Discuss essential properties of Distributed operating system. [AKTU2012-13]
Q3. Differentiate between general purpose OS and real time OS with example. [AKTU2013-14]
Q4. What are the differences between shell and kernel? [AKTU2014-15]
Q5. Explain layered structure of an operating system? Also explain advantages and
disadvantages of the layered approach to system design. [AKTU2014-15]

TUTORIAL SHEET – 3

Q1. What are three requirements of any solution to the critical sections problem? Why are the
requirements needed?
Q2. State and Describe Producer & Consumer problem with its suitable solution? [AKTU2013-
14]
Q3. Explain Dekker’s Solution briefly. [AKTU2014-15]
Q4.Synchronization in the classical readers and writers problem can be achieved through use of
semaphores. In the following incomplete code for readers-writers problem, two binary
semaphores mutex and wrt are used to obtain synchronization. [GATE 2007]

wait (wrt)
writing is performed
signal (wrt)
wait (mutex)
readcount = readcount + 1
if readcount = 1 then S1
S2
reading is performed
S3
readcount = readcount - 1
if readcount = 0 then S4
signal (mutex)
The values of S1, S2, S3, S4, (in that order) are
1.signal (mutex), wait (wrt), signal (wrt), wait (mutex)
2.signal (wrt), signal (mutex), wait (mutex), wait (wrt)
3.wait (wrt), signal (mutex), wait (mutex), signal (wrt)
4.signal (mutex), wait (mutex), signal (mutex), wait (mutex)
Q5. Consider the methods used by processes P1 and P2 for accessing their critical sections
whenever needed, as given below. The initial values of shared boolean variables S1 and S2 are
randomly assigned.
Method Used by P1
while (S1 == S2) ;
Critica1 Section
S1 = S2;
Method Used by P2
while (S1 != S2) ;
Critica1 Section
S2 = not (S1);
Which one of the following statements describes the properties achieved and why? [GATE
2010]
A-Mutual exclusion but not progress
B-Progress but not mutual exclusion
C-Neither mutual exclusion nor progress
D-Both mutual exclusion and progress

TUTORIAL SHEET – 4

Q1. What is Inter Process Communication? How the process communicate using Shared
Memory.
Q2. Define Semaphore. Give a scheme for implementation of semaphore primitives?
[AKTU2012-13]
Q3 Consider the following snapshot of the system: [AKTU2015-16]

Allocation Max Available


A B C D A B C D A B C D
P0 0 0 1 2 0 0 1 2 1 5 2 0
P1 1 0 0 0 1 7 5 0
P2 1 3 5 4 2 3 5 6
P3 0 6 3 2 0 6 5 2
P4 0 0 1 4 0 6 5 6

Answer the following questions using the banker’s algorithm:


(i) What is the content of the matrix Need?
(ii) Is the system in a safe state? If yes, then find the Safe Sequence?
(iii) If a request from processes P1 arrives for (0, 4, 2, 0) can the request be granted
immediately?
Q4. Three concurrent processes X, Y, and Z execute three different code segments that access
and update certain shared variables. Process X executes the P operation (i.e., wait) on
semaphores a, b and c; process Y executes the P operation on semaphores b, c and d; process Z
executes the P operation on semaphores c, d, and a before entering the respective code segments.
After completing the execution of its code segment, each process invokes the V operation (i.e.,
signal) on its three semaphores. All semaphores are binary semaphores initialized to one. Which
one of the following represents a deadlock free order of invoking the P operations by the
processes? [GATE 2013]

A-X: P(a)P(b)P(c) Y:P(b)P(c)P(d) Z:P(c)P(d)P(a)


B-X: P(b)P(a)P(c) Y:P(b)P(c)P(d) Z:P(a)P(c)P(d)
C-X: P(b)P(a)P(c) Y:P(c)P(b)P(d) Z:P(a)P(c)P(d)
D-X: P(a)P(b)P(c) Y:P(c)P(b)P(d) Z:P(c)P(d)P(a)

Q5.Which one of the following is FALSE and why? [GATE 2014]


a) User level threads are not scheduled by the kernel.
b) When a user level thread is blocked, all other threads of its process are blocked.
c) Context switching between user level threads is faster than context switching between kernel
level threads.
d) Kernel level threads cannot share the code segment

TUTORIAL SHEET – 5

Q.1. What is a thread control block? How is it different from the process control block? Mention
some (two) of the parameters in TCB.
Q.2. Draw & Explain Process Control Block (PCB) with all its components. Also brief why
context switching is an overhead in the system? [AKTU2014-15]
Q.3. Consider the processes, CPU burst time and Arrival time given below: [AKTU2015-16]
Process Arrival Time Burst Time
P1 0.0 8
P2 1.0 4
P3 2.0 9
P4 3.0 5
Draw the Gantt chart and calculate the following by using SJF/SRTF CPU Scheduling Algorithm
(i) Average Waiting Time. (ii) Average Turn Around Time.
Q4.Which of the following is NOT a valid deadlock prevention scheme and explain why?
[GATE 2000]
a) Release all resources before requesting a new resource
b) Number the resources uniquely and never request a lower numbered resource than the last one
requested.
c) Never request a resource after releasing any resource
d) Request and all required resources be allocated before execution.
Q5. An operating system uses shortest remaining time first scheduling algorithm for pre-emptive
scheduling of processes. Consider the following set of processes with their arrival times and
CPU burst times (in milliseconds):

Process Arrival Time Burst Time


P1 0 12
P2 2 4
P3 3 6
P4 8 5
What is the average waiting time (in milliseconds) of the processes? [GATE-2014]

Q6. Consider the following CPU process with arrival time (in milliseconds).[GATE 2017}

Process Arrival Time Burst Time


P1 0 7
P2 3 3
P3 5 5
P4 6 2

If the pre-emptive shortest remaining time first scheduling algorithm is used to schedule the
processes, then what is average waiting time across all processes ?

TUTORIAL SHEET – 6

Q1. How deadlock avoidance differs from deadlock prevention?


Q2. Explain short term, medium term and long term scheduling. Describe the differences among
them? [AKTU2014-15]
Q3. Draw the labeled process state transition diagram describing the various process states. Also,
give the different reasons for process termination? [AKTU2014-15]
Q4.An operating system uses Shortest Remaining Time first (SRT) process scheduling
algorithm. Consider the arrival times and execution times for the following processes:

Process Execution time Arrival time


P1 20 0
P2 25 15
P3 10 30
P4 15 45

What is the total waiting time for process P2? [GATE 2007]

Q5.For the processes listed in the following table, which scheduling schemes will give the lowest
average turnaround time? [GATE 2015]

Process Arrival Time Processing Time


A 0 3
B 1 6
C 4 4
D 6 2
TUTORIAL SHEET – 7

Q1. What is partitioned memory allocation? Describe first-fit and best-fit strategies for disk
space allocation, with their merits and demerits.
Q2. Explain segmentation with diagram. [AKTU2014-15]
Q3. Explain the difference between internal and external fragmentation by taking suitable
example. Which one occurs in Pure Paging, Pure Segmentation, Demand Paging and Paged
Segmentation? [AKTU2014-15]
Q4. A system uses 3 page frames for storing process pages in main memory. It uses the Least
Recently Used (LRU) page replacement policy. Assume that all the page frames are initially
empty. What is the total number of page faults that will occur while processing the page
reference string given below?
4, 7, 6, 1, 7, 6, 1, 2, 7, 2 [GATE-2014]
Q5.Consider six memory partitions of size 200 KB, 400 KB, 600 KB, 500 KB, 300 KB, and 250
KB, where KB refers to kilobyte. These partitions need to be allotted to four processes of sizes
357 KB, 210 KB, 468 KB and 491 KB in that order. If the best fit algorithm is used, which
partitions are NOT allotted to any process? [GATE 2015].
Q6. Consider a main memory with five page frames and the following sequence of page
preferences 3,8,2,3,9,1,6,3,8,9,3,6,2,1,3. Then find the total number of page fault oocured using
FIFO and LRU page replacement algorithm. [GATE 2015]

TUTORIAL SHEET – 8

Q.1. Explain thrashing with suitable diagram. What is a translation look-aside buffer?
Q.2. What do you mean by Belady’s anomaly? Which algorithm suffers from Belady’s anomaly?
[AKTU 2014-15]
Q.3. Consider the following reference string 12342156212376321236
How many page faults will occur for? [AKTU 2015-16]
(i) FIFO
(ii) LRU Page Replacement Algorithm.
Q4. Consider a paging hardware with a TLB. Assume that the entire page table and all the pages
are in the physical memory. It takes 10 milliseconds to search the TLB and 80 milliseconds to
access the physical memory. If the TLB hit ratio is 0.6, what is the effective memory access time
(in milliseconds)? [GATE 2014]
Q5.A computer system implements a 40 bit virtual address, page size of 8 kilobytes, and a 128-
entry translation look-aside buffer (TLB) organized into 32 sets each having four ways. Assume
that the TLB tag does not store any process id. What is the minimum length of the TLB tag in
bits? [GATE 2015]
TUTORIAL SHEET – 9

Q1. Explain File directories and File sharing.


Q2. Discuss the following terms: [AKTU 2014-15]
(i) Access Matrix.
(ii) Boot Blocks.
Q3. Suppose the moving head disk with 200 tracks is currently serving a request for track 143
and just finished a request for track 143 and just finished a request for track 125. If the queue
of request is kept in FIFO order 86, 147, 91, 177, 94, 150. What is total head movement for the
following scheduling?
Q4. What do you mean by Belady’s anomaly? Which algorithm suffers from Belady’s anomaly?
[AKTU 2015-16]
(i) FCFS (ii) SSTF (iii) C-SCAN
Q5. A Computer system implements 8 kilobyte pages and a 32-bit physical address space. Each
page table entry contains a valid bit, a dirty bit three permission bits, and the translation. If the
maximum size of the page table of a process is 24 megabytes, what is the length of the virtual
address supported by the system in bits? [GATE 2010]
Q6.Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at
cylinder 100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110,
135 and 145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the
request for cylinder 90 is serviced after servicing ____________ number of requests. [GATE
2014]
Q7.Consider a disk queue with request for I/O to blocks on cylinder
47,38,121,191,87,11,92,10.The C-LOOK scheduling algorithm is used the head is initially at
cylinder number 63, moving towards larger cylinder numbers on it servicing pass. The cylinders
are numbered from 0 to 199. Calculate the total head movement incurred while servicing these
request.[GATE 2016].

TUTORIAL SHEET – 10

Q1. Explain different issues in File System Implementation.


Q2. What is directory? Explain any two ways to implement the directory? [AKTU 2015-16]
Q3.Write short note on:- [AKTU 2015-16]
a) I/O Buffering.
b) Sequential File.
c) Indexed File.
Q4.Which of the following statements is false and why? [GATE 2001]
Q5. Consider a disk system with 100 cylinders. The request to access the cylinders occur in the
following
sequence: 4,34,10,7,19,73,2,15,6,20
Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if
it takes
1 ms to move from one cylinder to adjacent one and SSTF policy is used? [GATE 2009].

Q6. Consider a disk pack with a seek time of 4ms and rotational speed of 10000 rotation per
minute. It has 600 sector per track and each sector can store 512 bytes of data . Consider a file
stored in the disk. The file contains 2000 sectors Assume that every sector access necessitates a
seek and the average rotational latency for accessing each sector is half of the time for one
complete rotation . Then what is the total time ( in ms) needed to read the entire file is?[GATE
2015]
MODEL PAPER
OPERATING SYSTEM
KCS-401
Time : 3 Hours MM: 100
SECTION A

Q 1.Attempt all the following parts (2x10=20)

a) What do you understand by the term soft real time operating system?
b) What are the differences between multiprocessing and multi programming?
c) Explain shortest job first cpu scheduling algorithm?
d) Explain virtual memory ?
e) What do you understand by the term page fault?
f) Explain term TLB?
g) What is paging, segmentation and fragmentation?
h) What is starvation?
i) What do you understand by locality of reference?
j) What is compaction?

SECTION B

Q2) Attempt any three part of the following (10* 3=30)


(a) Explain layered approach operating system
(b) Define process, and explain states of process
( c ) What is FCFS algorithm? Explain with example
( d) Explain paging and demand paging.
( e ) What is thread? Explain benefits of multithreaded programming.

SECTION C

Q3. Attempt any One part of the following (10 *1 =10)


(a) Describe functions of an Operating system.
(b) Solve the following question with the help of bankers algorithm

(i) Create need matrix (ii) Use the safety algorithm to test if the system is in a safe
state.
(iii) If the system is in a safe state, can the following requests be granted, why or why not?
Please also run the safety algorithm on each request as necessary.
a. P1 requests (2,1,1,0) b.P1 requests (0,2,1,0)

Q(4) Attempt any one part of the following. (10*1 =10)


(a) What is CPU scheduling? Explain criteria for scheduling.
(b) Explain the difference between monolithic , microlithic and reentrant kernel?

Q(5) Attempt any one part of the following. (10*1= 10)


(a) Explain Batch processing operating system.
(b) Explain transfer lookaside buffer the help of appropriate example and diagram?

Q(6) Attempt any one part of the following ( 10 *1 =10)


(a) What is Virtual Memory? Explain the process of Address Translation in Virtual Memory.
(b)What is deadlock? Explain different Deadlock handling mechanism.

Q(7) Attempt any one part of the following ( 10* 1=10)


(a) What is disk scheduling? Explain different disk scheduling algorithm.
(b) Explain File System and Security.
PREVIOUS YEAR PAPER

Paper Id: 110255 Roll No


B.TECH
(SEM IV) THEORY
EXAMINATION 2018-19
Operating System
Time: 3 Hours Total Marks: 70
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
2. Any special paper specific instruction.
SECTION A
1. Attempt all questions in brief. 2 x 7 = 14
a. Describe the typical elements of the process control block
b. What are the various scheduling criteria for CPU scheduling?
c. What is the main function of the memory-management unit?
d. Define seek time and latency time.
e. Define SCAN and C-SCAN scheduling algorithms.
1. What is a safe state and an unsafe state?
f. Explain the logical address space and physical
address space diagrammatically.

SECTION B
2. Attempt any three of the following: 7 x 3 = 21
a. Define Process. Explain various steps involved in change of a
process state with neat transition diagram.
b. Explain Batch operating system with example.
c. What is a Critical Section problem? Give the conditions that a
solution to the critical section problem must satisfy.
d. Illustrate the page-replacement algorithms
(i) FIFO
(ii) Optimal Page Replacement
use the reference string 7, 0,1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2,1, 2, 0, 1, 7, 0,1
for a memory with three frames.
e. A hard disk having 2000 cylinders, numbered from 0 to 1999.
the drive is currently serving the request at cylinder 143,and
the previous request was at cylinder 125.The status of the
queue is as follows
86, 1470, 913, 1774,948,1509,1022,1750,130
What is the total distance (in cylinders) that the disk arm moves to satisfy the
entire pending request for each of the following disk-scheduling algorithms?
(i) SSTF
(ii) FCFS
SECTION C
3. Attempt any one part of the following: 7x1=7
(a) What is an Operating system? Describe the Operating-System Functions
(b) Write about monolithic kernel, layered, and microkernel
structures of operating systems.

4. Attempt any one part of the following: 7x1=7


(a) Explain what semaphores are, their usage, implementation
given to avoid busy waiting and binary semaphores.
(b) What is Producer Consumer problem? How it can illustrate
the classical problem of synchronization? Explain.

5. Attempt any one part of the following: 7x1=7


(a) Consider the following process:

Process Arrival Burst


Time Time
P1 0 8
P2 1 4
P3 2 9
P4 3 5
What is the average waiting and turn around time for these process with
(i) FCFS Scheduling
(ii) Preemptive SJF Scheduling
(b) Consider the following snapshot of a system:

Allocated Maximum Available


Process R1 R2 R3 R1 R2 R3 R1 R2 R3
P1 2 2 3 3 6 8 7 7 10
P2 2 0 3 4 3 3
P3 1 2 4 3 4 4
Answer the following questions using the banker’s algorithm:
1) What is the content of the matrix need?
2) Is the system in a safe state?

6. Attempt any one part of the following: 7x1=7


(a) Explain Paging with example. Differentiate Paging and Segmentation.
(b) Explain the difference between External
fragmentation and Internal fragmentation. How to solve
the fragmentation problem using paging.
7. Attempt any one part of the following: 7x1=7
(a) What are files and explain the access methods for files.
(b) Write short notes on :
i) File system protection and security and
ii) Linked File allocation methods

8.Attempt any one part of the following: 7x1=7


(a) Explain what semaphores are, their usage,
implementation given to avoid busy waiting and
binary semaphores.
(b) What is Producer Consumer problem? How it can
illustrate the classical problem of synchronization?
Explain.
9. Attempt any one part of the following: 7x1=7
(a) Consider the following process:

Process Arrival Burst


Time Time
P1 0 8
P2 1 4
P3 2 9
P4 3 5
What is the average waiting and turn around time for these process with
(i) FCFS Scheduling
(ii) Preemptive SJF Scheduling

(b) Consider the following snapshot of a system:

Allocated Maximum Available


Process R1 R2 R3 R1 R2 R3 R1 R2 R3
P1 2 2 3 3 6 8 7 7 10
P2 2 0 3 4 3 3
P3 1 2 4 3 4 4
Answer the following questions using the banker’s algorithm:
3) What is the content of the matrix need?
4) Is the system in a safe state?
10.Attempt any one part of the following: 7x1=7
(a) What are files and explain the access methods for files.

( b) Write short notes on :


iii) File system protection and security and
iv) Linked File allocation methods

You might also like