1.

What are different ways of implementing free lists and which is simple among them?(a) best fit, first fit, worst fit, simple-first fit(b) best fit, first fit, worst fit, simple-best fit(c) best fit, first fit, worst fit, simple-worst fit(d) best fitsimple-best fitThis interesting question is from Free List topic in division Types of Lists of Data Structures & Algorithms II had been asked this question by my school teacher while I was bunking the class.

Answer»

Correct option is (a) BEST fit, first fit, worst fit, simple-first fit

For EXPLANATION: The‭ ‬simplest form of MEMORY management system can be called as first-fit.‭ ‬a DEVICE or system maintains a single‭ ‬list of free memory locations.‭ ‬When request to memory is sent,‭ ‬the list is searched and the first block that is LARGE enough is returned.



Discussion

No Comment Found

Related InterviewSolutions