YEAR 1 CO1 WEEK 24 MEMORY MANAGMENT Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is memory management and why is it important?

A

Memory management is necessary to organise use of main memory by converting logical addresses to physical addresses.
Most vital resource computer needs is to manage is memory.

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

Define A Logical Address

A

Addresses at which an item appears to reside, generated by CPU.

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

Define Physical Addresses

A

Actual physical location of the storage cell in memory.

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

What needs to happen for a executable application to be run.

A

To run a process it has to be loaded into main memory.
To run more than one process all have to be in main memory at the same time.
When executable application loaded into main memory it becomes a ‘process’ and requires memory to run.

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

Describe Segmentation.

A

OS sets aside memory for process to use. This is called segmentation.
A way of portioning memory.
Variable Sized based on contents.
Are logical divisions which hold complete sections of programs.

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

Define Paging.

A

Second type of memory management which designed to handle virtual memory.

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

Define a Page.

A

A fixed sized physical division of memory. Each page is contiguous.

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

Describe Pagination.

A

When RAM full memory manager determines least used page.
Page then copied into virtual memory.
Free area renumbered by memory manager and marked as free to use.
If page needed again swapped back into RAM.
ONLY USED WHEN VIRTUAL MEMORY IN USE.

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

What is Disk Thrashing.

A

When Virtual Memory in heavy use.
As more pages are swapped eventually more time is being spent swapping pages than processing data.

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