BCA / B.Tech 10 min read

What is an Operating System (OS)

What is an Operating System?

An Operating System (OS) is the software that acts as an interface between the computer and the user. It is also called system software.

An operating system is a set of instructions that is stored on a storage device. It is a group of programs that manages the computer's resources and operations.

The OS is the first program that is loaded into the computer; it is also called the "program of programs."

The OS manages all the operations of the computer.

What is an Operating System (OS)

Types of Operating Systems

  • Character User Interface (CUI): CUI is not user-friendly and always requires commands to be typed to operate. For example, DOS is a CUI operating system.
  • Graphical User Interface (GUI): A GUI operating system is user-friendly and does not require commands to be typed to operate; you just need to click with the mouse. For example, Windows is a GUI operating system.

Functions of an Operating System

The main function of the OS is to run various programs and applications. It acts as a bridge between the computer's hardware and software.

Without an OS, a computer is useless.

In a multitasking operating system, several programs can run at the same time, and the OS determines which program will run when and for how long.

Features of an Operating System

  • Memory Management: The OS manages memory, keeps full track of primary memory, and sees which part of memory is being used by which program.
  • Processor Management: It allocates the processor (CPU) to programs and de-allocates it when the program no longer needs the processor.
  • Device Management: The OS keeps track of all devices; it is also called the I/O controller. The OS also decides which program gets which device, when, and for how long.
  • File Management: It allocates and de-allocates resources and decides which program gets which resources.
  • Security: It protects any program or data from unauthorized access. It uses passwords and other techniques for this.
  • Reliability: It is very reliable because it can detect viruses and harmful codes.
  • Cost: The cost of an operating system depends on its features. For example, Windows costs about $100 while DOS and UNIX are free.
  • Ease of Use: It can be used easily because it has a GUI interface.

Advantages of an Operating System

  • It is easy to use because of its graphical user interface, allowing new users to operate the computer easily.
  • Through it, we can share data with many users.
  • Through it, we can share resources, like a printer.
  • They can be easily updated.
  • It is secure; for example, Windows has Windows Defender which detects and removes harmful files.
  • Through it, we can install and run any game or software.
  • Some operating systems (like LINUX) are open source, which we can run on our computers for free.

Disadvantages of an Operating System

  • Some operating systems are free, but some are expensive; for example, Windows costs about ₹5000 to ₹10000.
  • Running Linux is a bit more difficult than Windows.
  • Sometimes they do not support certain hardware.
  • Mac OS has a higher risk of viruses.

In this Chapter

What is an Operating System (OS)
Distributed System in Operating System
Real-Time System in Operating System
System Calls in Operating System
System Programs in Operating System
Structure of an Operating System
Layered Design of an Operating System Structure
UNIX in Operating System
Virtual Machine in Operating System
Kernel-Based Operating System
Process Concept in Operating System
Interacting Processes in Operating System
Threads in Operating System
Fundamentals of Scheduling in Operating System
Scheduling Criteria in Operating System
Long, Medium, and Short-Term Scheduling
Scheduling Algorithms in Operating System
Structure of a Concurrent System
Critical Region in Operating System
Critical Section in Operating System
Inter-process Communication (IPC) in Operating System
Monitors in Operating System
Semaphores in Operating System
Semaphore Implementation & Uses in Operating System
Logical and Physical Address in Operating System
Swapping in Operating System
Contiguous Allocation in Operating System
Segmentation in Operating System
Paging in Operating System
Virtual Memory using Segmentation in Operating System
Interprocess Communication Protocol in Operating System
Network Operating System
Design Issues in Distributed File System
Network Structure in Operating System
Structure of a Distributed System
File System and Coordination in Operating System
History of Linux in Operating System
Linux Commands
Programmer Interface & File Manipulation in Linux
Process Control in Linux
Kernel & Signals in Linux
File System in Linux
Blocks and Inodes in Linux
System Editors in Linux
Character Transliteration in Linux
The `ed` Line Editor in Linux
The `vi` Editor and Its Commands
Shell Scripting in Linux
Looping & Decision Making in Linux Shell Scripting
Variables & File Name Expansion in Linux
Arrays in Linux Shell Scripting
Subprograms (Functions) in Linux Shell Scripting
C Interface with Linux
Simple Shell Programs in Linux
BCA Part-1 | Operating Systems | Semester-I | MDSU Exam Paper 2023 (Held in 2024)
Operating System (OS) All Important Questions and Answers in English (MDSU)
BCA || Operating System 2025 Paper || MDSU Exam Paper
BCA | OS(Operating System) 2023 Paper | MDSU Exam Paper
Types of Operating Systems
Goals of an Operating System
Operations of an Operating System
Resource Allocation & Functions in an Operating System
Classes of Operating System
Batch Processing in Operating System
Multiprocessing in Operating System
Time-Sharing in Operating System