Professional Documents
Culture Documents
Lecture 1 & 2
Lecture 1 & 2
Lecture 1 & 2
• Process Management:
• Storage Management:
• Memory Management:
• Security/Privacy Management:
•The process operating system as User Interface:
1.User
2.System and application programs OS is designed to serve two
basic purposes:
3.Operating system
1.It controls the allocation and
4.Hardware use of the computing System’s
resources among the various
user and tasks.
2.It provides an interface
between the computer hardware
and the programmer that
simplifies and makes it feasible
for coding, creation, debugging
of application programs.
Task to be followed by Operating system
1.Provides the facilities to create, modification of programs
and data files using an editor.
2.Access to the compiler for translating the user program from
high-level language to machine language.
3.Provide a loader program to move the compiled program
code to the computer’s memory for execution.
4.Provide routines that handle the details of I/O programming.
1.I/O System Management
2.Assembler
3.Compiler
4.Loader
Types of Operating System
1.Batch Operating System
2.Time-sharing operating System
3.Distributed operating System
4.Network operating system
5.Real-time operating system
Batch Operating System
Time-Sharing Operating Systems
Distributed operating System
Network operating system
Real-time operating system
Process Life Cycle in Operating System OS
1.Process life cycle in OS is one of the five states in which a
process can be starting from the time it has been submitted
for execution, till the time when it has been executed by the
system. A process can be in any of the following states –
2.New state
3.Ready state
4.Running state
5.Waiting state
6.Terminated
• Imagine a unit process that executes a simple addition
operation and prints it.
• Process Queue
• New State
• Process it submitted to the process queue, it in turns
acknowledges submission.
• Once submission is acknowledged, the process is given new
status.
• Ready State
• It then goes to Ready State, at this moment the process is
waiting to be assigned a processor by the OS
• Running State
• Once the Processor is assigned, the process is being executed
and turns in Running State.
Wait and Termination State
Thread in Operating System
• The benefits of multi threaded programming can be broken down into four
major categories:
1.Responsiveness
2.Resource Sharing
3.Economy
4.Scalability
kaustubhdesale8500@gmail.com
inamdarshahid46@gmail.com
pranavpandya60@gmail.com
Circuit students:
raorupesh24@gmail.com