Functions of Operating System - GATE Notes

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

11/28/23, 5:03 AM Functions of Operating System | GATE Notes

Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests - Download the BYJU'S Exam Prep App for fre

DOWNLOAD NOW (http://bit.ly/3i8IueA) ×

BYJU'S GATE (/gate/) > GATE (/gate/gate-exam/) > GATE Study Material (/gate/study-material/) > GATE Notes For CSE (/gate/gate-notes-for-cse/) > Functions Of Operating System
Notes (/gate/functions-of-operating-system-notes/)

(tel:+919241333666)

Functions of Operating System

An operating system is a piece of software that manages files, manages memory, manages processes, handles input and output, and controls
peripheral devices like disk drives and printers, among other things.

Functions of Operating System PDF

Download Full PDF

In this article, we will dive deeper into the functions of operating systems according to the GATE Syllabus for (Computer Science Engineering) CSE
(https://byjus.com/gate/gate-syllabus-for-computer-science-engineering/). Keep reading ahead to learn more.

Table of Contents

What is an Operating System?

Why are Operating Systems Used?

What are the Functions of Operating Systems?


Security

Control over System Performance

Job Accounting

Error Detecting Aids

Coordination between Users and Other Software

Memory Management

Process Management

Device Management

Services by OS

What is an Operating System?


An operating system is a software package that runs applications and serves as a communication link (interface) between the computer hardware
and the user.

The allocation of services and resources, like devices, memory, processors, and information, is the primary duty of an operating system. A traffic
controller, a scheduler, a memory management module, a file system, and I/O programs are all included in the operating system to manage these
resources.

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 1/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes

WhyStart
are Operating
your Systems
FREE GATE Preparation Used?
Today (https://ad-
With BYJU'S Exam Prep Free Trial
Between the user and the computer hardware, an operating system serves as a communication bridge (interface). An operating system’s objective is
to provide
StartaFree
platform
Trial for a user to run programs in an efficient and convenient manner.

tech.byjusweb.com/revive/www/delivery/cl.php?
An OS is a piece of software that controls how computer hardware is allocated. Hardware coordination must be appropriate to ensure the computer
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
system’s proper operation and to prevent user programs from interfering with the system’s proper operation.
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)
Example: We request or convey our orders to the OS in the same way as a boss delivers orders to his employees.

The primary purpose of the operating system is to make the computer environment more user-friendly, with a secondary goal of maximising resource
utilisation.

What are the Functions of Operating Systems?

Security
To safeguard user data, the operating system employs password protection and other related measures. It also protects programs and user data
from illegal access.

Control over System Performance


The operating system monitors the overall health of the system in order to optimise performance. To get a thorough picture of the system’s health,
keep track of the time between system responses and service requests. This can aid performance by providing critical information for troubleshooting
issues.

Job Accounting
The operating system maintains track of how much time and resources are consumed by different tasks and users, and this data can be used to
measure resource utilisation for a specific user or group of users.

Error Detecting Aids


The OS constantly monitors the system in order to discover faults and prevent a computer system from failing.

Coordination between Users and Other Software


Operating systems also organise and assign interpreters, compilers, assemblers, as well as other software to computer users.

Memory Management
The operating system is in charge of managing the primary memory, often known as the main memory. The main memory consists of a vast array of
bytes or words, each of which is allocated an address. Main memory is rapid storage that the CPU can access directly. A program must first be loaded
into the main memory before it can be executed. For memory management, the OS performs the following tasks:

The OS keeps track of primary memory – meaning, which user program can use which bytes of memory, memory addresses that have already
been assigned, as well as memory addresses yet to be used.

The OS determines the order in which processes would be permitted memory access and for how long in multiprogramming.

It allocates memory to the process when the process asks for it and deallocates memory when the process exits or performs an I/O activity.

Process Management
The operating system determines which processes have access to the processor and how much processing time every process has in a
multiprogramming environment. Process scheduling is the name for this feature of the operating system. For processor management, the OS
performs the following tasks:

It keeps track of how processes are progressing.

A traffic controller is a program that accomplishes this duty.

Allocates a processor-based CPU to a process. When a process is no longer needed, the processor is deallocated.

Device Management
A file system is divided into directories to make navigation and usage more efficient. Other directories and files may be found in these directories. The
file management tasks performed by an operating system are: it keeps track of where data is kept, user access settings, and the state of each file,
among other things. The file system is the name given to all of these features.

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 2/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes

Services byFREE
Start your OSGATE Preparation Today (https://ad-
With BYJU'S Exam Prep Free Trial
Furthermore, the operating system, in one form or another, provides certain services to the computer system. The OS provides users with a number of
services, which can be summarised as follows:

tech.byjusweb.com/revive/www/delivery/cl.php?
1. Program Execution: The OS is in charge of running all types of programs, whether they are user or system programs. The operating system makes
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
use of a variety of resources to ensure that all types of functions perform smoothly.
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)
2. Handling Input/Output Operations: The operating system is in charge of handling various types of inputs, such as those from the keyboard, mouse,
and desktop. Regarding all types of inputs and outputs, the operating system handles all interfaces in the most appropriate manner.

For instance, the nature of all types of peripheral devices, such as mice or keyboards, differs, and the operating system is responsible for transferring
data between them.

3. Manipulation of File System: The OS is in charge of deciding where data or files should be stored, such as on a floppy disk, hard disk, or pen drive.
The operating system determines how data should be stored and handled.

4. Error Detection and Handling: The OS is in charge of detecting any errors or flaws that may occur during any task. The well-secured OS can also
operate as a countermeasure, preventing and possibly handling any type of intrusion into the computer system from an external source.

5. Resource Allocation: The operating system guarantees that all available resources are properly utilised by determining which resource should be
used by whom and for how long. The operating system makes all of the choices.

6. Accounting: The operating system keeps track of all the functions that are active in the computer system at any one time. The operating system
keeps track of all the facts, including the types of mistakes that happened.

7. Information and Resource Protection: The operating system is in charge of making the most secure use of all the data and resources available on
the machine. Any attempt by an external resource to obstruct data or information must be foiled by the operating system.

The operating system provides all of these functions for the users’ comfort and to make programming easier. Operating systems of all types
essentially perform the same functions. You can also read more on Operating System Services (https://byjus.com/gate/operating-system-services-
notes/) here.

Keep learning and stay tuned to get the latest updates on GATE Exam (https://byjus.com/gate/gate-exam/) along with GATE Eligibility Criteria
(https://byjus.com/gate/gate-eligibility-criteria/), GATE 2023 (https://byjus.com/gate/), GATE Admit Card (https://byjus.com/gate/gate-admit-
card/), GATE Syllabus (https://byjus.com/gate/gate-syllabus/), GATE Previous Year Question Paper (https://byjus.com/gate/previous-year-question-
papers/), and more.

Also Explore,

Batch Operating System (https://byjus.com/gate/batch-operating-system-notes/)

Binary Semaphores in Operating System (https://byjus.com/gate/binary-semaphores-in-operating-system-notes/)

Contiguous Memory Allocation in Operating System (https://byjus.com/gate/contiguous-memory-allocation-in-operating-system-notes/)

Counting Semaphores in Operating System (https://byjus.com/gate/counting-semaphores-in-operating-system-notes/)

Deadlock Detection and Recovery in Operating System (https://byjus.com/gate/deadlock-detection-and-recovery-in-operating-system-


notes/)

Deadlock Prevention in Operating System (https://byjus.com/gate/deadlock-prevention-in-operating-system-notes/)

Distributed Operating System (https://byjus.com/gate/distributed-operating-system-notes/)

Dynamic Partitioning in Operating System (https://byjus.com/gate/dynamic-partitioning-in-operating-system-notes/)

Fixed Partitioning in Operating System (https://byjus.com/gate/fixed-partitioning-in-operating-system-notes/)

Operating System GATE Questions (https://byjus.com/gate/gate-operating-system-questions/)

Methods for Handling Deadlock in Operating System (https://byjus.com/gate/methods-for-handling-deadlock-in-operating-system-notes/)

Multiprocessing Operating System (https://byjus.com/gate/multiprocessing-operating-system-notes/)

Multiprogramming Operating System (https://byjus.com/gate/multiprogramming-operating-system-notes/)

Multitasking Operating System (https://byjus.com/gate/multitasking-operating-system-notes/)

Network Operating System (https://byjus.com/gate/network-operating-system-notes/)

Non-Contiguous Memory Allocation in Operating System (https://byjus.com/gate/non-contiguous-memory-allocation-in-operating-system-


notes/)

Operating System Services (https://byjus.com/gate/operating-system-services-notes/)

Paging in OS (https://byjus.com/gate/paging-in-operating-system-notes/)

Process in Operating System (https://byjus.com/gate/process-in-operating-system-notes/)

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 3/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes
Process Scheduler in Operating System (https://byjus.com/gate/process-scheduler-in-operating-system-notes/)
Start your FREE GATE Preparation Today (https://ad-
Process
With Scheduling
BYJU'S in Operating
Exam Prep Free Trial System (https://byjus.com/gate/process-scheduling-in-operating-system-notes/)

Process State in Operating System (https://byjus.com/gate/process-state-in-operating-system-notes/)

Real-Time Operating System (https://byjus.com/gate/real-time-operating-system-notes/)


tech.byjusweb.com/revive/www/delivery/cl.php?
Resource Allocation Graph in Operating System (https://byjus.com/gate/resource-allocation-graph-in-operating-system-notes/)
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)
Semaphores in Operating System (https://byjus.com/gate/semaphores-in-operating-system-notes/)

Time-Sharing Operating System (https://byjus.com/gate/time-sharing-operating-system-notes/)

Types of Operating System (https://byjus.com/gate/types-of-operating-system-notes/)

Comments
Leave a Comment
Your Mobile number and Email id will not be published. Required fields are marked *
*

Mobile Number Send OTP

Type your message or doubt here...

Post My Comment

Join BYJU'S Learning Program


Name

Mobile Number

Submit

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 4/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes

Start your FREE GATE Preparation Today (https://ad-


With BYJU'S Exam Prep Free Trial

tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)

(https://ad-tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=86&zoneid=111&sig=3db76378521bec0285a81b7e6a8da07d85217d30e75f4f11adb618a720fad2f3&dest=https%3A%2F%2Fbyjusexamprep.com%2Fo
test-
series%3FopenLogin%3Dy%26jsdelay%3Dfalse%26utm_campaign%3DbyjusIntegration%26utm_medium%3DTSWidget%26utm_source%3DGovtExam)

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 5/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes

Start your FREE GATE Preparation Today (https://ad-


With BYJU'S Exam Prep Free Trial

tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)

(https://ad-tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=140&zoneid=333&sig=ccd79e0a55a8e5b9608e31c0c3dfdb360e88822b79068da642840fce9ddf9a79&dest=https%3A%2F%2Fbyjusexamprep.co
year-papers%3FopenLogin%3Dy%26jsdelay%3Dfalse%26utm_campaign%3DbyjusIntegration%26utm_medium%3DPYSP%26utm_source%3DGATE)

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 6/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes

Start your FREE GATE Preparation Today (https://ad-


With BYJU'S Exam Prep Free Trial

tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)

(https://ad-tech.byjusweb.com/revive/www/delivery/cl.php?
bannerid=141&zoneid=334&sig=6676ae51bd547f3c7a2405450200c1681f75006eee40eeaca90ff958c23cc5a2&dest=https%3A%2F%2Fbyjusexamprep.com%
test%2Fgate-exams%3Futm_source%3Dbyjus.com%26utm_medium%3Dgate-sidebanner%26utm_campaign%3Dbyjus-exam-prep-scholarship-
test-2024-03-dec)

COURSES EXAMS

CBSE (/cbse/) CAT Exam (/cat/exam-info/)

ICSE (/icse/) CAT 2023 (/cat/cat-2023/)

CAT (/cat/) GATE Exam (/gate/gate-exam/)

IAS (/ias/) GATE 2024 (/gate/gate-2024/)

JEE (/jee/) IAS Exam (/ias-exam/)

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 7/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes
NEET (/neet/) UPSC Exam (/free-ias-prep/upsc-exam/)
Start your FREE GATE Preparation Today (https://ad-
Commerce (/commerce/) UPSC Syllabus (/ias/upsc-syllabus/)
With BYJU'S Exam Prep Free Trial
JEE Main (/jee/jee-main/) UPSC 2023 (/free-ias-prep/upsc-2023/)

NCERT (/ncert/) Bank Exam (/bank-exam/)


tech.byjusweb.com/revive/www/delivery/cl.php?
JEE Advanced (/jee-advanced/) Government Exams (/govt-exams/)
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
UPSC Prelims 2022 Question Paper (/free-ias-prep/upsc-prelims-2022-question-papers-pdf/) Education News (/news/)
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)
UPSC Prelims 2022 Answer Key (/free-ias-prep/upsc-prelims-answer-key-2022/)
CLASSES
IAS Coaching (/ias-coaching/)

CBSE Sample Papers (/cbse/cbse-sample-papers/) Kids Learning (/kids-learning/)

CBSE Question Papers (/cbse-study-material/cbse-previous-year-question-paper/) Class 1st - 3rd (/disney-byjus-early-learn/)

Class 4th - 5th (/class-4-5/)

Class 6th - 10th (/class-6-10/)

Class 11th - 12th (/class-11-12/)

BYJU'S Tuition Centre (/btc/)

EXAM PREPARATION COMPANY

Free CAT Prep (/free-cat-prep/) About Us (/about-us/)

Free IAS Prep (/free-ias-prep/) Contact Us (/contact-us/)

Maths (/maths/) Contact our Financial Partners (https://byjus.com/our-financial-


partners/)
Physics (/physics/)
Investors (/our-investors/)
Chemistry (/chemistry/)
Careers (/careers-at-byjus/)
Biology (/biology/)
BYJU'S in Media (/press/)
JEE 2024 (/jee/jee-2024/)
Social Initiative - Education for All (/educationforall/)
JEE Advanced 2023 Question Paper with Answers (/jee/jee-advanced-2023-question-paper/)
BYJU'S APP (/byjus-the-learning-app/)
JEE Main Mock Test (/jee/jee-main-mock-test/)
FAQ (/faq/)
JEE Main 2023 Question Papers with Answers (/jee/jee-main-2023-question-papers/)
Students Stories - The Learning Tree (https://blog.byjus.com/the-
JEE Main 2022 Question Papers with Answers (/jee/jee-main-2022-question-papers/)
learning-tree/)
JEE Advanced 2022 Question Paper with Answers (/jee/jee-advanced-2022-question-paper/)
Support (/customer-care/)
NEET 2023 Question Paper (/neet/neet-2023-question-paper/)
Faces of BYJU'S – Life at BYJU'S (https://blog.byjus.com/life-at-byjus/)
NEET 2023 Question Paper Analysis (/neet/neet-2023-question-paper-analysis/)
Blog (https://blog.byjus.com/)
NEET 2022 Answer Key (/neet/neet-2022-answer-key/)
BYJU'S Give (/give/)
BYJU'S Exam Prep (https://byjusexamprep.com/)

RESOURCES

CAT College Predictor (/free-cat-prep/cat-college-predictor/)

Worksheets (/worksheets/)

BYJU'S Answer (/question-answer/)

DSSL (/about-dssl/)

Home Tuition (/home-tuition/)

All Products (https://shop.byjus.com)

Calculators (/calculators/)

Formulas (/formulas/)

FREE TEXTBOOK SOLUTIONS STATE BOARDS

(/textbook-solutions/) Maharashtra (/msbshse/)


NCERT Solutions (/ncert-solutions/)
Gujarat (/gseb/)
NCERT Exemplar (/ncert-exemplar/)
Tamil Nadu (/tn-board/)
NCERT Solutions for Class 6 (/ncert-solutions-class-6/)
Karnataka (/kseeb/)
NCERT Solutions for Class 7 (/ncert-solutions-class-7/)
Kerala (/kbpe/)
NCERT Solutions for Class 8 (/ncert-solutions-class-8/)
Andhra Pradesh (/ap-board/)
NCERT Solutions for Class 9 (/ncert-solutions-class-9/)
Telangana (/telangana-board/)
NCERT Solutions for Class 10 (/ncert-solutions-class-10/)
Uttar Pradesh (/upmsp/)
NCERT Solutions for Class 11 (/ncert-solutions-class-11/)
Bihar (/bihar-board/)
NCERT Solutions for Class 11 English (/ncert-solutions-class-11-english/)
Rajasthan (/rajasthan-board/)

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 8/9
11/28/23, 5:03 AM Functions of Operating System | GATE Notes
NCERT Solutions for Class 12 English (/ncert-solutions-class-12-english/) Madhya Pradesh (/mp-board/)
Start your FREE GATE Preparation Today (https://ad-
NCERT Solutions for Class 12 (/ncert-solutions-class-12/) West Bengal (/west-bengal-board/)
With BYJU'S Exam Prep Free Trial
RD Sharma Solutions (/rd-sharma-solutions/)

RD Sharma Class 10 Solutions (/rd-sharma-class-10-solutions/)


tech.byjusweb.com/revive/www/delivery/cl.php?
ICSE Selina Solutions (/icse/selina-solutions/)
bannerid=82&zoneid=201&sig=9bd29b5e3eed52cfbaa13a2bff86688a551920d65cfe4ac05b71169dbcf79afd&dest=https%3A%2F%2
fta-gate-hts%3Futm_source%3Dbep_crm%26utm_medium%3Dseo_pages%26utm_campaign%3Dgate_fta)
FOLLOW US

(https://www.facebook.com/byjuslearningapp/) (https://in.linkedin.com/company/byjus)

(https://www.kidsafeseal.com/certifiedproducts/byjus_india.html)

Disclaimer (/disclaimer/) Privacy Policy (/tnc_app/#privacydesc) Terms of Services (/tnc_app/#tncdesc) Sitemap (/sitemap.xml)

© 2023, BYJU'S. All rights reserved.

https://byjus.com/gate/functions-of-operating-system-notes/#:~:text=An operating system is a software package that runs applications,duty of an oper… 9/9

You might also like