Recent questions tagged operating-system

0 votes
4 answers
2103
If the value of a counting semaphore s = 4, then the maximum number of requests for the critical section before it blocks is _____________ ?1. 02. 13. 24. 4
1 votes
3 answers
2104
State True/False Bakery algorithm ensures that no process is starved.1. True2. False
0 votes
1 answer
2106
By using Intel hardware xchg instruction ensures thatThe critical section is deadlock freeSolution is starvation freeProcess enters CS in FIFO orderMore than one process ...
0 votes
1 answer
2107
Return value of xchg instruction is_____________1. Old value2. New value3 . 1 if operation succeeds and 0 if operation fails4. None of the above
0 votes
1 answer
2108
Consider the following statements:i) if(count==0)ii) add %eax,%ebx1. i is atomic, ii is non-atomic2. i is non-atomic, ii is non-atomic3. i is non-atomic, ii is atomic4...
3 votes
1 answer
2109
3 votes
1 answer
2110
3 votes
2 answers
2111
1 votes
1 answer
2113
A certain hard disk rotates at 6000 rpm. It has 1 KB per sector and 64 sectors/track and has a seek time of 5 msec. Find the time required to read:i. 800 successive sect...
1 votes
1 answer
2114
2 votes
1 answer
2115
Is convoy effect possible in SJF and Priority (preemptive and non preemptive) scheduling ? Please explain your answer.
3 votes
1 answer
2118
0 votes
1 answer
2123
7 votes
1 answer
2124
0 votes
1 answer
2128