Operating System Assignment | Homework Help Websites
|
OPERATING SYSTEMS
IT241 |
Instructions: |
· This Assignment must be submitted on Blackboard (WORD format only) via the allocated folder.
· Email submission will not be accepted. · You are advised to make your work clear and well-presented, marks may be reduced for poor presentation. This includes filling your information on the cover page. · You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question. · Late submission will result in ZERO marks being awarded. · The work should be your own, copying from students or other resources will result in ZERO marks. · Use Times New Roman font for all your answers. |
|
1.5Mark |
Learning Outcome(s):
LO 4: Recognize the impact of the interaction between design decisions and operating system features on the performance and robustness of the programs
|
Question One
For the following resource-allocation graph draw the corresponding wait-for graph and confirm if there exist a deadlock or not.
P1
|
R1 |
R2 |
R3 |
P2
|
P3
|
P4
|
1 Mark |
Learning Outcome(s):
LO 2: Identify the services of modern operating systems and use system calls.
|
Question Two
More than one process can be executed by a single processor using multi-programing or multi-tasking. How can this be achieved on a uniprocessor system?
2 Mark |
Learning Outcome(s):
LO 5: Assess the performance of the programs through well designed measurements using OS timings features.
|
Question Three
Following table contains five processes with their length of the CPU burst given in milliseconds. (1 + 0.5 + 0.5 = 2 Marks)
Processes | Burst Time (ms) |
P1 | 17 |
P2 | 8 |
P3 | 12 |
P4 | 5 |
P5 | 9 |
Answer the following questions using Round-Robin scheduling algorithm with a time quantum of 4 milliseconds and show all the calculations.
- Draw a Gantt chart to show round-robin scheduling.
- Calculate the waiting time for each process using round-robin scheduling.
- Calculate the average waiting time.
1.5 Mark |
Learning Outcome(s):
LO 1: Describe the OS mechanism for process management, timing, memory, I/O, file and concurrency management
|
Question Four
Describe the operating system’s two modes of operation. Distinguish between system and application programs.