Midterm 2 Practice Exam, Problem 1: Processes and Scheduling¶
Midterm 2 practice exam, problem 1 of 6 · Length: 9:17 · Exercises: 34k_processes (Week 9) · 36k_scheduling (Week 9) · Problems: Practice exam (PDF) · Answer key: Solutions (PDF)
Three parts, worked on the exam's pages 2 to 4: (a) the slot and the pid each allocproc() call returns as processes are created and freed, in a table; (b) what happens to memory when freeproc leaves out free_pagetable, and what allocproc eventually returns; (c) five round-robin picks by pick_next, with a process waking partway, in a table. The answer key's handwriting is written onto the exam page as each step is worked.
Download the video (MP4, 14 MB) · Captions (WebVTT) · All six problems