Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : A power of two / दो की घात

Advertisement

Detailed Solution

सही उत्तर A power of two / दो की घात है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In the buddy system of memory allocation, the size of each free block is: / स्मृति आवंटन की बडी प्रणाली (buddy system) में प्रत्येक मुक्त ब्लॉक का आकार होता है:

1.
A multiple of the page size only / केवल पेज आकार का गुणज
2.
Any arbitrary size requested by the process / प्रक्रिया द्वारा माँगा गया कोई भी स्वेच्छ आकार
3.
Always exactly 4 KB / सदैव ठीक 4 KB
4.
A power of two / दो की घात

Correct Answer: A power of two / दो की घात

The buddy system keeps free lists of blocks sized 2^k; a request is rounded up to the next power of two, and larger blocks are recursively split into buddies (halves) until the right size results — merging reverses the process. / बडी प्रणाली 2^k आकार के ब्लॉकों की मुक्त सूचियाँ रखती है; अनुरोध को अगली दो-की-घात तक पूर्णांकित किया जाता है, और बड़े ब्लॉकों को सही आकार मिलने तक पुनरावर्ती रूप से बडीज़ (अर्धांशों) में विभाजित किया जाता है — विलय इस प्रक्रिया को उलट देता है।

Downloaded from PrepSnap (prepsnap.in)