Deck 15: Memory Management and Swapping Techniques

Full screen (f)
exit full mode
Question
Binding of instructions and data to memory addresses can be done at___________

A)compile time
B)load time
C)execution time
D)all of the mentioned
Use Space or
up arrow
down arrow
to flip the card.
Question
If the process can be moved during its execution from one memory segment to another, then binding must be___________

A)delayed until run time
B)preponed to compile time
C)preponed to load time
D)none of the mentioned
Question
What is Dynamic loading?

A)loading multiple routines dynamically
B)loading a routine only when it is called
C)loading multiple routines randomly
D)none of the mentioned
Question
What is the advantage of dynamic loading?

A)a used routine is used multiple times
B)an unused routine is never loaded
C)cpu utilization increases
D)all of the mentioned
Question
The idea of overlays is to___________

A)data that are needed at any given time
B)enable a process to be larger than the amount of memory allocated to it
C)keep in memory only those instructions
D)all of the mentioned
Question
The___________        must design and program the overlay structure.

A)programmer
B)system architect
C)system designer
D)none of the mentioned
Question
The___________        swaps processes in and out of the memory.

A)memory manager
B)cpu
C)cpu manager
D)user
Question
If binding is done at assembly or load time, then the process___________be moved to different locations after being swapped out and in again.

A)can
B)must
C)can never
D)may
Question
In a system that does not support swapping___________

A)the compiler normally binds symbolic addresses (variables) to relocatable addresses
B)the compiler normally binds symbolic addresses to physical addresses
C)the loader binds relocatable addresses to physical addresses
D)binding of symbolic addresses to physical addresses normally takes place during execution
Question
The address loaded into the memory address register of the memory is referred to as___________

A)physical address
B)logical address
C)neither physical nor logical
D)none of the mentioned
Question
The run time mapping from virtual to physical addresses is done by a hardware device called the___________

A)virtual to physical mapper
B)memory management unit
C)memory mapping unit
D)none of the mentioned
Question
The size of a process is limited to the size of___________

A)physical memory
B)external storage
C)secondary storage
D)none of the mentioned
Question
If execution time binding is being used, then a process___________  be swapped to a different memory space.

A)has to be
B)can never
C)must
D)may
Question
Swapping requires a___________    

A)motherboard
B)keyboard
C)monitor
D)backing store
Question
The backing store is generally a

A)fast disk
B)disk large enough to accommodate copies of all memory images for all users
C)disk to provide direct access to the memory images
D)all of the mentioned
Question
The___________  consists of all processes whose memory images are in the backing store or in memory and are ready to run.

A)wait queue
B)ready queue
C)cpu
D)secondary storage
Question
The___________    time in a swap out of a running process and swap in of a new process into the memory is very high.

A)context - switch
B)waiting
C)execution
D)all of the mentioned
Question
Swapping___________be done when a process has pending I/O, or has to execute I/O operations only into operating system buffers.

A)must
B)can
C)must never
D)maybe
Question
Swap space is allocated___________

A)as a chunk of disk
B)separate from a file system
C)into a file system
D)all of the mentioned
Question
CPU fetches the instruction from memory according to the value of___________

A)program counter
B)status register
C)instruction register
D)program status word
Question
A memory buffer used to accommodate a speed differential is called___________

A)stack pointer
B)cache
C)accumulator
D)disk buffer
Question
Which one of the following is the address generated by CPU?

A)physical address
B)absolute address
C)logical address
D)none of the mentioned
Question
Run time mapping from virtual to physical address is done by___________

A)memory management unit
B)cpu
C)pci
D)none of the mentioned
Question
Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called?

A)fragmentation
B)paging
C)mapping
D)none of the mentioned
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 15: Memory Management and Swapping Techniques
1
Binding of instructions and data to memory addresses can be done at___________

A)compile time
B)load time
C)execution time
D)all of the mentioned
all of the mentioned
2
If the process can be moved during its execution from one memory segment to another, then binding must be___________

A)delayed until run time
B)preponed to compile time
C)preponed to load time
D)none of the mentioned
delayed until run time
3
What is Dynamic loading?

A)loading multiple routines dynamically
B)loading a routine only when it is called
C)loading multiple routines randomly
D)none of the mentioned
loading a routine only when it is called
4
What is the advantage of dynamic loading?

A)a used routine is used multiple times
B)an unused routine is never loaded
C)cpu utilization increases
D)all of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
5
The idea of overlays is to___________

A)data that are needed at any given time
B)enable a process to be larger than the amount of memory allocated to it
C)keep in memory only those instructions
D)all of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
6
The___________        must design and program the overlay structure.

A)programmer
B)system architect
C)system designer
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
7
The___________        swaps processes in and out of the memory.

A)memory manager
B)cpu
C)cpu manager
D)user
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
8
If binding is done at assembly or load time, then the process___________be moved to different locations after being swapped out and in again.

A)can
B)must
C)can never
D)may
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
9
In a system that does not support swapping___________

A)the compiler normally binds symbolic addresses (variables) to relocatable addresses
B)the compiler normally binds symbolic addresses to physical addresses
C)the loader binds relocatable addresses to physical addresses
D)binding of symbolic addresses to physical addresses normally takes place during execution
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
10
The address loaded into the memory address register of the memory is referred to as___________

A)physical address
B)logical address
C)neither physical nor logical
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
11
The run time mapping from virtual to physical addresses is done by a hardware device called the___________

A)virtual to physical mapper
B)memory management unit
C)memory mapping unit
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
12
The size of a process is limited to the size of___________

A)physical memory
B)external storage
C)secondary storage
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
13
If execution time binding is being used, then a process___________  be swapped to a different memory space.

A)has to be
B)can never
C)must
D)may
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
14
Swapping requires a___________    

A)motherboard
B)keyboard
C)monitor
D)backing store
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
15
The backing store is generally a

A)fast disk
B)disk large enough to accommodate copies of all memory images for all users
C)disk to provide direct access to the memory images
D)all of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
16
The___________  consists of all processes whose memory images are in the backing store or in memory and are ready to run.

A)wait queue
B)ready queue
C)cpu
D)secondary storage
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
17
The___________    time in a swap out of a running process and swap in of a new process into the memory is very high.

A)context - switch
B)waiting
C)execution
D)all of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
18
Swapping___________be done when a process has pending I/O, or has to execute I/O operations only into operating system buffers.

A)must
B)can
C)must never
D)maybe
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
19
Swap space is allocated___________

A)as a chunk of disk
B)separate from a file system
C)into a file system
D)all of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
20
CPU fetches the instruction from memory according to the value of___________

A)program counter
B)status register
C)instruction register
D)program status word
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
21
A memory buffer used to accommodate a speed differential is called___________

A)stack pointer
B)cache
C)accumulator
D)disk buffer
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
22
Which one of the following is the address generated by CPU?

A)physical address
B)absolute address
C)logical address
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
23
Run time mapping from virtual to physical address is done by___________

A)memory management unit
B)cpu
C)pci
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
24
Memory management technique in which system stores and retrieves data from secondary storage for use in main memory is called?

A)fragmentation
B)paging
C)mapping
D)none of the mentioned
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 24 flashcards in this deck.