Quiz 12.6

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Section 12.7

  1. In the following picture of how virtual addresses are translated into real addresses in an optimized virtual memory system, identify which component is the TLB.

GIFs/DAT.gif
A
B
C
D

  1. What part of the virtual address translation process is not alleviated by the principle of locality?
actually looking up page numbers in the page table
scheduling page faults
interrupts caused by the processor when it tries to access a page that isn't loaded

  1. What kind of circuit or component is the TLB?
on-chip register
cache memory
decoder
read only memory

  1. What does the TLB contain?
frame numbers and their corresponding disk addresses
page numbers and their corresponding disk addresses
page numbers and their corresponding frame numbers
a full set of all the fields of the page table, only fewer rows

  1. In associative memories, values are looked up by their...
address
content
position
association

  1. In the mask register, what is used to permit only certain bits to be compared, while ignoring others?
0s
1s

  1. When a virtual address is translated by the hardware, what happens first (conceptually)?
the TLB is searched to see if the page number is in it already
the page table in RAM is searched to see if the page number is in it already
a page fault is scheduled by the OS

  1. If the TLB "broke," what would be the effect on the computer?
it would grind to a halt
it might continue but only slower
no one knows; probably you'd get the "blue screen of death"

  1. If we compare the TLB and the real RAM with virtual memory, what would correspond to the swap area on the disk drive?
the TLB
the RAM

  1. What do we call it when the page number we are currently trying to translate is found in the TLB?
a hit
a miss
a page fault
an interrupt

  1. In order for virtual memories to run at acceptable speeds, how often should the desired page number be found in the TLB?
less than 10% of the time
about 50% of the time
about 90% of the time
it doesn't matter, this has nothing to do with it

  1. If associative memories are so great, why not make main memory out of associative memory circuits?
it would be vastly more complex, hence expensive
it would be much much slower
associative memories can't store every kind of data

  1. Given the following picture of the TLB, mask and MBR, find out which word of the TLB matches the MBR. Fictitious word numbers are given to the left.

GIFs/maskedout.gif
1
2
3
4
5
6
7
8