Looking for 25-26 CS2850: Operating Systems test answers and solutions? Browse our comprehensive collection of verified answers for 25-26 CS2850: Operating Systems at moodle.royalholloway.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Consider the situation in Slide 11 of the "scheduling algorithms for batch systems" lecture. What is the average turnaround time for FCFS and SJF?
Consider the solution to the readers and writers problem based on semaphores (slides 6-7). Why do we need to check the variable rc in the following line of the reader procedure?
if (rc == 1) down(&db);
What causes a deadlock in the naive solution to the dining philosophers problem (slide 5)?
Which resources are shared among the philosopher in the dining philosophers problem?
Select the incorrect statements about monitors:
What causes a race condition in the consumer-producer problem?
In the producer-consumer solution based on semaphores, which semaphore(s) are used to synchronise items production and consumption?