## Define algorithm, flowchart.

Q1. Define algorithm, flowchart. Ans. Algorithm Logical sequence of discrete steps that describe a complete solution to a given problem.

## Algorithm.

Q2. Define Algorithm. Ans. A formal set of instructions that can be followed to perform a specific task such as

## Fit Algorithm.

Q19. Define Fit Algorithm. Ans. They are the methods used for allocation of the newly created process holes.

## Algorithm.

Q5. Define Algorithm. Ans. Logical sequence of discrete steps that describe a complete solution to a given problem.

## Abort one process at a time until the deadlock cycle is eliminated

Q1. Explain abort one process at a time until the deadlock cycle is eliminated method of Deadlock Recovery of Process

Q1. What are the processes of recovering from deadlock? Ans. When a detection algorithm determines that a deadlock exists, several

## Numerical Solved with Deadlock Detection Algorithm

Q3. Use deadlock algorithm, there are five processes and 3 resource type A -> 7 instances B -> 2 instances

## Numerical Solved by Deadlock Detection Algorithm

Q2. Apply deadlock detection algorithm to the following an show the result Available = [ 2 1 0 0] Allocation