

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Note: Completion of quiz is an individual effort. The quiz takes 10 minutes. The student gets additional 5 points for taking the quiz. Each question has ONLY ONE ANSWER!!!
sigprocmask(SIG_BLOCK, &intmask, NULL); for (i=0; i<100; i++) y=i++; sigprocmask(SIG_UNBLOCK, &intmask, NULL);
What happens in this code? a. SIG_INT signal will be added to the signal mask intmask in the middle of the calculation of y b. Calculation of y can be interrupted during its execution with signal SIG_INT c. Calculation of y can not be interrupted during its execution with signal SIG_INT
Process ID Burst Time Arrival Time P1 10 0 P2 5 0 P3 15 0
and let us assume for the Round-Robin Scheduling policy that the time quantum is 5 time units. Under these assumptions, consider the following claim: The process P2 finishes earlier when scheduled with Non-Preemptive Shortest Job First scheduling policy than with Round-Robin scheduling policy. The claim is a. True b. False