Semaphores in Operating Systems

Here, we are going to learn about semaphores in operating systems. Before this, I would request to go through process synchronization first. Dijkstra proposed the semaphore in 1965. It is a highly important technique for managing concurrent activities using a basic integer value called a semaphore. The term “semaphore” refers to an integer variable that … Read more

Process Synchronization in Operating System

In this tutorial, we are going to learn about process synchronization in operating systems. Process synchronization is a strategy for coordinating processes that make use of common data. In an operating system, there are two types of processes. Independent Process – A process that does not impact or get affected by another process while it is … Read more

File Systems in Operating System

In this tutorial, we will know how operating system handles file systems. A file is a grouping of linked data, we save it on secondary storage. A collection of logically connected elements is referred to as a file. A file is the smallest allocation of logical secondary storage from the user’s perspective. What is a … Read more

Page Replacements in Operating System

In the previous tutorial, we have learned about paging and Segmentation. Now we are going to learn about page replacements in operating system and what are the different strategies we can apply. When a page fault occurs, the memory manager locates the page in secondary storage. Then it will load it into main memory and … Read more

Paging and Segmentation in Operating System

In this tutorial, we are going to learn about virtual memory, paged virtual memory system, segmented virtual memory system. Further we will see how combined segmentation and paging system works. Before reading this, I will suggest all to go through this first. Now, without delay let’s dive into the topic. What is Virtual Memory : … Read more

Memory Management in Operating System

In this tutorial, we will learn about memory management in Operating System, Memory Hierarchy, Memory management Strategies etc. Further we will see the partition allocation. Registers make memory, each register is equal to one storage location (memory location). The capacity of the memory is the total number of bits that memory can store. We can … Read more

Deadlock in Operating System

In this tutorial, we will learn about deadlock in Operating System , necessary conditions for deadlock to occur. Further, we will see how to detect and avoid deadlocks. What is Deadlock in Operating System : Deadlock is a situation where a process or a thread waits for an event/task that won’t occur. When one or … Read more

CPU Scheduling in Operating Systems

In this tutorial, we will know what the goals of CPU scheduling are and also what the scheduling criteria should be. In addition, we will understand the working of some of these scheduling algorithms . What is CPU Scheduling : CPU scheduling or processor scheduling is the technique of deciding which process run at given time. … Read more

Processes and Threads in Operating Systems

In this tutorial, we will introduce the notion of a process and thread. We will know the concept of process/ thread states and discuss how or why processes/threads make transitions between these states. PROCESS : A process is a program in execution. Each process has its own address space, it consists of a text region, … Read more

Introduction to Operating System

What Is an Operating System? Operating System(OS) is a software program required to manage and operate a computing device. Or we can say an OS is a software that enables applications to interact with a computer’s hardware. In most computer systems, a user requests that the computer perform an act and the OS manages the … Read more