Chapter 6, Concurrency: Deadlock and Starvation
#
|
Question
|
Marks
|
Year
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1
|
Give the difference between consumable and
reusable resources.
|
1
|
Jan,2004
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2
|
Explain Deadlock
OR
What is Deadlock?
OR
Write short note on Deadlock.
OR
Single process Deadlock.
|
1
1
4
2
|
Jan,2000
Jan,2004
Jan,2005
Jan,2006
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
|
Describe
the necessary conditions for deadlock occurrence.
OR
List
the four conditions that create deadlock
OR
List
the conditions that lead to deadlock. How can we solve the deadlock problem?
OR
How
no preemption condition far deadlock is prevented?
OR
Explain
strategies to prevent deadlock
OR
Discuss
the various conditions that lead to deadlock.
OR
Explain
the conditions for deadlock. What is deadlock prevention?
|
1
1
4
2
3
2
3
|
Jan,2000
Jan,2003
Jan,2004
Aug,2004
Aug,2004
Jan,2006
Dec,2006
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4
|
Discuss the deadlock avoidance using banker’s
algorithm. Also discuss data structures for implementing this algorithm.
OR
Explain the method of Deadlock Avoidance in
particular explains Banker’s Algorithm with suitable example.
OR
Explain Deadlock avoidance strategy with
example.
|
3
5
4
|
Jan,2000
Jan,2006
Dec,2006
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5
|
Explain
deadlock detection and recovery with appropriate algorithm.
OR
List
the steps that are performed in a Deadlock detection Algorithm.
|
2
2
|
Jan,2006
Jan,2008
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6
|
Explain Starvation
OR
Explain Starvation with
appropriate example.
|
1
2
|
Jan,2000
Jan,2005
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
7
|
Give
the difference between Deadlock and Starvation.
|
2
|
Dec,2006
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8
|
Explain
the difference between deadlock avoidance , detection and prevention
|
2
|
Jan,2003
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9
|
Consider the following snapshot of a system.
There are no current outstanding queued unsatisfied and p indicates the
process)
Currently
available
a)
Compute what each process still might request and
display in the columns labeled “still needs”.
b)
Applying banker’s algorithm whether this system
currently in a safe or unsafe state? Why?
c)
What is the possible order in which processes can
finish without any deadlock?
|
8
|
Jan,2002
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
10
|
Apply the dead lock detection algorithm to
the following data and show the result
Available = (2 1 0 0)
Request = | 2 0 0 1 |
| 1 0 1 0 |
| 2 1 0 0 |
Allocation = | 0 0 1 0 |
| 2 0 0 1 |
| 0 1 2 0 |
|
5
|
Aug,2004
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
11
|
Consider the following snapshot of a system.
There are no current outstanding queued unsatisfied requests.
Currently
Available
a)
Compute what each process still might request and
display in the columns labeled “Still needs”
b)
Applying Banker’s algorithm check whether this system
is currently in a safe or unsafe state? Why?
c)
Is this system currently deadlocked? Why or why not
d)
What is the possible order in which processes can
finish without any deadlock? Which processes, if any or many become
deadlocked?
If a request from p3 arrives for (0, 1, 0, 0)
can that request be safely granted immediately granting that whole request
leave the system? Which process if any, are or may become deadlocked if this
whole request is granted immediately?
|
6
|
Jan,2006
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
12
|
State
whether the following statements are true or false.
Starvation
always results in deadlock.
|
1
|
Jan,2002
|
Subscribe to:
Post Comments (Atom)
Subjects
- WordPress
- Mobile Computing-4649303 Practical Solution
- Android Programming New Syllabus Theory
- PHP LAMP Question Bank
- PHP LAMP Theory
- Step by Step Android Example
- Android Practical
- Android Theory
- Android Question Bank
- Networking FON Practical
- Networking FON Theory
- OS Practical
- OS Theory
- HTML
- JavaScript
- J2EE WTAD Theory
- J2EE WTAD Question Bank
- J2EE WTAD Quick Guide
- J2EE WTAD GTU Papers
- J2EE WTAD Practical
- Python
- JAVA Theory
- JAVA Practical
- MIS
Categories
- Android (55)
- c (11)
- Configure Tomcat7 (2)
- CSS (3)
- Decryption (16)
- Difference (1)
- Encryption (16)
- Error Detection and Correction Techniques (3)
- FON (27)
- Framing Technic (2)
- install Tomcat (2)
- J2EE (29)
- JAVA (13)
- JavaScript (19)
- linux (8)
- OS (17)
- PHP (11)
- Protocol (3)
- SERVER SOCKET PROGRAMING (7)
- Servlet (13)
- shell script (33)
- unix (22)
- WTAD (34)
Blog Archive
-
▼
2012
(79)
-
▼
September
(22)
- Chapter 7, Memory Management
- Chapter 6, Concurrency: Deadlock and Starvation
- Chapter 5, Concurrency: Mutual Exclusion and Sync...
- Chapter 4, Threads, SMP, and Micro kernels
- Chapter 3, Process Description and Control
- Chapter 2, Operating System Overview
- Chapter 1, Computer System Overview
- menu in android tutorial
- android animation example
- android chronometer example
- spinner in android example
- listview in android
- implicit intent in android example
- addTextChangedListener in Android example
- Be a Freelances and earn $$$$
- View SQLite Database
- Write a shell script to delete zero sized files fr...
- Android Intent Example
- Hello World in Android
- SQLite Android Tutorial
- Happy Teachers' Day
- Thank you GOD
-
▼
September
(22)
Total Pageviews
© BipinRupadiya.com. Powered by Blogger.
0 comments:
Post a Comment