Back to the 2025 paper
Similar questions
Operating SystemState producer-consumer problem. Give a solution to this problem using semaphore. Justify that your solution guarantees mutual exclusion.20236mOPERATING SYSTEMWhat is Reader-Writer problem? Explain how Semaphore is used to resolve the problem of process synchronization.20247mOPERATING SYSTEMWhat operations can be performed on a semaphore?20222mOperating SystemWhat is Semaphore? Explain with algorithm the Dining-Philosophers Solution using Monitors.20247m
PreviousConsider the main memory with the capacity of 4 page frames. Assume that the pages of a process are referenced in the order as given below: 1, 3, 4, 4, 3, 2, 1, 7, 5, 6, 4, 2, 1, 2 Which of FIFO or LRU would be better in this case as a page replacement policy? Why?NextConsider the following set of processes with the length of the CPU burst given in milliseconds: | Process | Burst Time | Priority | | :---: | :---: | :---: | | A | 10 | 3 | | B | 1 | 1 | | C | 2 | 3 | | D | 1 | 4 | | E | 5 | 2 | The processes are assumed to have arrived in order A, B, C, D, E all at time 0. Draw the Gantt charts that illustrate the execution of SJF scheduling algorithm. Show which algorithm results in the minimum average waiting time.