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

A

Logical

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

A

Stub

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
Q

System maintains a __- of ready ti run oricesses which have memory images on disk

A

Ready queue

26
Q

In this type of allocation, the memory is partitioned into two parts

A

Contiguous allocation

27
Q

In contiguous allocation, the memory is partitioned into

A
OS (low memory)
User processes (high memory)
28
Q

Used to protect user processes from each other

A

Relocation register

29
Q

This type of fragmentation states that the total memory soace exists to SATISFY A REQUEST

A

External fragmentation

30
Q

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

A

Intenal frag

31
Q

According tobthis rule, first fit analysis reveals that given N blocks allocated, 0.5N blocks lost to fragmentation

1/3 may be unusable

A

50 percent rule

32
Q

A way to reduce external fragmentation by shuffling memory contents to place all free memory together in one large block

A

Compactin

33
Q

A memory management scheme that supports user view of memory

A

Segmentation

34
Q

Maps 2D ohysicall addresses

A

Segment table

35
Q

Points to the segment tabke’s location memory

A

Segment tabke base register

36
Q

Indicates number of segments used by a orogram

A

Segment table length register

37
Q

If validation bit == 0 then

A

Illegal statement

38
Q

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

A

Paging divides ohysical memory into FIXED SIZED BLOCKS called

39
Q

Frames

A

Pages divide LOGICAL MEMORY INTO BLOCKS OF SAME SIZE CALLED

40
Q

Pages

A

Translate logical to physical address

41
Q

Page table

A

Addres generated by the CPU is divided into 2