Demonstrate competency in the use of a command line


Purpose of the assessment

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

Q1

a. Report on the basics, and provide examples, of operating systems structure and functionality, including process and device management.
b. Demonstrate competency in the use of a command line interface to operate with and manage an OSsuch as UNIX, and perform simple UNIX (Linux) administration.

Assignment-Questions

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

 

20

35

1

27

2

11

18

60

23

Assume that the head starts at track 20.
Draw a diagram for arm movementand explain the diagram for each of the following seek strategies.

i) FCFS

ii) SSTF

iii) LOOK

b. Describe in your own words how secondary storage differs from primary storage and give an example of each.

Give references and cite the sources if you use any external source for this task.

Q2

Deadlock

a. What is a race condition? Explain race condition with an example (do not use the example from the lecture slide). Use your own example and explain in your own words.

b. Consider a system with four dedicated resource and four processes (process P1, P2, P3 and P4) 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. Explain your graph with details.

Q3

a. Document the following UNIX commands (in clear and concise form):
- Grep
- Cp
- Mv
- Wc

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).

Solution Preview :

Prepared by a verified Expert
Operating System: Demonstrate competency in the use of a command line
Reference No:- TGS02482373

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)