Operating System
Operating System
Operating
OperatingSystem
System
System
Systemand
andApplication
ApplicationPrograms
Programs
compiler assembler Text editor Database system
1) Provision of security/confidentiality
of information to users
2) Elimination of duplicate efforts by
hundreds of programmers in
developing tedious & complicated
routines
DIFFERENT SERVICES OF OS
1) Information Management
2) Process Management
3) Memory Management
Information Management
1) Create a file
2) Open a file
3) Close a file
4) Create a directory
5) Create a link
6) Change working directory etc.
Process Management
1) Keeps track of all the competing processes
2) Schedules the programs(Sequence)
3) Dispatch the program (run or execute)
System calls
1) Read a process
2) Dispatch a process
3) Suspend a process
4) Terminate a process
5) Delay a process etc.
Process Concept
Process - a program in execution
PROCESS:
A program under execution which
competes for the CPU time & other
resources.
Memory Management
1) Keep track of Memory
A/P
RAM
BOOTING
The loading of the OS is achieved by a special
program called BOOT & the process is called Booting.
BOOT
1) The h/w loads
the boot routine
automatically
Memory
RAM
HDD
KERNEL
2) The BOOT
routine loads
the rest of OS
Memory
RAM
HDD
BOOTING
RAM
MULTITASKING
START
While Not End While do
Read a record;
Process a record;
Write XYZ Data;
End while
End
Multitasking Cont……
START
While Not End While do
Task-1-Begin
Read a record; TASK 1
Process a record;
Task -1-End
Task -2-Begin
TASK 2
Write XYZ Data
Task -2-End
End while
End