×

Operating System Tutorial

What is an Operating System?

An Operating System is a System Software that handles the resources of a computer such as computer hardware and software and offers frequent services to the computer programs. In other words, an operating system is defined as a software that creates an interface between the user and computer hardware.

Operating System Tutorial

In the computer system, to run any program, at least one operating system is a must. An application such as MS word, chrome, games, etc. requires an environment so that the application can run and perform its functions. Through the operating system, communication is done easily with the computer without knowing computer languages. Without the operating system, it is not possible to use any computer or mobile device.

Operating System

The operating system is useful to monitor and handle the execution of other programs that are present in the computer, consisting of applications and system software. The main objective of the operating system is to offer an environment so that the user can appropriately execute a program.

Objective of the Operating System

The objectives of the operating system are:

  1. The operating system offers users an appropriate interface to use the computer system.
  2. It helps us to hide the information related to the hardware resources from the users.
  3. The operating system provides the sharing of resources among users and programs in an efficient way.
  4. The operating system helps us to manage the computer system resources.
  5. The operating system offers convenient and impartial sharing of resources between the users and programs.

Features of Operating System

Objective of the Operating System

  1. Memory management: - Operating system keep track of the primary memory, means it keeps track of what part of memory is used, what part is not in use, and also helps to allocate the memory when a process requests it.
  2. Processor management: - Processor management means allocating processors to the process when the process needs and also deallocates the processor when the process does not require the processor.
  3. Device management: - The operating system also maintains the track of all the devices, which means an operating system decides which process should get the device, when and for how much time.
  4. File management: - The operating system provides the facility of file management.
  5. Security: - The operating system prevents programs and data from unauthorized access by using passwords and some other techniques.
  6. Job accounting: - It also keeps track of resources and time used by different jobs.
  7. Control over system performance: - It also helps to keep the recovery delays among the request for a service and from the system.
  8. Error-detecting Aids: - The operating system also provides the facility of error detection by the production of dumps, traces, error messages, and by using different debugging and error detecting techniques.

History of the Operating System

  1. The first operating system was developed in the late 1950s to manage the tape storage.
  2. In 1950, IBM 701-the general motors research lab developed the first operating system.
  3. In the 1960s, disks were used in the operating system, and the primary version of the Unix operating system was developed.
  4. Microsoft’s first developed Operating System was DOS. It was developed in 1981 by purchasing a Seattle company 86-DOS software.
  5. In 1985, the time when the GUI was developed and combined with MS-DOS, the current popular window OS first came into being.

Basic elements of the Operating System

The basic elements of the Operating System are:

  1. Main Memory
  2. Processor
  3. System bus
  4. I/O modules

Main Memory: - Main memory is also called Primary memory or Volatile memory. Main memory stores data and programs. The main memory is called volatile memory because when the system is turned off, then the content of the memory is erased automatically, or content is lost.

Processor: - A processor is defined as an integrated electronic circuit which performs the job of calculations in the computer. It performs input/output(I/O), arithmetical logical operations, and basic instructions that are passed from an operating system. The task of the processor is to control the processes in the computer and also perform data processing functions. If there is only one processor, then it is called a central processing unit (CPU), which you all know.

A processor may consist Arithmetical logical unit and control unit, which measures the capability in terms of the following.

  • Maximum number of bits/instructions.
  • Relative clock speed.
  • Capability to process instructions at a given time

System bus: - System bus is the element of the operating system which is responsible for communication between the processors, I/O modules, and main memory.

I/O Modules: - The task of I/O modules is to move the data within the computer to its peripheral external environment. The external environment consists of various types of devices like secondary memory like pen drives, CDs, etc. communications equipment like (LAN cable), terminals, etc.

Operating System Tutorial

Operating Systems

Differences

How To

Questions

Misc


Related Topics

Turn Variable or Strict Alternative Approach

Turn Variable or Strict Alternative Approach Turn Variable Approach is used for process synchronization mechanism, which offers synchronization between two processes. Turn variable is implemented on user mode, and it is a software mechanism. We...

