paging and segmentation Flashcards

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

What is paging?

A

It allows programs to run despite insufficient memory capacity by splitting the sections up into smaller pieces. All of these sections are fixed size (equal).

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

What is segmentation?

A

It allows programs to run despite insufficient memory capacity by splitting sections into even smaller sections and still provide some space for future programs. Because of this, the sizes of the sections are all different.

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

Similarities between paging and segmentation

A
  1. Both allow programs to run despite insufficient memory
  2. Pages and segments are stored on disk
  3. Pages and segments are transferred into memory when needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Differences between paging and segmentation

A
  1. Pages are equal size, segmentation have different sizes
  2. Pages are made to fit sections of memory whilst segments are complete sections of programs
  3. Pages are physical division, segments are logical division
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is virtual memory?

A

When the RAM has no more space to store items, virtual memory is used. It is faster than using the HDD and if the time spent moving pages/segments from memory to disk is more than processing instructions, the computer will start to work slower.

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