Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Chapter: 40
Q1081:
In a system with thrashing, the average service time for a page fault _______.
A. Increases
B. Decreases
C. Remains constant
D. Is random
Correct Answer:
A
Chapter: 40
Q1082:
The _______ page replacement algorithm tries to keep the most recently used pages in memory.
A. FIFO
B. LRU
C. LFU
D. MFU
Correct Answer:
B
Chapter: 40
Q1083:
The term "local replacement" means that a process can only select replacement pages from its _______ frames.
A. Own
B. Shared
C. Allocated
D. None of the above
Correct Answer:
A
Chapter: 40
Q1084:
The concept of allocating a minimum number of frames to guarantee execution of an instruction is referred to as _______ allocation.
A. Fixed
B. Proportional
C. Priority
D. Dynamic
Correct Answer:
A
Chapter: 40
Q1085:
Thrashing occurs when the system is spending more time _______ than performing useful work.
A. Swapping pages
B. Running processes
C. Handling input
D. Fetching data
Correct Answer:
A
Chapter: 40
Q1086:
If the degree of multiprogramming is too high, it can lead to _______.
A. Thrashing
B. Buffering
C. Fragmentation
D. Deadlock
Correct Answer:
A
Chapter: 40
Q1087:
The algorithm that selects the least frequently used page for replacement is called _______.
A. LRU
B. MFU
C. LFU
D. FIFO
Correct Answer:
C
Chapter: 40
Q1088:
The MFU algorithm assumes that the page with the _______ reference count is the least likely to be needed.
A. Smallest
B. Largest
C. Recent
D. None of the above
Correct Answer:
B
Chapter: 40
Q1089:
The goal of the LRU approximation algorithm is to track pages that have been _______ recently.
A. Used
B. Removed
C. Modified
D. Written
Correct Answer:
A
Chapter: 40
Q1090:
To prevent thrashing, local replacement limits page replacement to the _______ of a process.
A. Set
B. Pool
C. Frames
D. Size
Correct Answer:
C
Chapter: 40
Q1091:
The minimum number of frames required to guarantee execution of an instruction like MOV X,Y is based on the _______ of the instruction.
A. Size
B. Priority
C. Type
D. Length
Correct Answer:
A
Chapter: 40
Q1092:
When a process starts thrashing, the operating system should _______ to stop the issue.
A. Decrease multiprogramming
B. Increase memory
C. Add more processes
D. Change allocation
Correct Answer:
A
Chapter: 40
Q1093:
The algorithm that allocates frames based on process size is called _______ allocation.
A. Fixed
B. Proportional
C. Priority
D. Dynamic
Correct Answer:
B
Chapter: 40
Q1094:
If a process has too few frames, it is likely to experience _______.
A. Thrashing
B. Buffering
C. Fragmentation
D. LRU
Correct Answer:
A
Chapter: 40
Q1095:
The minimum number of frames required for a process is determined by the _______ of the instruction and its allocation requirements.
A. Size
B. Number of pages
C. Priority
D. Execution time
Correct Answer:
A
Chapter: 40
Q1096:
In the FIFO page replacement algorithm, the _______ page is replaced first.
A. Least recently used
B. Most recently used
C. First entered
D. Least frequently used
Correct Answer:
C
Chapter: 40
Q1097:
A process with a high page fault rate but low CPU utilization is likely experiencing _______.
A. Thrashing
B. Buffering
C. Fragmentation
D. LRU
Correct Answer:
A
Chapter: 41
Q1098:
What is thrashing in the context of virtual memory?
A. High paging activity
B. Low CPU utilization
C. Excessive disk usage
D. A process faulting repeatedly
Correct Answer:
A
Chapter: 41
Q1099:
What happens when a process is thrashing?
A. CPU utilization increases
B. CPU utilization drops to almost zero
C. The process executes faster
D. Page faults stop occurring
Correct Answer:
B
Chapter: 41
Q1100:
Which of the following can help reduce thrashing?
A. Increasing degree of multiprogramming
B. Decreasing degree of multiprogramming
C. Reducing program structure complexity
D. Increasing page size
Correct Answer:
B