Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Chapter: 32
Q861:
In Multiprogramming with Variable Tasks (MVT), the number of partitions _______.
A. remains constant
B. changes with time
C. is always larger than processes
D. is fixed
Correct Answer:
B
Chapter: 32
Q862:
External fragmentation refers to _______.
A. holes outside any region
B. hole inside a partition
C. contiguous memory
D. none of the above
Correct Answer:
A
Chapter: 32
Q863:
What does compaction do in the case of external fragmentation?
A. Removes internal fragmentation
B. Shuffles memory contents to create a large free block
C. Eliminates all memory allocation issues
D. Reduces memory access time
Correct Answer:
B
Chapter: 32
Q864:
In paging, the physical memory is broken down into _______.
A. blocks
B. pages
C. segments
D. frames
Correct Answer:
D
Chapter: 32
Q865:
Which of the following is true about paging?
A. Pages and frames are of different sizes
B. Memory is divided into frames and pages
C. Pages are always fixed-sized
D. All of the above
Correct Answer:
B
Chapter: 32
Q866:
The hardware support for paging involves translating a _______ to a physical address.
A. logical address
B. memory address
C. virtual address
D. none of the above
Correct Answer:
A
Chapter: 32
Q867:
In a page table, each entry contains the _______ of the page in physical memory.
A. framework address
B. frame number
C. offset
D. none of the above
Correct Answer:
B
Chapter: 32
Q868:
What is the typical page table size range?
A. 1-2 KB
B. 1K-16K
C. 16-32 KB
D. 32-64 KB
Correct Answer:
B
Chapter: 32
Q869:
Which of the following is eliminated in MVT?
A. Internal fragmentation
B. External fragmentation
C. Address translation
D. Memory leaks
Correct Answer:
A
Chapter: 32
Q870:
Which memory management technique eliminates external fragmentation?
A. Paging
B. MVT
C. MFT
D. Compaction
Correct Answer:
A
Chapter: 32
Q871:
In Paging, when a logical address is referenced, the CPU splits it into _______.
A. a page number and page offset
B. a process number and frame number
C. a segment number and segment offset
D. none of the above
Correct Answer:
A
Chapter: 32
Q872:
In the context of address translation, the page number is used to index into the _______.
A. page table
B. segment table
C. frame table
D. none of the above
Correct Answer:
A
Chapter: 32
Q873:
What happens when a process is loaded in a non-contiguous way using paging?
A. It leads to external fragmentation
B. Internal fragmentation may occur
C. Memory access becomes slower
D. Address translation becomes complex
Correct Answer:
B
Chapter: 32
Q874:
Compaction takes place to handle _______.
A. Internal fragmentation
B. External fragmentation
C. Memory swapping
D. Memory leaks
Correct Answer:
B
Chapter: 32
Q875:
Which of the following is NOT true about MVT?
A. It eliminates internal fragmentation
B. It reduces external fragmentation
C. Processes can change sizes dynamically
D. It is suitable for real-time systems
Correct Answer:
D
Chapter: 32
Q876:
A process address space is mapped to the physical memory via a _______.
A. page table
B. segmentation table
C. frame table
D. none of the above
Correct Answer:
A
Chapter: 32
Q877:
Paging can eliminate _______ but may introduce _______.
A. Internal fragmentation, external fragmentation
B. External fragmentation, internal fragmentation
C. Address translation issues, memory leaks
D. None of the above
Correct Answer:
B
Chapter: 32
Q878:
In the context of logical address translation, the frame number is combined with the _______ to form the physical address.
A. page offset
B. page number
C. segment offset
D. none of the above
Correct Answer:
A
Chapter: 32
Q879:
Which of the following is true about memory management in Paging?
A. Each page has a fixed size
B. Pages are contiguous in physical memory
C. There is no need for address translation
D. None of the above
Correct Answer:
A
Chapter: 32
Q880:
Which of the following is an example of dynamic relocation?
A. MVT
B. Paging
C. Fixed partitioning
D. None of the above
Correct Answer:
B