Memory management keeps track of the status of each memory location, whether it is allocated or free. It allocates the memory dynamically to the programs at the
Memory consists of large array of words or arrays, each of which has address associated with it. Now the work of CPU is to fetch instructions from the memory ba
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
Prerequisite – Virtual Memory Abstraction is one the most important aspect of computing. It is widely implemented Practice in the Computational field. Memory
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
The main problem in Fixed partitioning is the size of a process has to be limited by the maximum size of the partition, which means a process can never be span
A hard disk is a memory storage device which looks like this: The disk is divided into tracks. Each track is further divided into sectors. The point to be noted
The system keeps tracks of the free disk blocks for allocating space to files when they are created. Also, to reuse the space released from deleting the files,
Scheduling of processes/work is done to finish the work on time. Below are different time with respect to a process. Arrival Time: Time at which the process arr
Program vs Process A process is a program in execution. For example, when we write a program in C or C++ and compile it, the compiler creates binary code. The o
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
Prerequisites : Basics of FCFS Scheduling (Program for FCFS Scheduling | Set 1, Program for FCFS Scheduling | Set 2 ) Convoy Effect is phenomenon associated wit
A process in operating systems uses different resources and uses resources in following way. 1) Requests a resource 2) Use the resource 2) Releases the resource
Prerequisite – Partition Allocation Methods Static partition schemes suffer from the limitation of having the fixed number of active processes and the usage o
In the operating system, the following are four common memory management techniques. Single contiguous allocation: Simplest allocation method used by MS-DOS. Al
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.
Following questions have been asked in GATE 2009 CS exam. 1) Consider two transactions T1 and T2, and four schedules S1, S2, S3, S4 of T1 and T2 as given below:
Following questions have been asked in GATE 2005 CS exam. 1) Which one of the following statements about normal forms is FALSE? (a) BCNF is stricter than 3NF (b
Following Questions have been asked in GATE 2012 exam. 1) Which of the following statements are TRUE about an SQL query? P: An SQL query can contain a HAVING cl
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