Bn104 operating systems - calculate the total number of


Purpose of this assignment:

The purpose of this written assignment is to verify students' knowledge on some of the topics covered in the second half of the course: The Device Handler, File management, Deadlock, UNIX/Linux OS commands. Students must answer Multiple Answer Questions and write a report on selected OS topics and algorithms. In this assignment students would:

- Apply their knowledge on the topic of device handler's seek strategies in answering a question related to the topic
- Report their understanding on system deadlock and provide an example of a deadlock scenario for a given system
- Demonstrate their competency in the use of a command line interface to operate with and manage Unix/Linux OS

Description of this assignment:

This assignment consists of two parts:

Part A: An online quiz Assignment 2, which includes 40questions. Students may have 3 attempts at this quiz. The system will keep the highest grade.

Part B: Answering 3questions related to aspects of Operating Systems, worth 60 marks.

Submission guidelines:

1. Your submission should include the following:
- The cover page must identify student (name and number), teaching staff, and assignment.
- The assignment must use 12-point font size minimum and at least single line spacing 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. You can refer to the lecture notes, textbook, Internet websites or any other books or resources for your report. However, make sure that you write the report in your own words and clearly write all the references that you have used. IEEE style should be used for referencing (URL: https://www.ieee.org/documents/ieeecitationref.pdf).

Assignment 2-Questions

B-Q1

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 B-Q1-a (Details of the calculations is essential).

B-Q2

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

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

b. Consider a system with five dedicated devices and four processes (process 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.

B-Q3

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 so 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 lab (provide screen capture).

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

b i) Research the similarities and differences between Unix and Linux operating systems.

ii) Name three different flavours/distribution of Unix and Linux operating systems.

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

Request for Solution File

Ask an Expert for Answer!!
Operating System: Bn104 operating systems - calculate the total number of
Reference No:- TGS01596712

Expected delivery within 24 Hours