______ method is used to map logical addresses of variable length onto…

2024

______ method is used to map logical addresses of variable length onto physical memory.

  1. A.

    Paging

  2. B.

    Overlays

  3. C.

    Segmentation

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 231 students.

Show answer & explanation

Correct answer: C

Correct Answer: Segmentation

The correct method to map logical addresses of variable length onto physical memory is Segmentation.

Explanation

Segmentation divides the logical address space into variable-sized segments based on logical units such as functions, arrays, or stacks. Each segment has a base address and a limit, allowing the operating system to map variable-length logical addresses directly to physical memory without the constraints of fixed-size blocks.

Why other options are incorrect

  • Paging uses fixed-size blocks (pages), which leads to internal fragmentation and is not ideal for variable-length addresses.

  • Overlays are used to run programs larger than physical memory by swapping parts, not for direct address mapping.

हिन्दी उत्तर: सेगमेंटेशन

लॉजिकल पताओं की चर लंबाई (variable length) को भौतिक मेमोरी पर मैप करने के लिए सही विधि सेगमेंटेशन है।

व्याख्या

सेगमेंटेशन लॉजिकल पता स्थान को फंक्शन, एरे या स्टैक जैसे तार्किक इकाइयों के आधार पर चर-आकार के सेगमेंट में विभाजित करता है। प्रत्येक सेगमेंट में एक आधार पता और सीमा होती है, जो ऑपरेटिंग सिस्टम को चर-लंबाई वाले लॉजिकल पताओं को बिना स्थिर-आकार के ब्लॉक की बाधाओं के सीधे भौतिक मेमोरी पर मैप करने की अनुमति देती है।

अन्य विकल्प गलत क्यों हैं

  • पेजिंग स्थिर-आकार के ब्लॉक (पेज) का उपयोग करती है, जिसके कारण आंतरिक विखंडन होता है और यह चर-लंबाई वाले पताओं के लिए आदर्श नहीं है।

  • ओवरले का उपयोग भौतिक मेमोरी से बड़े प्रोग्रामों को चलाने के लिए भागों को स्विप करने के लिए किया जाता है, सीधे पता मैपिंग के लिए नहीं।

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs