Thursday, 14 May 2020

Quiz on Textbook Sections 5.1 to 5.3

Question 1: Match the following descriptions to the defined terms.

Solution:


The principle stating that if a data location is referenced then it will tend to be referenced again soon.
temporal locality

The locality principle stating that if a data location is referenced, data locations with nearby addresses will tend to be referenced soon.
spatial locality

Question 3: For a given level of a memory hierarchy, miss rate + hit rate = 1.

Solution:


True

Question 5: Match the following descriptions to the terms defined.

Solution:

One of thousands of concentric circles that makes up the surface of a magnetic disk.

track

One of the segments that make up a track on a magnetic disk.
sector

All of the tracks under the heads at a given point on all surfaces of a disk drive.
cylinder

The process of positioning a read/write head over the proper track on a disk.

seek

The time required for the desired sector of a disk to rotate under the read/write head.
rotational latency

Question 6: In a direct-mapped cache structure, each memory location is mapped to exactly one location in the cache.

Solution:


True

Question 10:  If a miss occurs in a direct-mapped write-back cache and the block to be replaced is not dirty, the block must still be written back to memory.

Solution:


False

No comments:

Post a Comment