Cache Memory: Module 6 Lectures 25-31, Exercises of Computer Science

The essential concepts of cache memory in a computer system, including the number of address bits used for block offset, cache index, tag comparison, and the number of entries in the cache tag directory. It also discusses how spatial locality of reference is exploited by a cache. Suitable for university students studying computer science or computer engineering.

Typology: Exercises

2012/2013

Uploaded on 04/27/2013

eha
eha 🇮🇳

4.3

(6)

42 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Module 6 (Lectures 25-31) Cache memory
A computer system has a 32KByte direct mapped cache with 16Byte block size. The
processor sends 32bit data addresses to the cache controller for data accesses.
1. The number of address bits used as block offset are
a) 4
b) 5
c) 6
d) 7
2. The number of address bits used as cache index are
a) 9
b) 10
c) 11
d) 12
3. The number of address bits used in tag comparison are
a) 15
b) 16
c) 17
d) 18
4. The number of entries in the cache tag directory are
a) 1023
b) 2000
c) 2047
d) 2048
5. The extent to which spatial locality of reference is exploited by a cache is
determined by the
a) address size
b) block size
c) associativity
d) replacement policy
Docsity.com

Partial preview of the text

Download Cache Memory: Module 6 Lectures 25-31 and more Exercises Computer Science in PDF only on Docsity!

Module 6 (Lectures 25- 31 ) Cache memory A computer system has a 32KByte direct mapped cache with 16Byte block size. The processor sends 32bit data addresses to the cache controller for data accesses.

  1. The number of address bits used as block offset are a) 4 b) 5 c) 6 d) 7
  2. The number of address bits used as cache index are a) 9 b) 10 c) 11 d) 12
  3. The number of address bits used in tag comparison are a) 15 b) 16 c) 17 d) 18
  4. The number of entries in the cache tag directory are a) 1023 b) 2000 c) 2047 d) 2048
  5. The extent to which spatial locality of reference is exploited by a cache is determined by the a) address size b) block size c) associativity d) replacement policy

Docsity.com