Professional Documents
Culture Documents
Question 2:
a) Explain the difference(s) between paging and segmentation in memory management system.
b) Compare between the Layered approach and Microkernels approach in Operating System
Structure.
Question 3:
Consider the following two processes, P0 and P1, each accessing two binary semaphores, S and
Q, set to the value 1.
P0 P1
Wait(S) Wait(S)
Wait(Q) Wait(Q)
… …
Signal(S) Signal(Q)
Signal(S) Signal(S)
Question 5:
Draw the process-tree for the below program, then identify how many processes are created (Including
the initial parent process).
#include <stdio.h>
#include <unistd.h>
int main()
int i;
fork();
return 0;
Question 6:
Consider the following set of processes: