COMPUTER SCIENCE AND ENGINEERING
OPERATING SYSTEM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
processor management
|
|
memory management
|
|
file management
|
|
disk management
|
Detailed explanation-1: -The allocation of dynamic memory is very simple, we need to call a library function (malloc, calloc, etc.) to allocate the memory at runtime (from the heap), after using the allocated memory it again called a different function (free, realloc) to release the allocated memory.
Detailed explanation-2: -Paging is a function of memory management where a computer will store and retrieve data from a device’s secondary storage to the primary storage.
Detailed explanation-3: -Dynamic memory allocation using the new operator To allocate the space dynamically, the operator new is used. It means creating a request for memory allocation on the free store. If memory is available, memory is initialized, and the address of that space is returned to a pointer variable.
Detailed explanation-4: -Memory Management performs the task of allocation and deallocation of memory space to program.