Basic Operating System MCQ
Basic Operating System MCQ
341. A semaphone is initialized to
- Negative inteer value
- Positive integer value
- Non-negative integer value
- Non-positive integer value
342. The wait operation
- Decrements the semaphore value
- Increments the semaphore value
- Fixes the semaphore value
- None of these
343. In semaphore, the process executing the wait is blocked if
- The semaphore value becomes negative
- The semaphore value become positive
- The semaphore value becomes non-positive
- The semaphore value becomes non-negative.
344. In semaphre when the order of processes tht are waitnig to be removed from the queue is first out (FIFO) then it is called
- Weak semaphore
- Strong semaphore
- Binary semaphore
- None of these
345. In semaphore the process blocked by wait operation is unblocked if
- Semaphore value becomes non-negative
- Semaphore value becomes non-positive
- Semaphore value is negative
- Semaphore value is positive
346. The compction is the technique in memory management that is used to over come
- Internal fragmentation
- External fragmentation
- Both (A) and (B)
- None of these
347. Physical address (absulute address) in memory partitioning is
- Actual location in main memory
- A reference to memory location independent of current assignment
- A logical address
- None of these
348. The frame
- Can hold exactly one page of data
- Can hold more than one page of data
- Can hole two page of data
- None of these
349. The page table that is maintained by operating system
- Shows frame location for each page of the process.
- Shows actual address in main memory
- Referrer memory location to memory
- None of these
350. The page table that is maintained by operating system
- Shows frame location for each page of the process
- Shows actual address in main memory
- Referrer memory location to memory
- None of these