Bn104bn104d operating systems assignment deadlock and file


Operating Systems Assignment

Purpose - The purpose of this assignment is to report on some important characteristics of Operating Systems. Students must answer Multiple Answer questions and provide written answers about process, file and device management, deadlock, and UNIX commands. After successful completion of this assignment, students should be able to:

a. Report on the basics, and provide examples, of operating systems' structure and functionality, including memory allocation, virtual memory, demand paging and process and device management.

b. Describe the integration of hardware, operating systems and application software.

c. Explain in detail the functioning of some devices such as peripherals (e.g., printers and network connections).

d. Discuss the most common file systems' structure and technology.

e. Explain the concept of user interfaces and their role in the functionality of an OS.

f. Demonstrate competency in the use of a command line interface to operate with and manage an OS such as UNIX, and perform simple UNIX (Linux) administration.

g. Support and troubleshoot operating systems and applications at an introductory level.

Assignment Questions -

Q1. Device Handler Seek Strategies and Primary and Secondary Storage:

a. On a hard disk, the queue of track requests is as follows:

19

36

2

27

0

21

18

55

22

Assume that the head starts at track 19.

Draw a diagram for arm movement for each of the following seek strategies.

i) FCFS

ii) SSTF

iii) LOOK

b. Calculate the total number of tracks and the average number of tracks travelled by the head to satisfy the requests in a (Details of the calculations are essential).

Q2. Deadlock and File Management:

a. Describe the four conditions of deadlock in your own words.

Give references and cite the sources that you used for this task.

b. Consider a system with five dedicated devices and four processes (processes A, B, C and D) that require a maximum of two devices to complete the task. Draw a directed graph of a scenario that demonstrates there is a deadlock in the system. You can use any number of devices (maximum five) and processes (maximum four) in your demonstration. Explain your graph with details.

c. I. As described in lectures, files can be formatted with fixed-length or variable-length fields. Explain them in your own words with an example (make sure your example is different from the one used in the lecture).

II. Explain relative and complete file name in your own words with an example.

Give references and cite the sources that you used for this task.

Q3. UNIX:

a. Document the following UNIX commands in clear and concise form:

  • chmod
  • cd
  • mkdir
  • ls

Each of the above commands must be documented to the extent that the reader of your report could understand how each command works, including the following points:

  • Brief introduction of the function of the command in your own words (in 2-3 sentences).
  • The basic syntax of the command, including options. Where appropriate, give a brief description in your own words of at least two options of the command.
  • At least two examples of the usage of the command that you have used in laboratory sessions (provide screen capture).

Give references and cite the sources that you used for this task.

Request for Solution File

Ask an Expert for Answer!!
Operating System: Bn104bn104d operating systems assignment deadlock and file
Reference No:- TGS02630103

Expected delivery within 24 Hours