Chapter 35 Flashcards

1
Q

What are share pages

A

Reentrant (read-only) code pages of a process address space can be shared between processes.

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

What is editor buffer called

A

Data page

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

What is segmentation

A

A memory management scheme that supports programmer’s view of memory

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

What is segment

A

A segment is a logical unit such as procedure, function, method, object, global variable, stack, symbol table. A program is a collection of segment.

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

What is segment table

A

Maps two dimensional logical addresses to physical addresses.

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

What are 2 tuples of logical address

A
  1. segment number

2. offset

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

What is STBR

A

Segment-table base register points to the segment table’s location in memory

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

What is STLR

A

Segment-table length register indicates number of segments used by a program

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

Does sharing can be implemented on code and data level as well. True / False

A

True

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

What is dynamic storage allocation

A

Storage for segments has to be allocated dynamically.

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

What are the algorithms for segments allocation in memory

A
  • First-fit
  • Best-fit
  • Worst-fit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which algorithm for segment allocation gives best performance

A

First-fit and best-fit

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

Does sharing implements in segmentation the same way as in paging

A

Yes

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