Deadlock avoidance

Assignment Help Operating System
Reference no: EM132514

QUESTION 1

(a) Explain two reasons driving the creation of processes.

(b) Suppose we want a system to have two ready states: the normal ready state and the system ready state. Processes in the system ready state have the highest priority in the system and execute in a round robin fashion; the CPU scheduling algorithm gives priority to processes in this state and these system processes are never swapped. Draw the resulting process state transition diagram, and label each transition.

(c) Discuss about three types of "Process Control Information" part of the process control block

(d) Explain two benefits of a system making use of threads compared to a system using exclusively processes

(e) Explain three advantages of making use of user level threads

QUESTION 2

a) By making use of an appropriate example, explain issues which the principle of concurrency in an operating system may generate

b) Compare and contrast between the control problems of deadlock and starvation.

c) Explain three possible semaphores.

d) Explain three policy conditions which could lead to deadlocks.

e) Explain the concepts of consumable and reusable resources.

f) Discuss the implications following techniques associated with deadlocks, namely

i. Deadlock avoidance

ii. Deadlock prevention and

iii. Deadlock detection

QUESTION 3

(a) Discuss about the following scheduling policies:

i. Round robin

ii. Multi-level feedback queue

iii. Load sharing

(b) Explain any two possible requirements operating systems use to decide upon scheduling policies to be adopted

(c) Compare and contrast between the following memory management techniques-

i. Partitioning

ii. Paging

iii. Segmentation

(d) Explain four possible page replacement policies used with virtual memory

Reference no: EM132514

Questions Cloud

Define the term context switch : Define the term context switch. Explain how context switching takes place. (use a diagram, with two processes)
What aspects of environment support structure of colleges : What aspects of environment support structure of colleges.
Compensation expense related to the stock option plan : What is compensation expense related to the stock option plan in fiscal 2008
How much compensation expense related to restricted stock : How much compensation expense related to the restricted stock should Twilight report on its 2010 income statement?
Deadlock avoidance : i. Deadlock avoidance ii. Deadlock prevention and  iii. Deadlock detection
Write a program on simple game : Write a program on simple game.
Program on inline internal procedures deposit and withdraw : Program on Inline internal procedures deposit and withdraw.
Write the consolidated financial statements for company : Write the consolidated financial statements for Company
Uses of ionising radiation : What are the main differences between ionising radiations and non-ionising radiations. Uses of ionising radiation

Reviews

Write a Review

Operating System Questions & Answers

  Vliw processor

VLIW processor - assembler

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Disk scheduling algorithm

Simulation of Elevator and Shortest Seek Time First

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Stand alone child process

Forking the child process

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd