Machine-translated by Google. Questions are authored in English.
Top

Memory Management Questions and Answers

Answer: C

Correct answer: free hole from a set of available holes

First fit, best fit and worst fit are placement strategies: given a request and a list of free holes, each chooses a different hole. First fit takes the first large enough, best fit the smallest large enough, worst fit the largest.

Please log in or register to report this question.

14.

In internal fragmentation, memory is internal to a partition and :

Answer: B

Correct answer: is not being used

Internal fragmentation is the space inside an allocated block that the process does not use. It is allocated but wasted, which is what distinguishes it from external fragmentation, where the waste lies between blocks.

Please log in or register to report this question.

Answer: A

Correct answer: permit the logical address space of a process to be noncontiguous

If a process need not occupy one unbroken run of memory, it can be fitted into whatever holes exist, and external fragmentation ceases to matter. That is the idea behind paging and segmentation.

Please log in or register to report this question.

17.

If relocation is static and is done at assembly or load time, compaction _________

Answer: A

Correct answer: cannot be done

Compaction moves a process to a different physical address, so its addresses must be recomputed. If relocation was fixed at assembly or load time the addresses are already bound and cannot be changed, so the process cannot be moved.

Please log in or register to report this question.

18.

The disadvantage of moving all process to one end of memory and all holes to the other direction, producing one large hole of available memory is :

Answer: A

Correct answer: the cost incurred

Compaction works, but every byte of every process must be copied, and nothing else can run while it happens. That expense is its drawback.

Please log in or register to report this question.

Answer: A

Correct answer: first fit, best fit, worst fit

First fit stops at the first hole large enough, so it examines fewer holes than the other two, which must scan the whole list to find the smallest or the largest. In storage utilisation first fit and best fit are close, but in speed first fit wins.

Please log in or register to report this question.

Answer: A

Correct answer: enough total memory exists to satisfy a request but it is not contiguous

External fragmentation is free memory broken into pieces too small to be useful: the total is sufficient but no single hole is. If the total itself were insufficient, that would be a shortage rather than fragmentation.

Please log in or register to report this question.

Loading…
Tags: Memory Management Questions and Answers || Memory Management MCQ Questions and Answers || Memory Management GK Questions and Answers || Memory Management GK MCQ Questions || Memory Management Multiple Choice Questions and Answers || Memory Management GK || GK on Memory Management || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness