Unit I.Introduction to OS (1)
Unit I.Introduction to OS (1)
Introduction to
Operating System
What is an Operating System?
•An interface between a computer user and computer hardware
•Software that enables applications to interact with a computer's
hardware
• Manages a system's hardware and software resources and services,
such as memory, processors, devices, and information.
•Some popular Operating Systems include Linux Operating System,
Windows Operating System, MAC OS, iOS, Android etc.
•Provides an environment in which a user can execute programs in
convenient and efficient manner.
Fig. Components of Computer System
Functions of Operating System
1. Memory Management- Main memory allocation
2. Timesharing (multitasking)
▪ logical extension in which CPU switches jobs so frequently that users can interact with each job while it
is running, creating interactive computing
▪ Response time should be < 1 second
▪ Each user has at least one program executing in memory process
▪ If several jobs ready to run at the same time CPU scheduling
▪ If processes don’t fit in memory, swapping moves them in and out to run
▪ Virtual memory allows execution of processes not completely in memory
3. Multiprocessor operating systems
▪ Multiprocessor operating systems are also known as parallel OS or tightly coupled OS.
▪ Have more than one processor that share the computer bus, the clock and sometimes
memory and peripheral devices.
▪ It executes multiple jobs at the same time and makes the processing faster.
▪ If one processor fails then other processor should retrieve the interrupted process state so
execution of process can continue.
▪ Inter-processes communication mechanism is provided and implemented in hardware.
▪ The multiple Operating system environments exist simultaneously on the same machine,
which is isolated from each other.
▪Widely used for software development and testing without need of multiple physical
machines.