OSY Project
OSY Project
OSY Project
Sr.
Characteristic to be Poor Average Good Excellent
No.
assessed (Marks 1-3) (Marks 4-5) (Marks 6 - 8) (Marks 9-10)
(A) Process and Product Assesssment (Convert above total marks out of 6 marks)
1 Relevance to the Course
Literature Survey /
2
Information Collection
Completion of the Target
3
as per project proposal
Analysis of data and
4
representation
Quality of Prototype /
5
Model
6 Report Preparation
(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)
8 Presentation
9 Viva
Micro – Project Evaluation Sheet:
Process Assessment Product Assessment
Part Part Individual
Project
A– B – Project Presentation Total
Methodolog
project Report / / Marks
y
Name of Student Proposal Working Viva(4 10
(2 marks)
(2 marks Model(2 marks) marks)
Tope Akshay Ravindra
Comments / Suggestions about team work / leadership / inter – personal communication (if
any)
Any Other Comment
1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
MICRO PROJECT
Academic year: 2023-24
TITLE OF PROJECT
Deadlock
2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
CERTIFICATE
This is to certify 1) Tope Akshay Ravindra
Place: CHANDWAD
Date: 8/ 10/2023
Seal of
Institute
3
INDEX
Part A
1 Brief Introduction 06
3 Action Plan 06
4 Resources Required 06
Part B
1 Brief Description 07
7 Skill Developed 11
8 Applications of Microproject 11
4
PART A-Plan
3. Proposed Methodology-
Collect Data
Study about deadlock
Generate report for deadlock
4. Action Plan-
5. Resources Required:
5
PART B-Plan
1. Brief Description:
A deadlock is a state in a multi-threaded or multi-process system in
which each member is waiting for a condition that will never be
satisfied. It is a situation where a set of processes or threads are
blocked because they are all trying to acquire resources that are
already held by other members of the set.
6
6. Output of the Micro-Project:
Definition of Deadlock:
A deadlock is a state in a multi-threaded or multi-process system in which
each member is waiting for a condition that will never be satisfied. It is a
situation where a set of processes or threads are blocked because they are all
trying to acquire resources that are already held by other members of the set.
b. Hold and Wait: Processes must hold at least one resource and wait to
acquire additional resources.
d. Circular Wait: There must exist a circular chain of two or more processes,
each holding a resource needed by the next process in the chain.
7
deadlock is detected, recovery actions are taken, such as terminating one or
more processes or rolling back their execution to a safe state.
5. Deadlock Detection:
Deadlock detection algorithms periodically examine the state of the system to
identify deadlocks. Various techniques, such as wait-for graphs and resource
allocation graphs, can be employed to detect deadlock. Once detected, the
system can take corrective actions, such as terminating one or more
processes or rolling back their state.
5. Banker's Algorithm:
The Banker's algorithm is a well-known method for deadlock avoidance. It is
used to determine whether a resource request should be granted based on a
series of checks and calculations. The system's safety can be determined by
simulating the allocation of resources to various processes and checking if
the system can reach a safe state.
8
unsafe state. For each request for any resource by a process OS goes through all
these trials of imaginary allocation and updation. After this if the system remains in
the safe state, and then changes can be made in actual matrices.
8. Example of Deadlock:
Consider a scenario where two processes, P1 and P2, each need two
resources to complete their execution. If P1 holds Resource A and requests
Resource B, while P2 holds Resource B and requests Resource A, they may
enter a deadlock state because they are both waiting for a resource held by
the other.
9. Impact of Deadlock:
Deadlocks can lead to a loss of system resources, reduced throughput, delays
in process execution, and a degradation of system performance. They are a
significant concern in real-time and safety-critical systems where timely
execution is essential.
9
7. Skill Developed:
10
8. Applications of Microproject:
11