memory management Flashcards

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

What is memory segmentation

A

The allocation of segments or sections of memory to allow a process to run

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

What is a process

A

A process is when an executable application is loaded into main memory

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

What is the code segment

A

Where instructions for the process reside

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

What is a data segment

A

Space allocated for variables

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

What is a stack segment

A

allows the program to use functions

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

Why is memory management used

A
  • Limited Memory
  • Prevents programs from overwriting other programs memory
  • Loads and unloads processes without affecting others
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is virtual memory

A

When RAM is too full the memory manager allocates a piece of the hard disk to act as main memory

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

What is pagination

A

It is designed to handle virtual memory.
FIXED size of memory next to each other.
memory manager arranges them into a page table.
not sub divided into smaller elements

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

What is disk thrashing

A

Disk thrashing is a problem that occurs when virtual memory is in heavy use due to the time it takes to swap pages.

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

What are memory leaks

A

Memory leaks are when badly written programs do not flush data correctly causing memory to get locked up.

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

What is a stack overflow

A

A stack overflow is when a stack has run out of free memory to expand into.

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