Operating systems exams - multiple choice questions (MCQ) and answers



Operating Systems MCQ questions and answers – Set 14

1. Which among the following is referred as “the type of paging where a page is never rolled (or swapped) into memory unless needed”?
(a) Daemonized lazy paging
(b) Lazy paging daemon
(c) Lazy swapper
(d) Demand paging


Click here to view answer and explanation


2. What is the purpose of dirty bit?

(a) Dynamic allocation of memory used by one process to another
(b) Implementing FIFO page replacement algorithm
(c) To reduce the average time required to service page faults
(d) None of the above


Click here to view answer and explanation


3. Which of the following is not able to solve race condition?

(a) Test and Set lock
(b) Monitor
(c) Semaphore
(d) Shared memory


Click here to view answer and explanation


4. When a process is first launched, the operating system does not know the size of the ______ segment.

(a) Text
(b) Data
(c) BSS
(d) Heap


Click here to view answer and explanation


5. What information is stored in a thread control block (TCB)?

(a) List of open files.
(b) Stack pointer.
(c) Memory map.
(d) Thread owner ID


Click here to view answer and explanation