Operating Systems(3) Flashcards

1
Q

Symbolic Addresses

A

Addresses located in a program. Variables, for example.

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

Relocatable Addresses

A

Calculated from a reference point, and is generated at compile time. (Example: Base + offset)

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

Physical Addresses

A

Location is somewhere directly in memory hardware.

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

Logical Addresses

A

An address made by the CPU (the offset in calculations).

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

Single Partition Batch

A

The OS is in low memory, user is in high. (OS is to the left, user is to the right) Code complies to physical addresses directly. Processes and OS are protected from each other.

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

Multiple Fixed Partition

A

Memory is divided into “n” equal sized partitions. N is the degree is multi-programming. When a partition is free, the OS selects a process from input queue and loads it into the partition. IT IS NOT USELESS!! Benefits: Time-sharing, multiprogramming

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

Dynamic Partition

A

Fills “holes” (unoccupied memory) that can hold a process. If none exists, the OS waits until a process is completed to fill it, or skips down the input queue to find a process to fit in. BENEFITS: The size of partitions is no longer limited.

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

Internal Fragmentation

A

A small slot of free memory left over when a process is put into a memory slot.

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

External Fragmentation

A

The sum of the memory of the holes is enough to satisfy a request, but is not contiguous.

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

Contiguous Memory vs Paging

A

Continuous memory includes the partition methods, and yet external and internal fragmentation can happen. Paging, the processes where small sections of memory are linked together, does not have any external fragmentation and very little internal.

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

Contiguous

A

(In reference to memory management): uninterrupted and sequential. Example, most logical addresses!

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

Translation Look aside Buffer

A

A fast piece of associative memory for storing frequently accessed page tables. Faster access of addresses in memory.

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

Optimal Paging Algorithm

A

Looks at future page requests in the page stream and selects the page used furthest in the future to eject. It is not used by modern OS’s however, bc it is too hard to predict pages in advance.

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

Locality of Reference

A

A fact known about the PC- that it stays in a local region for a while and continues making its way slowly and sequentially. This is important to paging because it is what allows the allocation scheme to function the way it does. It does not have to go back and retrieve a page a lot, allowing for less page faults. Ex: Looping, no function calls to bounce around the program.

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

Dirty Bit

A

Indicates if a page has been changed since it has been accessed by memory. If set, the page needs to be written back to the disk before being ejected.

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

Pure Demand Paging

A

The page of code where the processes’ entry point is located is loaded. Pages are only loaded as page-faults occur.

17
Q

Compile Address Binding

A

Batch systems and Arduino boards use this, bc they have to generate physical addresses automattically.

18
Q

Load Binding

A

Multi-programmed batch’s use this with relocatable code, and the program is loaded into physical memory when it has the physical address.

19
Q

Execution Binding

A

Modern-day OS systems use this, and all logical addresses are generated.

20
Q

Dynamic Loading

A

Method of running a program that is larger than memory. A function by function check to see if a routine is located in memory or not.

21
Q

Overlays

A

Divides the program into pieces that will fit into memory, and we use the overlay to help manage the memory.