What is Deadlock in OS? Explain with the help of a diagram.

A deadlock is a condition where each of the processes is waiting for a resource which is allotted to other processes. In this case, the process gets computed after the resource it requires is controlled by other processes, which is also looking for some other resource to be issued. For example, suppose two freight trains … Read more

Preemptive and Non-Preemptive Algorithm in Operating System

Preemptive Scheduling Algorithm Here, a scheduler can preempt a running low-priority process at any time when a high-priority process enters a ready state. In preemptive systems, the OS takes the processor away from a running process. If the algorithm assumes one of the following circumstances, it is a preemptive algorithm – When a process transitions … Read more

CPU scheduling algorithms Criteria in Operating System

There are different criteria for the CPU scheduling algorithm. CPU scheduling algorithms Criteria are CPU utilization: The main purpose of every scheduling algorithm is to keep the CPU busy. The utilization of the CPU can range from 0 to 100. CPU utilization is the percentage of the time interval in which the processor is busy … Read more

Explain the Architecture of Oracle Database system

The oracle database is a centralized repository where data is stored. The Oracle database has a physical structure that is visible to the operating system and is made up of the Operating system’s files and logical structure that is recognized by the oracle server. The user while requesting any request any information from oracle database, … Read more

Sleeping Barber Problem of Synchronization in Operating System

It is a synchronization and inter-process communication problem. This problem is based on a barbershop. A barbershop has a single barber, single barber chair and n number of chairs for customers. When there is no customer in the barbershop then the barber sleeps. When a customer comes, he has to get up the barber. When … Read more

Reader-Writer Problem in Operating System with Code

The readers and writers problem based on an object like a file which is shared in different processes. Some processes are readers so that they can only read the data and some processes are writers so that they can only write the data. This problem is generally used to manage synchronization.  A writer should achieve … Read more

Hi, Welcome back!
Forgot Password?
Don't have an account?  Register Now