2080 2

CSC264 · 2080 · 10 marks

How do you recognize critical section? Why do we need to synchronise it? Consider the request for the page references 7,0,1,2,0,3,0,4,2,3,0,3,2. Find the number of page fault for FIFO and LRU with 4 page frames.

How do you recognize critical section? Why do we need to synchronise it? Consider the request for the page references 7,0,1,2,0,3,0,4,2,3,0,3,2. Find the number of page fault for FIFO and LRU with 4 page frames.[10]

Operating SystemsChapter 2: Process ManagementCritical SectionNumerical: page replacement algorithmsVideo solution

--- A critical section is the segment of code in a process where it accesses and manipulates shared resources (shared variables, memory, files, buffers, etc.) that must not be accessed by more than one process simultaneously. How to recognize it: - It reads or writes shared data used by other pro...