Looking for Operating Systems-Lecture,Section-3-Spring 2025 test answers and solutions? Browse our comprehensive collection of verified answers for Operating Systems-Lecture,Section-3-Spring 2025 at moodle.nu.edu.kz.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
At a particular computation time, the value of the counting semaphore is 18. Then, 14 Wait (or P) operations and X Signal (or V) operations are performed on this semaphore. If the final value of the semaphore is 15, then X is;
Assume there are two cooperating processes (i.e., P1 and P2), as shown in Figure below. The initial values of Semaphores (i.e., S1 and S2) are zero, and the counter's initial value is 10. What will be the final counter value after every execution?
Select all the correct answers for the Process Synchronization.
Assume two processes (i.e., P1 and P2) depend on each other, as shown in Figure below. The initial values of the Semaphores (i.e., S1, S2, and S3) are also given. Which of the following options is correct for the execution order?
Assume that there are two processes (i.e., P1 and P2) using Peterson’s Solution for the Process Synchronization, where Process P1 uses Flag_1 and Process P2 uses Flag_2. Moreover, they are also sharing a Turn data item. Process P2 is not ready to enter the critical section; however, Process P1 wants to enter the critical section. What will the values of Flags and Turn data items be?
What is NOT stored in the PCB?
In preemptive scheduling, what potential issue arises from the frequent alternation of processes at the CPU caused by a small quantum?
What will happen if a currently running process asks for I/O?
Which CPU scheduling algorithm can more likely lead to starvation compared to other scheduling schemes or algorithms in a system where all processes have the same priority?
Which of the following best describes the purpose of a system call?