Explain how the operating system does memory management.
Answer Text: -The operating system allocates memory to the user programs and itself.-It ensures that each program has enough memory to execute its processes.-It ensures that one process does not use the memory allocated to another process.-It release the memory allocated to a job once the job is completed or the program is closed