0% found this document useful (0 votes)
18 views

Operating system services

Os chapter-1 topic 2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Operating system services

Os chapter-1 topic 2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Operating system services

 An operating system is system software. It provides an interface


between the user and computer hardware .
 It provides the programming environment in which a programmer
works on a computer system.
 The user program requests various resources through the
operating system.
 The operating system gives several services to utility programmers
and users.
 The following are some of the services provided by operating
system.

 Program execution
 Control Input/output devices
 Program creation
 Communication
 Error Handling
 Accounting
 Security and Protection
 User Interface
 File Management
 Program execution: -
 Operating system is providing an environment to execute a
program.
 All the programmer will save their programs in the secondary
memory. During compilation program is resides in hard disk. But
at the time of execution O.S will transfer the program from hard
disk into main memory.
 The programs will be saved into hard disk, Once the execution is
completed.
 So, the operating system will save another process in the main
memory.
 Both the instructions and data must be loaded into the main
memory.
 Control Input/output devices
 An Operating System manages the communication between user
and device drivers.
 I/O operation means read or write operation with any file or any
specific I/O device.
 Operating system provides the access to the required I/O device
when required
 Program Creation
 The Operating system helps to the programmer to create, modify,
and debugging programs.
 Communication: -
 The operating system manages the exchange of data and programs
among different computers connected over a network.
 This communication between one process to another process by
using IPC.it was implemented by using message passing and
shared memory.
 Error Handling
The operating system is responsible to detect the errors either
hardware or software resources and take appropriate action
according to the error.

o Input/ Output devices: For example, connection failure in the


network, lack of paper in the printer, etc.
o User program: For example: attempt to access illegal memory
locations, divide by zero, use too much CPU time, etc.
o Memory hardware: For example, Memory error, the memory
becomes full, etc.
 Accounting

An Operating device collects utilization records for numerous assets


and tracks the overall performance parameters and responsive time
to enhance overall performance. These personal records are beneficial
for additional upgrades and tuning the device to enhance overall
performance.

 Security and Protection


 Protection involves ensuring that all access to system resources
is controlled.
 Security of the system from outsiders requires user
authentication, extends to defending external I/O devices from
invalid access attempts.
 User interface:
 Operating system can provide 2 types of interfaces.They are
 CLI [command line interface]
 GUI [graphical user interface]
 CLI environment allows commands to perform the oprrations.
entry.
 GUI environment is User-friendly. i.e. desktop interface. which
contains Icons, files, programs, actions, etc.
 Various mouse buttons over objects in the interface cause various
actions
 Many systems include the both CLI and GUI interfaces
 File management
 A file system is normally organized into directories for easy
navigation and usage.
 These directories may contain files and other directories [sub
directory].
 A file system may perform the operations like create,update or
modify and delete.
 Operating system may provide the permissions for files. They are
read, write, append, all permissions etc.
 Resource allocation:
 When multiple users or multiple jobs running concurrently,
resources must be allocated to each of them.
 Many types of resources - CPU cycles, main memory, file storage,
I/O devices.

You might also like