October 5, 2023Operating-SystemsQuestion 6 The following C program is executed on a Unix/Linux system: #include <unistd.h> int main () { int i ; for (i=0; i<10; i++) if […]
October 6, 2023DeadlockQuestion 11 Two shared resources R1 and R2 are used by processes P1 and P2. Each process has a certain priority for accessing each resource. Let […]
October 6, 2023Process-SchedulingQuestion 1 Consider the following set of processes, assumed to have arrived at time 0. Consider the CPU scheduling algorithms Shortest Job First (SJF) and Round […]
October 6, 2023Operating-SystemsQuestion 754 Consider a file currently consisting of 50 blocks. Assume that the file control block and the index block is already in memory. If a […]