Question

Given the staircase example from the beginning of this chapter, identify the four necessary conditions for...

  1. Given the staircase example from the beginning of this chapter, identify the four

necessary conditions for deadlock and explain whether each one is present, or is not

present, in this case.

  • Mutual exclusion:
  • Resource holding:
  • No preemption:
  • Circular Wait:

For the systems described below, given that all of the devices are of the same type, and using the definitions presented in the discussion of the Banker’s Algorithm, answer these questions:

a. Calculate the number of available devices.

b.   Determine the remaining needs for each job in each system.

c.   Determine whether each system is in a safe state or an unsafe state.

2.   This system has 16 devices

Job No.

Devices Allocated

Maximum Required

Remaining Needs

Job 1

5

8

Job 2

3

9

Job 3

4

8

Job 4

2

5

3. This system has 12 devices.

Job No.

Devices Allocated

Maximum Required

Remaining Needs

Job 1

5

8

Job 2

1

4

Job 3

5

7

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Given the staircase example from the beginning of this chapter, identify the four necessary conditions for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • 10-13. For the systems described below, given that all of the devices are of the same...

    10-13. For the systems described below, given that all of the devices are of the same type, and using the definitions presented in the discussion of the Banker's Algorithm, answer these questions: a. Calculate the number of available devices. b. Determine the remaining needs for each job in each system. c. Determine whether each system is in a safe state or an unsafe state. d. If the system is in a safe state, list the sequence of requests and releases...

  • I need answer of 10th question. Chapter 5 Process Synchronization 7. Consider a system with 14...

    I need answer of 10th question. Chapter 5 Process Synchronization 7. Consider a system with 14 dedicated devices of the same type. All jobs cur- a maximum of five devices to complete rently running on this system require a mi their execution, but they each run for long periods of time with just three devices, and request the remaining two only at the very end of the run. Assume that the job stream is endless and that your operating system's...

  • Let I represent an execution of init(s), W of wait(s), and S of signal(s). Then, for...

    Let I represent an execution of init(s), W of wait(s), and S of signal(s). Then, for example, IWWS represents the sequence of calls init(s), wait(s), wait(s), and signal(s) by some processes in an operating system. For each of the following sequences of calls, state the value of s and the number of processes blocked after the last call in the sequence: (b) IS (c) ISSSW (d) IWWWS (e) ISWWWW Each of the following code fragments contains a bug in the...

  • Part B (10) Deadlock Avoidance Consider the following maximum-claim reusable resource system with four processes and...

    Part B (10) Deadlock Avoidance Consider the following maximum-claim reusable resource system with four processes and three resource types. The maximum claim matrix is given by C [4 3 5 11 1 41 1 4 6 13 1 6] where Cij denote maximum claim of process i for resourcej. The total units of each resource type are given by the vector (5, 8, 15). The current allocation of resources is given by the matrix To 1 4] 2 0 1...

  • In Unix/Linux, input and output are treated as files and referenced by the operating system using file descriptors. When you open a shell session, for example, three file descriptors are in use: 0 st...

    In Unix/Linux, input and output are treated as files and referenced by the operating system using file descriptors. When you open a shell session, for example, three file descriptors are in use: 0 standard input (stdin) 1 standard output (stdout) 2 standard error (stderr) By default, the command interpreter (shell) reads keyboard input from file descriptor 0 (stdin) and writes output to file descriptor 1 (stdout), which appears on the screen. As you explored in Lab 2, input/output can be...

  • resource instances of the same type, being shared by processes maz, is maximum resource needs of...

    resource instances of the same type, being shared by processes maz, is maximum resource needs of Pi, where 2 mar, S m n. Assume that a process can request one resource at a time during execution. Answer 7. (20 pts) Consider a system of m P, P Pa where m 22. Suppose the following questions about deadlock among the various processes A: Suppose m 5 printers and n 2 processes in a system, with mazi 3 and mar2 4. Identify...

  • Chapter 19.4 Homework: Chapter 19 HOMEWUIK 4 of 4 (0 complete) Score: 0 of 22 pts...

    Chapter 19.4 Homework: Chapter 19 HOMEWUIK 4 of 4 (0 complete) Score: 0 of 22 pts P19-28A (similar to) Stratton Manufacturing makes carrying cases for portable electronic devices its costing records yield the following information Click the icon to view the costing records read the futements Requirement 1. Which type of costing system is Stratton using? What piece of data did you base your answer on? Stration uses a system we know this because Stratton's costing records show costs being...

  • Write a C program for: One technique for dealing with deadlock is called “detect and recover.” In...

    Write a C program for: One technique for dealing with deadlock is called “detect and recover.” In this scheme, some procedure is used to identify when a deadlock occurs, and then another procedure is used to deal with the blocked processes. One technique to identify a deadlock is to maintain a resource graph that identifies all processes, all resources, and the relationships between them (that is, which processes exclusively own which resources, and which processes are blocked waiting for which...

  • M2-3 (Static) Matching Terms in Job Order Costing (LO2-1, 2-2, 2-3, 2-4, 2-5) Match each term...

    M2-3 (Static) Matching Terms in Job Order Costing (LO2-1, 2-2, 2-3, 2-4, 2-5) Match each term on the left with the best definition on the right. Note: Not all definitions will be used a. A detailed record of costs incurred to complete a specific job b. A source document that shows how a worker spent time each week. c. An accounting system used by companies to make standardized or homogeneous products or services d. An accounting system used by companies...

  • 1- Write an equation of the line satisfying the given conditions. Write the answer in standard...

    1- Write an equation of the line satisfying the given conditions. Write the answer in standard form with no fractional coefficients. Passes through (4, 4) and is perpendicular to the line defined by -5x + 4y = -6. 2- A fireworks mortar is launched straight upward from a pool deck platform 4m off the ground at an initial velocity of 61 m/sec. The height of the mortar can be modeled by  where h(t) is the height in meters and t is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT