Bird
Raised Fist0

Which memory management technique is best suited when a program requires variable-sized logical divisions with meaningful names?

easy🔍 Pattern Recognition Q1 of Q15
Operating Systems - Paging vs Segmentation - Address Translation
Which memory management technique is best suited when a program requires variable-sized logical divisions with meaningful names?
APaging, because it divides memory into fixed-size blocks simplifying allocation
BSegmentation, because it uses fixed-size segments to simplify address translation
CPaging, because it avoids external fragmentation by using variable-sized pages
DSegmentation, because it allows logical divisions like code, stack, and data segments
Step-by-Step Solution
Solution:
  1. Step 1: Understand segmentation's logical division

    Segmentation divides memory into variable-sized segments representing logical units like code or stack, which have meaningful names.
  2. Step 2: Contrast with paging

    Paging divides memory into fixed-size pages without logical meaning, so it doesn't support variable-sized logical divisions well.
  3. Step 3: Evaluate options

    Paging, because it divides memory into fixed-size blocks simplifying allocation is wrong because paging uses fixed-size blocks but doesn't support meaningful logical divisions. Paging, because it avoids external fragmentation by using variable-sized pages is incorrect as paging uses fixed-size pages, not variable-sized. Segmentation, because it uses fixed-size segments to simplify address translation is wrong because segmentation uses variable-sized segments, not fixed-size.
  4. Final Answer:

    Option D -> Option D
  5. Quick Check:

    Segmentation supports variable-sized logical units -> correct [OK]
Quick Trick: Segmentation maps logical units; paging uses fixed-size blocks [OK]
Common Mistakes:
MISTAKES
  • Confusing fixed-size paging with variable-sized segmentation
  • Assuming paging supports logical names for memory regions
Trap Explanation:
PITFALL
  • Candidates often think paging supports logical divisions because of its simplicity, but it only manages fixed-size blocks without semantic meaning.
Interviewer Note:
CONTEXT
  • Tests understanding of fundamental difference between paging and segmentation
Master "Paging vs Segmentation - Address Translation" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes