Describe two different methods that an operating system could employ to ensure a process’s memory cannot be corrupted by other processes that are executing concurrently.
Multitasking is the ability of os to perform more than one task at a time. Context switching allows processes to run at a time.
Memory management is one process to make sure that one process doesn't interfere in others activity and corrupt or create bug while working together.Kernel's scheduler divide processes in time and hence it won't trespass in other process memory. Process scheduler decides which process to run at a time based on the priority level of the processes. Sometime when processes with higher priority arrives scheduler stops the currently running process to stop and give preference to the other one.
Get Answers For Free
Most questions answered within 1 hours.