Describe the four conditions of deadlock

Assignment Help Operating System
Reference no: EM131834598

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.

Reference no: EM131834598

Questions Cloud

What is so special about pseudomonas : Write a one to two page summary of the following learning objectives: What is so special about Pseudomonas?
Predicting future social security payments : When discussing the statements sent to you by the federal government that predict your future Social Security payments, we said.
Matrix is called a nilpotent matrix : Show that an n x n matrix has the property Ak = 0 for k = m if and only if A has eigenvalues 0 with multiplicity n and index m or less. Such a matrix is called
Write a recommendation for a promising treatment : Write a recommendation (at least two paragraphs long) for a promising treatment of the genetic disease you selected; such as cancer.
Describe the four conditions of deadlock : BN104/BN104D Operating Systems Assignment. Deadlock and File Management: Describe the four conditions of deadlock in your own words
Discuss the ad-as model : Critics of the Fed's response in lowering and keeping interest rates so low for so long argued that the Fed was risking increased inflation.
Explain how the credit crisis adversely affected many other : Contagion Effects of Credit Crisis:Explain how the credit crisis adversely affected many other people beyond homeowners and mortgage companies.
Transfer function from u to y : Find a state-space equation to describe the system. Find also the transfer function from u to y.
Why does the ultimate conclusion follow as stated in premise : For a moment assume that Descartes' argument works in proving God's existence, does the ultimate conclusion follow as stated in premise 6?

Reviews

len1834598

1/27/2018 6:41:36 AM

Formatting & Referencing: IEEE. Submission Guidelines - All work must be submitted on Moodle by the due date along with a title page. The assignment must be in MS Word format, 1.5 spacing, 11-pt Calibri (Body) font and 2.54 cm margins on all four sides of your page with appropriate section headings. Reference sources must be cited in the text of the report, and listed appropriately at the end in a reference list using IEEE referencing style.

len1834598

1/27/2018 6:41:29 AM

Device handler seek strategies, and primary and secondary storage - Answer question related to device handler seek strategies and justify the answer. Deadlock and File Management - Students need to demonstrate their understanding of the concept of file management and the deadlock conditions in a system. Unix/Linux - Students need to demonstrate their competency in the use of UNIX commands.

len1834598

1/27/2018 6:41:24 AM

Outstanding effort made Excellent use of creditable sources. Accurate referencing. Obvious that outstanding effort made.. All topics are pertinent and covered in depth. Ability to think critically and source material is Demonstrated. All topics are pertinent and covered in depth. Ability to think critically and source material is demonstrated. Clear styles with excellent source of references.

Write a Review

Operating System Questions & Answers

  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.

  Develop a user mode command interpreter

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

  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.

  Stand alone child process

Forking the child process

  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.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

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

  Threads

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

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  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

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