3 minutes read.

Components of Operating System

Components of Operating System: An operating system is a complex and vast system. We can only create the operating system by dividing it into small parts. Each part must be...

5 minutes read.

Multi-user Operating Systems

Introduction Since only one user may interact with the computer at any given time, the operating system we use on our personal computers, laptops, tablets, and phones is sometimes referred to...

8 minutes read.

Advantages of UNIX Operating System

What is UNIX OS? UNIX is a family of multitasking, multiuser operating systems that are used on a wide variety of computer platforms. It was developed in the late 1960s and...

4 minutes read.

Banker’s Algorithm in Operating System

What is Banker’s Algorithm? Bankers algorithm is an algorithm which is used for deadlock avoidance and resource allocation. It was established by Edsger Dijkstra. The reason behind the name ‘banker’s algorithm’...

8 minutes read.

Difference between C-SCAN and SSTF Disk Scheduling Algorithm

C-SCAN / Circular Elevator The circular SCAN (C-SCAN) scheduling method is a modified version of the SCAN disc scheduling technique that addresses the SCAN algorithm's inefficiency by more equitably serving requests....

3 minutes read.

Scheduling Algorithms in OS

There are various types of scheduling algorithm which are used by the operating system to schedule the process on the processor. Objective of Scheduling Algorithms There are the following objectives of Scheduling Algorithms: Fare allocation...

2 minutes read.

Difference between Rotational Latency and Disk Assess Time in Disk Scheduling

Disk scheduling is used by operating systems to arrange the arrival of I/O requests to the disc. Disk scheduling is necessary because several I/O requests may occur from various processes,...

4 minutes read.

Difference between Multi-programming and Multitasking

Difference between Multiprogramming and Multitasking         Multiprogramming  Multitasking In Multiprogramming, at the same time, we can run the multiple processes concurrently on one...

2 minutes read.

File in Operating System

What is File in Operating System?  A file is defined as a collection of the interrelated information that is stored in the secondary memory or the non-volatile memory such as optical...

4 minutes read.

Memory Management in Operating System

The term "Main Memory" refers to the computer's internal physical memory. It is distinguished from external mass storage devices like disk drives by using the term "main." RAM is another...

4 minutes read.

Inter Process Communication in Operating System

Inter-Process Communication or IPC refers to the methods and techniques that allow processes (programs or tasks) to communicate with each other within a computer system. This is typically done through...

3 minutes read.

Functions of Operating System

The functions of Operating System are: Process Management Memory Management File Management Device Management Secondary storage Management Security Coordination between other software and users Networking Job Accounting Error detecting aids 1. Process Management Process Management support operating system to create and delete...

3 minutes read.

SCAN Disk Scheduling Algorithm

SCAN Disk Scheduling Algorithm The SCAN disk scheduling algorithm is another type of disk scheduling algorithm. In this algorithm, we move the disk arm into a specific direction (direction can be moved towards...

4 minutes read.

Why is it critical for the Scheduler to distinguish between I/O-bound and CPU-bound programs

A CPU-bound process is one that spends most of its time executing instructions on the processor. A process that is I/O-bound spends most of its time waiting for input and...

2 minutes read.

Difference between Process and Program in the Operating System

What is a process in the Operating System? A process is a program that is going through the execution. It also helps us to execute all the lines of code in...

4 minutes read.

Paging and Segmentation in OS

What is Paging in OS? Paging is a storage technique used for memory management. In paging, the (OS) Operating System retrieves the processes from the secondary memory into the main memory,...

6 minutes read.

Multitasking Operating Systems

An operating system is the fundamental piece of software that enables a computer system to function and execute a command as intended. The user interface, hardware, and every other piece...

7 minutes read.

Kernel in OS

What is Kernel in OS? The kernel is the core component in the operating system. The job of the kernel is to handle the communication between the hardware and the software. ...

2 minutes read.

Booting Process in Operating System

What is Booting? Booting is defined as the term which says that the process of loading the operating system into the memory. The process of booting begins when we switch on...

4 minutes read.