Professional Documents
Culture Documents
NAME:
STUDENT NUMBER:
ASSIGNMENT 1
1. Explain the file concept.
2.Define Raid.
disk management is a system utility in windows that enables you to perform advanced
storage tasks, it is the process of managing the physical storage devices (usually hard
disk drives or solid-state drives) connected to a computer system, this involves
organizing, partitioning, formatting, and optimizing the storage devices to make the
most efficient use of available space.
Here are some of the things disk management, is good for; to set up new drive, to
extend a volume into space that is not already part of a volume on the same drive. To
shrink a partition, usually so that you can extend a neighboring partition. And to
change a drive letter or assign a new drive letter. Disk management is an important
functionality provided by the operating system which ca be used to create, delete and
format disk partitions, examples include mini tool partition wizards, paragraph
partition managers. (www.learn.microsoft.com)
Deadlock detection and recovery is the process of detecting and resolving deadlocks
in an operating system. A deadlock occurs when two or more process are blocked
waiting for each other to release the process are blocked waiting for each to release
the resource they need. This can lead to a system wide stall, where no process can
make progress. The deadlock detection algorithm checks for the existence of a
deadlock in a system by using various algorithms like wait-for-graph, resource
allocation graph, and bankers' algorithm. Once a deadlock is detected, the system can
use one of these techniques to resolve the deadlock,
Resource preemption: The system can preempt some resources from one or
more processes to release them and allow other processes to continue
execution.
process termination: The system can choose to terminate one or more of the
processes involved in the deadlock to release the resources they hold
For example, a Traffic Control system: Deadlocks can occur in traffic control
systems, when multiple vehicles are competing for the same intersection or
road. In such cases, deadlock detection can be used to avoid accidents or
traffic jams. For example, if two cars are approaching an intersection from
opposite directions and neither can move because of the other, a deadlock
occurs. Deadlock detection can help to detect such situations and initiate
recovery, such as signaling one of the cars to stop or move in a different
direction. (www.geeks for geeks.org)
One of the advantages of deadlock avoidance is that it can prevent deadlocks from occurring
without the need for expensive system rollbacks or process termination. However, there are
some limitations to this technique, including the need for additional processing overhead to
analyze resource allocation requests and the potential for system performance degradation.
(www
References:
Tanenbaum, A. S., & Bos, H. (2014). Modern Operating Systems (4th ed.). Prentice
Hall.
Silberschatz, A., Galvin, P. B., & Gagne, G. (2012). Operating System Concepts (9th
ed.). Wiley.
Stevens, R. W. (2013). UNIX Network Programming (Volume 1, 3rd ed.). Addison-
Wesley.