(A) True
(B) False
Tag: OS Mcqs
__ is a segment of code that accesses a shared resource like data structure or device that must not be concurrently accessed by more than one thread of execution.
(A) Pipelining
(B) Critical Section
(C) Context switching
(D) Multithreading
Use of semaphore create a problem of busy waiting this wastes CPU cycles that some other process may be able to use productively. This type of semaphore is also called?
(A) Spinlock
(B) Semaphore S
(C) Locking Semaphore
(D) Mutex
Using hardware solution to synchronization for complex problems introduce a new synchronization tool know as?
(A) Semaphore
(B) Test and Set
(C) Swap
(D) Trap
Batch programs are usually __ programs.
(A) Interactive
(B) Non-Interactive
(C) Preemptive
(D) Foreground
__ algorithm is used for solving n-process critical section problem.
(A) Bakery
(B) Bankers
(C) Babbles
(D) None of the above
__ is a preemptive scheduling algorithm.
(A) Round Robin
(B) Shortest Job First
(C) First Come First Serve
(D) None of the above
The integer value of __ semaphores can range over an unrestricted integer domain.
(A) Binary
(B) Counting
(C) Mutex
(D) Bounded buffer