What is the main advantage of using virtual memory?
In the Banker’s Algorithm, a system is in a safe state if:
In the Banker’s Algorithm, a system is in a safe state if:
Which mechanism allows the OS to handle multiple I/O request…
Which mechanism allows the OS to handle multiple I/O requests efficiently?
A __________ occurs when a program accesses a page not curre…
A __________ occurs when a program accesses a page not currently in physical memory.
The operating system uses ________ to communicate with hardw…
The operating system uses ________ to communicate with hardware devices, triggered by events.
The __________ scheduler selects from among the processes in…
The __________ scheduler selects from among the processes in memory that are ready to execute and allocates the CPU to one of them.
The problem of having small unusable chunks of memory scatte…
The problem of having small unusable chunks of memory scattered throughout RAM is called ________ fragmentation.
Assume you have memory partitions of sizes 100 KB, 500 KB, 2…
Assume you have memory partitions of sizes 100 KB, 500 KB, 200 KB, 300 KB, and 600 KB (in order). You want to allocate processes of sizes 212 KB, 417 KB, 112 KB, and 426 KB using First Fit. Show the allocation process and indicate (briefly discuss) whether external fragmentation occurs.
CPU Scheduling: Consider this set of processes. Construct Ga…
CPU Scheduling: Consider this set of processes. Construct Gantt charts for the scheduling algorithms indicated below and compute average waiting time and average turn around time for each algorithm Table Process Arrival Time Burst Time P1 0 5 P2 1 3 P3 2 8 P4 3 6 FCFS: Draw the Gantt Chart (4 points), and compute (FCFS) show all your work Per process and Average Turnaround Time (TT) (3 points) Per process and Average Waiting Time (WT) (3 points) Use the same processes as above, but now use Round Robin with a time quantum = 4. RR: Draw the Gantt Chart (5 points) , and compute: show all your work Per process and Average Turnaround Time (TT) (4 points) Per process and Average Waiting Time (WT) (4 points)
The ____________ contains information about a process such a…
The ____________ contains information about a process such as register values and state.