A computer has one processor. At t=0t=0t=0, a worker process starts waiting for an input operation, and a helper process starts a 58 ms processor burst. Apply these assumptions:
At what time, measured from t=0t=0t=0, does the worker finish?
t=82 mst=82\ \text{ms}t=82 ms
t=86 mst=86\ \text{ms}t=86 ms
t=70 mst=70\ \text{ms}t=70 ms
t=128 mst=128\ \text{ms}t=128 ms
Unlock full course notes by signing up
Elapsed time for an export
A plotting application requests an export. From the instant of the request, it experiences the following intervals in order, with no overlap and no additional delay:
What is the response time from the export request to completion? Answer in seconds, to three decimal places.
Allocating whole memory pages
An operating system divides a program's address space into fixed-size pages. Each page currently in physical memory occupies one same-size frame. The page size is 4 KiB.
For this exercise, each program's required memory starts at a page boundary, all its pages remain in physical memory, programs share no frames, and allocation metadata uses no space. A partly filled final page still occupies a whole frame.
Complete the table with the number of pages allocated and the unused memory within those allocated pages. Enter exact integers; unused memory is measured in KiB.
When additional overhead improves output
An engineering team compares two operating system configurations on the same single-processor computer. Each controlled test lasts exactly 2.00 s. Processor time is divided into nonoverlapping operating system overhead, idle time, and useful application work.
Every identical job requires exactly 0.040 s of useful processor time. All useful processor time in each test belongs to completed jobs. What is the percentage change in the number of completed jobs, relative to the original configuration?
Turns on a shared processor
A single-processor laboratory computer uses round-robin scheduling: it gives the process at the front of the ready queue up to a 2 ms time quantum. The processor starts when the first process arrives.
New arrivals join the back of the ready queue and do not interrupt the running process. When a quantum expires, an unfinished process joins the back of the queue, behind processes already waiting. A completed process leaves the system immediately. All processes need only processor time; there are no device waits, and switching between processes takes zero time.
Find the completion time of each process, measured from time zero. Enter each answer in milliseconds, to the nearest millisecond.