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!
In the producer-consumer solution based on semaphores, which semaphore(s) are used to synchronise items production and consumption?
What causes a race condition in the consumer-producer problem?
Consider Peterson's algorithm, and suppose process 0 is executing enter_region. Which condition will cause process 0 to repeat the while loop?
The following picture represents two processes running in parallel. Time flows from left to right, and grey boxes represent the time spent by the processes in their critical regions. Does this execution enforce mutual exclusion?
A race condition may take place when:
What are the main advantages of threads?
For each of the following statements, select whether it applies to user-level or kernel-level threads:
In the process model, all processes share the same logical program counter: