Operating System:-
An operating system is a program that manages the computer hardware.
It also provides a basis for application programs and acts as a intermediary between computer user and computer hardware.
Some Operating Systems
- Batch Operating system
- Time sharing Operating system
- Distributed Operating system
- Network Operating system
- Real Time Operating system
- Multi programming/Processing/Tasking Operating system
- Mobile Operating System
Functions of OS
- Device Management
- Process Management
- Memory Management
- Security
- File Management
- Mastermind
- Storage Management
- Input and Output Operations
Main goals of Operating System
- Convenience-Provides convenient to user
- Efficiency-Operating system allows the computer system resources to be used in an efficient manner
- Ability to evolve:- An operating system should be constructed in such a way as to permit the effective development, testing, and introduction of new system functions without interfering with service.
Operating System Basics
A modern general purpose computer system consists of one or more central processing unit(CPU s) and a number of device controller connected through a common bus that provides access to shared memory.
- Each device controller is in charge of a specific type of device.
- The central processing unit (CPU) and the device controller can execute concurrently, competing for memory cycles.
- To ensure orderly access to the shared memory, a memory controller is provided whose function is to synchronize access to the memory.
Important Terminology :-
Bootstrap Program
- The initial Program that runs when a computer is powered up or rebooted.
- It is stored in ROM.
- It must know how to load the operating system and start executing that system.
- It must locate and load into memory the Operating System kernel.
- The occurrence of an event is usually signaled by an interrupt from hardware or software.
- Hardware may trigger an interrupt at any time by sending a signal to the CPU , usually by the way of the system bus.
System Call
- Software may trigger an interrupt by executing a special operation called system call.
- When the CPU is interrupted, it stops what it is doing and immediately transfers execution to a fixed location
- The fixed location usually contains the starting address where the service routine of the interrupt is located.
- The interrupt service routine executes on completion, the CPU resumes the interrupted computation.
Comments
Post a Comment