Main Memory Flashcards

1
Q

Programs must be brought into memory and placed within a _____ in order to run

A

Process

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

The only storages that the CPU can access directly

A

Main memory and registers

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

What does the memory unit only see?

A

Stream of address
Read request / address
Data & write request

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

Main memory can take many cycles which causes ___

A

Stalls

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

__ sits between main memory and CPU registers

A

Cache

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

A pair of ___ and ___ define the logic address space

A

Base and limit registers

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

Programs on disk ready to be brought into memory to execute form an

A

Input queue

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

Three different stages if address binding

A

Compile time
Load time
Execution time

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

In compile time, if memory location is known a priori, ___ code can be generated

A

Absolute

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

Compiled code bind to ___ adrdresses

A

Relocatable

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

Linker / loader bind relocatable address to _— address

A

Absolute

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

Address seen by the memory unit

A

Physical address

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

Logical and ohysical addresses diiffer in terms of

A

Execution time address binding scheme

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

Hardware device that run time maps virtual to physical address

A

Memory management unit

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

Value in the ___ is added to every address generated by a user process

A

Relocation register

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

MS-DOS on intel 80x86 uses how many relocation registers

A

4

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

User program only deals with what tyoe if addresses

18
Q

A type of relocation wherein a routine is not loaded until it is called

All routines are kept in relocatable load format

No special support from the OS

Linking is postponed until EXECUTION TIME

A

Dynamic Linking

19
Q

System libraries and program code combined by the loaded]r into the binary program image

A

Static linking

20
Q

Small piece of code used to locate appropriate memory resident library routine

It replacesitself with the ADDRESS of the routine and executes the routine

21
Q

Dynamic linking is useful for system libraries also known as

A

Shared libraries

22
Q

A process can be swapped temporarily out of a memory and to a ___which is a fat disk large enough to accomodate copies of all memorybimages for all users

Must provide direct access ti these memory images

A

Backing stores

23
Q

Swapping variant used for priority-based scheduling algorithms

Lower priority is swapped iut by higher priority

A

Roll out roll in

24
Q

Major part of swao time is __

A

Transfer time

25
System maintains a __- of ready ti run oricesses which have memory images on disk
Ready queue
26
In this type of allocation, the memory is partitioned into two parts
Contiguous allocation
27
In contiguous allocation, the memory is partitioned into
``` OS (low memory) User processes (high memory) ```
28
Used to protect user processes from each other
Relocation register
29
This type of fragmentation states that the total memory soace exists to SATISFY A REQUEST
External fragmentation
30
In this type of fragmentation, allocated memory be slightly LARGER THAN REQUESTED MEMORY size difference is memory internal to a partition but not being used
Intenal frag
31
According tobthis rule, first fit analysis reveals that given N blocks allocated, 0.5N blocks lost to fragmentation 1/3 may be unusable
50 percent rule
32
A way to reduce external fragmentation by shuffling memory contents to place all free memory together in one large block
Compactin
33
A memory management scheme that supports user view of memory
Segmentation
34
Maps 2D ohysicall addresses
Segment table
35
Points to the segment tabke’s location memory
Segment tabke base register
36
Indicates number of segments used by a orogram
Segment table length register
37
If validation bit == 0 then
Illegal statement
38
Allows physical address soace of a process to not be contiguous Process is allotted to memory whenever it is available Avoids EXTERNAL fragmentation and problem of varying sized memory chunks
Paging divides ohysical memory into FIXED SIZED BLOCKS called
39
Frames
Pages divide LOGICAL MEMORY INTO BLOCKS OF SAME SIZE CALLED
40
Pages
Translate logical to physical address
41
Page table
Addres generated by the CPU is divided into 2