OPERATING SYSTEMS FOR COMPUTERS
COMPUTER OPERATING SYSTEMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
defragmentation
|
|
allocation of RAM
|
|
setting up virtual memory
|
|
memory addressing
|
Detailed explanation-1: -Memory allocation is the process of reserving a partial or complete portion of computer memory for the execution of programs and processes. Memory allocation is achieved through a process known as memory management.
Detailed explanation-2: -The Heap. The Heap is that portion of computer memory, allocated to a running application, where memory can be allocated for variables, class instances, etc.
Detailed explanation-3: -2) Dynamic memory allocation–memory allocated during run time. Exact sizes or amounts (like the size of an array, for example) does not have to be known by the compiler in advance. This memory is allocated by the run time system. To allocate memory dynamically, we have to use pointers.
Detailed explanation-4: -Worst fit: The memory manager places a process in the largest block of unallocated memory available. The idea is that this placement will create the largest hold after the allocations, thus increasing the possibility that, compared to best fit, another process can use the remaining space.