Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In the many to One model, if a thread makes a blocking system call: a) The entir

ID: 3861221 • Letter: I

Question

In the many to One model, if a thread makes a blocking system call: a) The entire process will be blocked b) A part of the process will stay blocked, with the rest running c) The entire process will run d) Just this thread will be blocked If the semaphore value is negative: a) Its magnitude is the number of processes waiting on that semaphore b) It is invalid c) No operation can be further performed on it until the signal operation is performed on it d) No process can further perform wait() operation At a particular time of computation the value of a counting semaphore is 7. Then 20 wait() operations and 15 signal() operations were completed on this semaphore. The resulting value of the semaphore is: a) 42 b) 2 c) 7 d) 12 Which of the following statements is true? I. Shortest remaining time first scheduling may cause starvation II. Preemptive scheduling may cause starvation III. Round robin is better than FCFS in terms of response time a) I only b) I and III only c) II and III only d) I, II and III

Explanation / Answer

5) a. The entire process will be blocked

6) a. Its magnitude is the number of processes waiting on that semaphore

7) b. P represents Wait and V represents Signal. P operation will decrease the value by 1 everytime and V operation will increase the value by 1 everytime.

8) d. I, II and III all the three statement are true

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote