Operating System
Operating System
Rakhi Yadav
0901eo221049
Submitted To:
Dr. Gaurav Khare
Operating System
(220221)
CONTENTS
01 02 03 04 05
Basics of File
Operating Process
Memory Storage System
System & Synchroniza
Manage Manage Interface
Process tion &
ment ment & System
Management Deadlock
Protection
Basics of Operating
System
A process can be in done in the The aim of a process There are several scheduling Threading can introduce a
five states : New, Ready, scheduling is to allocate CPU algorithms: FCFS, SJF, Priority number of issues some are:
Running, Blocked & time to different processes in Scheduling, Round Robin, Thread Safety, Deadlock,
Terminated. an efficient manner. Multi-level Queue. Thread Scheduling, Thread
Coordination.
Process Synchronization
In OS
Classical Problems of
Introduction to PS Synchronization
PS is essential in modern OS, which Some of classical problems of synchronization
often run multiple processes or are: Producer-Consumer Problem, Readers-
threads simultaneously. 01 04 Writers Problem, Dining-Philosophers Problem.
File Concept
Access Methods Allocation Methods Free-Space Management
Files are used for all I/O of
There are various methods to The allocation methods define Free space management is a
information in the OS, to
access a file into a computer how the files are stored in the critical aspect of operating
standardize access to both disk blocks. There are three
system some are: Sequential systems as it involves
software and hardware. Input main disk space or file
Access, Direct Access, Index managing the available
occurs when the contents of a allocation methods.
Sequential Access & many •Contiguous Allocation storage space on the hard disk
file is modified. Output
more. •Linked Allocation or other secondary storage
occurs when the contents of
•Indexed Allocation devices.
one file is read or transferred
to another file.
System
Protection