VIRTUAL MEMORY Flashcards

1
Q

Define Virtual Memory and give an overview of its functionality

A

Virtual Memory
* Gives illusion of more RAM than actual availability.

  • Uses hard drive as extension of RAM.
  • Enables running larger or multiple programs concurrently.
  • Manages data stored in virtual area by moving data between RAM and hard drive.

Paging: It divides memory into pages and swaps them in and out of physical memory as needed.

Page Table: The system uses a page table to map virtual addresses to physical addresses for accurate data access.

Swap Space: When RAM is full, the system uses disk space (swap space) to temporarily hold data, freeing up RAM for other tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In the context of modern operating systems and virtual memory, what is swap space used for?

A
  • Extends memory beyond physical RAM.
  • Facilitates memory overflow by moving inactive or less critical data.
  • Enables process management for running larger programs or multiple applications.
  • Ensures system stability by providing extra space.
  • Accessing swap space may reduce performance, than accessing physical RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

State what problem Virtual Memory is designed to alleviate.

A

problem of limited physical memory by using disk space to extend available memory for running applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

On a Microsoft Windows based system, state how the default Virtual Memory value is calculated.

A

the default virtual memory size is typically calculated as 1.5 to 3 times the size of the physical RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly