What is a binary semaphore? What is its use?
Answer Posted / anjana sharma
Has value 0 or 1 ,used by different to have an acess to
critical region of a process.
| Is This Answer Correct ? | 11 Yes | 9 No |
Post New Answer View All Answers
What are the different types of CPU registers in a typical operating system design?
How do you tell if your computer is 32 or 64 bit?
Define the difference between preemptive and nonpreemptive scheduling.
What does tty mean?
What is the use of paging in operating system?
Can x86 run 64 bit?
How does the system detect thrashing?
What is the meaning of busy spin in multi-threading?
Explain booting the system in operating system.
Tell something about deadlock and how can we prevent dead lock?
What is the context switch?
Measurements of a certain system have shown that the
average process runs for a time T before blocking
on I/O. A process switch requires a time S, which is
effectively wasted (overhead). The CPU’s efficiency is
the fraction of its time its spends executing user
programs, i.e., executing user processes. For round robin
scheduling with quantum Q, give a formula for the CPU
efficiency for each of the following:
(a) Q = ∞
(b) Q > S + T
(c) S How many gb is an operating system? What do you understand by registers? How does a ram function?