A system uses paging with a page size of 2 KB. If a logical address is 5,000 bytes and byte addressing starts at zero, what is its offset within the page??
Which statements about CPU scheduling are correct? Select every correct answer. 1.Non-preemptive scheduling always interrupts a running process when a shorter job arrives 2.Round Robin assigns each ready process a time quantum 3.Aging can help reduce starvation in priority scheduling 4.FCFS can suffer from the convoy effect?
A process generates a page fault because its required page is not currently in RAM, but the memory reference is valid. What does the operating system typically do??
In a typical multithreaded process, threads share the process's code and global data, while each thread maintains its own stack.?
Deadlock can occur only when every process involved is waiting for CPU time.?
A system has 4 physical frames available to a process. The process accesses five distinct pages in sequence for the first time, and none of those pages is already in memory. How many page faults occur during these five accesses??
In a system using fixed-priority CPU scheduling, a low-priority process waits for a very long time because higher-priority processes keep getting CPU time. What is this problem called??
A system uses segmentation. A program's logical address consists of a segment number and an offset. What does the segment table commonly provide for that segment??
Two processes each hold one resource and wait for a resource held by the other. Neither can proceed until the other releases its resource. Which deadlock condition is most directly illustrated by this circular dependency??
A context switch may occur when the operating system stops one thread and resumes another, saving and restoring execution state.?