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

  Pseudo code description of the fair share thread scheduler

Description of your experiments to test the fair-share thread scheduler. Once we read your report, we should have a clear understanding of how you went about solving the problem.

  Does java still play a role in os x

Write a 3 page paper describing the transition from Mac OS 9 to Mac OS X. What impact did this have on the Macintosh user base? What role did Java play in this transition? Does Java still play a role in OS X?

  What formula or function does bill put in column b through f

What formula or function does he put in columns B through F in Row 13 that will give him the total expenses for the week in each category?

  Problem on operating systems

You are to write a 6 - 8 page paper in the APA format about a topic related to this course Week 10: Turn in the final copy of your research paper. The paper should be 6 to 8 pages in length.

  Api the system-call interface and the operating system

Describe the relationship between an API, the system-call interface, and the operating system. What are the advantages of using a higher-level language to implement an operating system?

  Provide protection and redundancy methods for a linux system

Provide protection and redundancy methods for a Linux system that hosting SSH, Web Server and database services. Your methods need to align and address each of these services with reliability, maintainability, and availability network services des..

  How many processes a computer can efficiently support

Show the factors that you think would limit how many processes a computer can efficiently support?

  Hardware and software requirements for ehr systems

Recognize the hardware and software requirements to connect in dissimilar EHR systems. Discuss the solutions that have been suggested through the Federal Government and private organizations.

  Compare and contrast android and the linux operating systems

Compare and contrast Android and the Linux operating systems. Compare and contrast the Android and Windows operating systems.

  Deadlock avoidance and scheduling

Deadlock Avoidance and Scheduling

  Phase 1the premise of project 2 is to create your own shell

phase 1the premise of project 2 is to create your own shell. your shell will be launchable from a terminal window and

  What is a federated database and why becoming common

What are examples of databases in a work enviroment that could be federated?

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