Virtual Memory is a storage allocation scheme in which secondary memory can be addressed as though it were part of main memory. The addresses a program may use
Prerequisites – Types of Server Virtualization, Hardware based Virtualization Operating system based Virtualization refers to an operating system feature in w
In an operating system that uses paging for memory management, a page replacement algorithm is needed to decide which page needs to be replaced when new page co
Prerequisite – Buddy System Question: Write a program to implement the buddy system of memory allocation in Operating Systems. Explanation – The buddy syste
A file is a collection of related information that is recorded on secondary storage. Or file is a collection of logically related entities. From user’s perspe
A process is divided into Segments. The chunks that a program is divided into which are not necessarily all of the same sizes are called segments. Segmentation
Prerequisite – Page Replacement Algorithms In Operating System, process data is loaded in fixed sized chunks and each chunk is referred to as a page. The proc
There are three types of process scheduler. Long Term or job scheduler It brings the new process to the ‘Ready State’. It controls Degree of Multi-programmi
Basically for a computer to start running to get an instance when it is powered up or rebooted it need to have an initial program to run. And this initial progr
Kernel is the core part of an operating system which manages system resources. It also acts like a bridge between application and hardware of the computer. It i
Prerequisite – Introduction, Process Scheduler States of a process are as following: New (Create) – In this step, process is about to be created but not yet
Prerequisites : Priority Scheduling We have already discussed about the priority scheduling in this post. It is one of the most common scheduling algorithms in
Critical Section: In simple terms a critical section is group of instructions/statements or region of code that need to be executed atomically (read this post f
Prerequisite: process-synchronization, Mutex vs Semaphore Semaphore is simply a variable. This variable is used to solve the critical section problem and to ach
Prerequisites : Basics of FCFS Scheduling (Program for FCFS Scheduling | Set 1, Program for FCFS Scheduling | Set 2 ) Convoy Effect is phenomenon associated wit
Prerequisite – Critical Section, Process Synchronization, Inter Process Communication The Bakery algorithm is one of the simplest known solutions to the mutua
There are 2 modes in 8255 microprocessor: 1. Bit set reset (BSR) mode – This mode is used to set or reset the bits of port C only, and selected when the most
What is a Thread? A thread is a path of execution within a process. A process can contain multiple threads. Why Multithreading? A thread is also known as lightw
Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory. This scheme permits the physical address space of a
An operating system acts as an intermediary between the user of a computer and computer hardware. The purpose of an operating system is to provide an environmen
Prerequisite – Introduction of Operating System – Set 1 An Operating System acts as a communication bridge (interface) between the user and computer hardwar
Real time system means that the system is subjected to real time, i.e., response should be guaranteed within a specified timing constraint or system should meet
An Operating System performs all the basic tasks like managing file,process, and memory. Thus operating system acts as manager of all the resources, i.e. resour
In computing, there exist two type processor i.e., 32-bit and 64-bit. These processor tells us how much memory a processor can have access from a CPU register.
An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks lik