Site icon TechVidvan

What is Operating System – Introduction to OS

Introduction To Operating System

An operating system links the user and the computer system. Programs can’t run without the presence of an Operating System. It is the only program running on the computer, others being application programs.

An OS acts as a resource manager and allocates and coordinates resources to specific programs and users, when necessary. Some of these resources are processor, memory, files, and I/O devices. Some of the popular OSs are Linux OS, Windows OS, VMS, OS/400, AIX, z/OS, etc. It controls the execution of all kinds of programs in a system.

Views of an OS

Following are the two views of an OS:

User View: This is the interface that is in use and is designed for a single user. This allows a user to monopolize system resources to the maximum. It provides ease of use, with little performance, and very poor resource utilization.

System View: This provides the view of an OS as a resource allocator. The OS manages resources efficiently, decides between conflicting requests, controls program execution, and many more.

Functions of Operating System

Following are the functions of an OS:

Services of an Operating System

Following are the functions of an OS:

Features of Operating System

Following are the features of a good OS:

Properties of Operating System

Following are some important properties of an OS:

Purpose of an OS

Following are the two purposes of an OS:

1. Allocates processes and handles system resources along with various users and tasks.

2. Provides an interface between the computer hardware and the programmer further simplifying the creation, coding, and debugging of programs.

History of Operating System

Generation Year Electronic Device Types of OS
1945 – 1955 Vacuum Tubes Plug Boards
1955 – 1965 Transistors Batch Systems
1965 – 1980 Integrated Circuits (IC) Multiprogramming
1980 – Present Large Scale Integration PC

Types of Operating Systems

Following are some common types of operating systems:

1. Batch Operating System: Executes jobs in batches without manual interventions.

2. Time-sharing operating System: Multiple users share computer resources and ensure maximum utilization of resources.

3. Distributed operating System: Manages different computers and makes them appear to be a single system.

4. Network operating system: Connects computers running on different OSs through a common network.

5. Real-time operating system: For applications with fixed deadlines or tight response time.

Process Scheduling

A process is a program being executed by an OS. Process scheduling is the process of scheduling a process into different states like ready, waiting, and running. There are two categories of scheduling: preemptive and non-preemptive.

Scheduling Algorithms

A scheduling algorithm schedules processes on the processor. Following are some popular process scheduling algorithms:

1. First-Come, First-Served (FCFS) Scheduling

2. Shortest-Job-Next (SJN) Scheduling

3. Priority Scheduling

4. Shortest Remaining Time

5. Round Robin(RR) Scheduling

6. Multiple-Level Queues Scheduling

7. Multilevel Feedback Queues Scheduling

8. Highest Response Ratio Next

Advantages of an Operating System

Following are the advantages of an OS:

Disadvantages of Operating System

Following are the disadvantages of an OS:

Summary

An OS doesn’t exactly perform any useful function but provides an environment within the system so that programs can do useful work. There are two views of an OS: User view and System view. Process scheduling is the process of scheduling a process into different states. A scheduling algorithm schedules processes on the processor.

Exit mobile version