List five services provided by an operating system explain how each provides convenience to

An Operating System supplies different kinds of services to both the users and to the programs as well. It also provides application programs (that run within an Operating system) an environment to execute it freely. It provides users the services run various programs in a convenient manner.

Here is a list of common services offered by an almost all operating systems:

  • User Interface
  • Program Execution
  • File system manipulation
  • Input / Output Operations
  • Communication
  • Resource Allocation
  • Error Detection
  • Accounting
  • Security and protection

This chapter will give a brief description of what services an operating system usually provide to users and those programs that are and will be running within it.

User Interface of Operating System

Usually Operating system comes in three forms or types. Depending on the interface their types have been further subdivided. These are:

  • Command line interface
  • Batch based interface
  • Graphical User Interface

Let's get to know in brief about each of them.

The command line interface (CLI) usually deals with using text commands and a technique for entering those commands. The batch interface (BI): commands and directives are used to manage those commands that are entered into files and those files get executed. Another type is the graphical user interface (GUI): which is a window system with a pointing device (like mouse or trackball) to point to the I/O, choose from menus driven interface and to make choices viewing from a number of lists and a keyboard to entry the texts.

Program Execution in Operating System

The operating system must have the capability to load a program into memory and execute that program. Furthermore, the program must be able to end its execution, either normally or abnormally / forcefully.

File System Manipulation in Operating System

Programs need has to be read and then write them as files and directories. File handling portion of operating system also allows users to create and delete files by specific name along with extension, search for a given file and / or list file information. Some programs comprise of permissions management for allowing or denying access to files or directories based on file ownership.

I/O operations in Operating System

A program which is currently executing may require I/O, which may involve file or other I/O device. For efficiency and protection, users cannot directly govern the I/O devices. So, the OS provide a means to do I/O Input / Output operation which means read or write operation with any file.

Communication System of Operating System

Process needs to swap over information with other process. Processes executing on same computer system or on different computer systems can communicate using operating system support. Communication between two processes can be done using shared memory or via message passing.

Resource Allocation of Operating System

When multiple jobs running concurrently,  resources must need to be allocated to each of them. Resources can be CPU cycles, main memory storage, file storage and I/O devices. CPU scheduling routines are used here to establish how best the CPU can be used.

Error Detection

Errors may occur within CPU, memory hardware, I/O devices and in the user program. For each type of error, the OS takes adequate action for ensuring correct and consistent computing.

Accounting

This service of the operating system keeps track of which users are using how much and what kinds of computer resources have been used for accounting or simply to accumulate usage statistics.

Protection and Security

Protection includes in ensuring all access to system resources in a controlled manner. For making a system secure, the user needs to authenticate him or her to the system before using (usually via login ID and password).


List five services provided by an operating system explain how each provides convenience to

  • School Mapúa Institute of Technology
  • Course Title IT 154
  • Type

    Test Prep

  • Pages 9
  • Ratings 100% (7) 7 out of 7 people found this document helpful

This preview shows page 5 - 7 out of 9 pages.

2.9List five services provided by an operating system, and explain how eachcreates convenience for users. In which cases would it be impossible foruser-level programs to provide these services? Explain your answer.7

Get answer to your question and much more

Deleting a file requires removing the name file information andfreeing the allocated blocks. Protections must also be checkedto assure proper file access. User programs could neither ensureadherence to protection methods nor be trusted to allocate onlyfree blocks and deallocate blocks on file deletion.d.Communications. Message passing between systems requiresmessages to be turned into packets of information, sent to thenetwork controller, transmitted across a communicationsmedium,and reassembled by the destination system. Packet ordering anddata correction must take place. Again, user programs might notcoordinate access to the network device, or they might receivepackets destined for other processes.e.Error detection. Error detection occurs at both the hardware andsoftware levels. At the hardware level, all data transfers must beinspected to ensure that data have not been corrupted in transit.Alldata on media must be checked to be sure they have not changedsince they were written to the media. At the software level, mediamust be checked for data consistency; for instance, whether thenumber of allocated and unallocated blocks of storage match thetotal number on the device. There, errors are frequently processindependent(for instance, the corruption of data on a disk), so theremust be a global program (the operating system) that handles alltypes of errors. Also, by having errors processed by the operatingsystem, processes need not contain code to catch and correct all theerrors possible on a system.2.10Why do some systems store the operating system in firmware, whileothers store it on disk?

Get answer to your question and much more

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 9 pages?

Upload your study docs or become a

Course Hero member to access this document

What are the five services provided by an operating system?

An operating system provides the following services:.
Program Execution. Several tasks must be completed in order to run a programme. ... .
Control Input/Output Devices. ... .
Program Creation. ... .
Error Detection and Response. ... .
Accounting. ... .
Security and Protection. ... .
File Management. ... .
Communication..

What are the services provided by operating system explain?

Operating System provides an interface to the user to create/delete files. Operating System provides an interface to the user to create/delete directories. Operating System provides an interface to create the backup of file system.

What is convenience in operating system?

Convenience: An OS makes a computer more convenient to use. Efficiency: An OS allows the computer system resources to be used efficiently.

Which of the following are services of operating system?

Following are the services provided by operating systems:.
User Interface. An interface is required to communicate with the user. ... .
Program Execution. The OS loads a program into memory and then executes that program. ... .
File System Manipulation. ... .
I/O Operations. ... .
Communication systems. ... .
Resource Allocation. ... .
Error Detection. ... .
Accounting..