What is virtual memory?

Q: What is virtual memory?


A: Virtual memory is a way of managing computer memory that allows applications to access a block of memory of a given size. This block of memory can come from different parts, such as the main memory or disk.

Q: How does virtual memory work?


A: Virtual memory works by allowing the CPU's Arithmetic Logic Unit to do translations between application and system resources. The modern operating systems also do part of this work. When an application tries to access a block of memory that is not in system memory, it will be stopped and the block will be loaded into system Memory.

Q: What are some examples of computers that don't use virtual Memory?


A: Embedded systems are one example of computers that don't use virtual Memory because they need fast response times or ones that always stay the same. It is difficult to predict response time with virtual Memory so it isn't used in embedded systems.

Q: What is multiprocessing?


A: Multiprocessing is when a computer can do more than one thing at once, running multiple applications at once which share its resources.

Q: What happens when an application tries to access a block of Memory not in system Memory?


A: When an application tries to access a block of Memory not in system Memory, it will be stopped and the block will be loaded into system Memory.

Q: What is paging?


A: Paging refers to what happens when what was in that part of the systemMemory needs to be written back out onto disk due to an application accessing another part not stored there originally.

AlegsaOnline.com - 2020 / 2023 - License CC3