Virtual memory is
Virtual memory does not exists physically in the memory system, it just gives an illusion of an extremely large memory.
Spatial locality refers to the property that once a location is referenced
Spatial locality of reference says that once a location is referenced then there is a high probability that a nearby location will be referenced soon.
Page fault occurs when
Page fault occurs when required page that is to be needed is not found in the main memory. When the page is found in the main memory it is called page hit, otherwise miss.
Overlay means “the process of transfers a block of program code or other data into internal memory, replacing what is already stored". Overlaying is a programming method that allows programs to be large than the computer’s main memory.
Fragmentation is basically dividing main memory into fragments [smaller size parts] usually of the same size, it is of two types:
(i) External fragmentation
(ii) Internal fragmentation.
Dirty bit is used to show the
Dirty bit that is modified after being loaded into cache memory.
Which of the following is a service not supported by the operating system?
Code compilation is being done by compiler and not by operating system, since it is language specific.
The first-fit, best-fit and the worst-fit algorithm can be used for
In partitioned memory allocation scheme, the
Superiority of the first fit and best-fit algorithms depend on the sequence of memory requests and not on the algorithm itself.
The main function of shared memory is to
Shared memory is that memory that can be simultaneously accessed by multiple programs with an intent to provide communication among them or to avoid redundant copies. Shared memory is a way of interchanging data between programs.