Computer Science, asked by rabiashehzadi59, 3 months ago

What are the three major activities of an operating system in regard to memory management and secondary storage management ?

Answers

Answered by totakuraveerabhadrao
3

Answer:

plz mark me brainliest

Explanation:

The three major activities of the operating system with regard to memory management are:

Keeping track of which parts of memory are currently being used and by whom.

Deciding which processes are to be loaded into memory when memory space becomes available.

Allocating and deallocating memory space as needed.

Answered by syed2020ashaels
0

The three major activities of an operating system in regard to memory management

  • Memory management: The operating system controls how much memory is given to the many processes that are active on the system. It keeps track of the memory regions that are now being used, free, and allocated but not yet being used. It is the responsibility of the operating system to make sure that each process has sufficient memory to run without interfering with other processes.

  • Memory protection: The operating system makes sure that each process is independent of the others and is unable to access or alter the memory that has been allotted to it. To achieve this, memory protection techniques like virtual memory and memory segmentation are used.

  • Deallocation of memory: The operating system is in charge of releasing memory that is no longer needed by a process. The memory allotted to a process is deallocated and restored to the pool of free memory when the process ends.

The three major activities of an operating system in regard to secondary storage management

  • File Management: Managing data on secondary storage devices such hard drives, solid-state drives, and other external storage devices is the responsibility of the operating system. Creating, erasing, reading, and writing files are all included.

  • Storage management: The operating system controls how much room is allotted for files on secondary storage devices. It keeps track of the storage spaces that are now in use, available, and assigned but not yet in use. Each file must have enough room to be stored without interfering with other files, and the operating system is in charge of making sure this happens.

  • Storage security: Each file is safeguarded against unwanted access and change by the operating system. Using file permission methods like access control lists and file ownership does this.

For more questions on Computer Science

https://brainly.in/question/22731028

#SPJ3

Similar questions