FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMPUTER OPERATING SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How does the OS provide memory management?
A
By moving data to secondary storage
B
By allocating processor time between different programs
C
By making the communication possible between the input and output devices and the computer
D
By allocating areas of memory to different programs so that each program can run effectively
Explanation: 

Detailed explanation-1: -To accommodate the allocation process, the OS continuously moves processes between memory and storage devices (hard disk or SSD), while tracking each memory location and its allocation status. The OS also determines which processes will get memory resources and when those resources will be allocated.

Detailed explanation-2: -It checks how much memory is to be allocated to processes. It decides which process will get memory at what time. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.

Detailed explanation-3: -Paging, and swapping, segmentation and compaction are modern computers’ four main memory management techniques. Swapping is the best technique for memory management because it provides the most efficient use of system resources.

Detailed explanation-4: -Virtual memory systems separate the memory addresses used by a process from actual physical addresses, allowing separation of processes and increasing the size of the virtual address space beyond the available amount of RAM using paging or swapping to secondary storage.

Detailed explanation-5: -Memory management is the process of allocating memory to programs and keeping the programs in memory separate from one another. Some systems divide memory into separate areas, called partitions or regions.

There is 1 question to complete.