Discuss the conditions necessary for a deadlock to occur. If given the option of removing one condition to prevent deadlock, which condition would you eliminate? Why?
Discuss different deadlock handling strategies. Which strategies would you like to implement to remove deadlocks in the cases of disk sharing, database sharing, and multiple device allocation? Select a suitable strategy in each case and provide reasons for your choices.