Operating Systems Basics MCQs (Part-5)

Which of the following memory management techniques divides memory into fixed-size blocks?

A Virtual Memory
B Segmentation
C Paging
D Swapping

In which memory management technique is each process divided into segments based on the logical divisions of the program?

A Virtual Memory
B Segmentation
C Paging
D Swapping

What is the primary goal of virtual memory in an operating system?

A Efficient Memory Utilization
B Process Synchronization
C Process Isolation
D Real-Time Scheduling

Which of the following best describes the role of the operating system in memory management?

A Handling Interrupts
B Scheduling CPU Tasks
C Running Programs
D Managing Memory Allocation

What does fragmentation in memory management refer to?

A Wasted Memory Space
B Incomplete Process Execution
C Inconsistent Data Storage
D Process Termination

What is the benefit of using demand paging in virtual memory?

A Reduce CPU Load
B Memory Protection
C Load Pages Only When Needed
D Faster Process Execution

What is a page fault in the context of virtual memory?

A Request for Non-existent Data
B Failure to Find a Page in Memory
C Memory Overflow
D Memory Access Violation

Which of the following is a disadvantage of segmentation in memory management?

A External Fragmentation
B Increased Page Faults
C Internal Fragmentation
D Memory Overhead

What does the term “swapping” mean in memory management?

A Memory Protection
B Process Isolation
C Efficient Memory Allocation
D Moving Processes Between Memory and Disk

Which operating system component is responsible for managing virtual memory?

A Process Manager
B Device Drivers
C Kernel
D File System

What does the term “address space” refer to in virtual memory?

A Range of Memory Addresses a Process Can Access
B Total Storage Space Available
C Amount of Physical RAM
D The Space Reserved for OS

What is the role of the Translation Lookaside Buffer (TLB) in virtual memory?

A Cache Recently Used Page Entries
B Handle Interrupts
C Track Process States
D Manage Physical Memory

In virtual memory, what happens when a process accesses data not currently in RAM?

A Page Fault
B Cache Miss
C Segmentation Fault
D Process Termination

Which of the following is a disadvantage of using paging in memory management?

A Increased Disk Space Usage
B Reduced Memory Access Speed
C Complex Process Management
D External Fragmentation

What is the primary advantage of using segmentation over paging?

A Reduced CPU Overhead
B No Fragmentation
C Logical Division of Memory
D More Efficient Memory Usage