Docsity

CS4803DGC Spring 2009 Exam for Computer Science Students at Georgia Tech - Prof. Hyesoon K, Exams of Computer Science

Toggle sidebar
bg1
School of Computer Science
Georgia Institute of Technology
CS4803DGC, Spring 2009
Prof. Hyesoon Kim
Sample Exam, Feb 5, 2009
Name :
GTID :
Problem 1 (15 points):
Problem 2 (10 points):
Problem 3 (10 points):
Problem 4 (10 points):
Problem 5 (10 points):
Problem 6 (10 points):
Total (65 points):
Note: Please be sure that your answers to all questions (and all supporting work that is required) are
contained in the space provided.
Note: Please be sure your name is recorded on each sheet of the exam.
GOOD LUCK!
pf3
pf4
pf5

Partial preview of the text

Download CS4803DGC Spring 2009 Exam for Computer Science Students at Georgia Tech - Prof. Hyesoon K and more Exams Computer Science in PDF only on Docsity!

School of Computer Science Georgia Institute of Technology

CS4803DGC, Spring 2009 Prof. Hyesoon Kim

Sample Exam, Feb 5, 2009

Name :

GTID :

Problem 1 (15 points):

Problem 2 (10 points):

Problem 3 (10 points):

Problem 4 (10 points):

Problem 5 (10 points):

Problem 6 (10 points):

Total (65 points):

Note: Please be sure that your answers to all questions (and all supporting work that is required) are contained in the space provided.

Note: Please be sure your name is recorded on each sheet of the exam.

GOOD LUCK!

Problem 1 (15 points):

A byte-addressable computer has a small data cache capable of holding eight 32-bit words. Each cache block consists of one 32-bit word. When a given program is executed, the processor reads data from the following sequence of hex addresses:

200, 2004, 208, 20C, 2F4, 200, 2004, 218, 21C, 24C, 2F4.

This pattern is repeated two times.

Part a. Show the contents of the cache at the end of each pass throughout this loop if a direct-mapped cache is used. Compute the hit rate for this example. Assume that the cache is initially empty.

Part b. Repeat part (a) for a fully-associative cache that uses the perfect LRU-replacement algorithm.

Part c. Repeat part (a) for a four-way set-associative cache that uses the perfect LRU-replacement algorithm.

Problem 3 (10 points):

Part a (5 pts) List at lest 2 hardware structures that must be replicated in a data path to support SMT architectures.

Part b. (5 pts) Discuss at least two major differences between designing game console architectures and desktop processors.

Problem 4 (10 points):

A computer has a 4KB write back cache. Each cache block is 4B, the cache is 2-way set associative and uses the true LRU replacement policy. Assume 16-bit address space and byte-addressable memory. How big (in bits) is the tag store? You do not need to worry about space for cache coherence state.

Problem 6 (2*5 = 10 points)

For each of the following statements, indicate whether it is true or false. (Please assume design choices that we discussed in the class. )

  1. Non-biding prefetch request can cause pipeline stalls. (True, False)
  2. Loop unrolling generally increases the number of executed instruction at run-time. (True, False)
  3. Memory dependencies are known at static time. (True, False)
  4. Delayed slot is a property of microarchitecture. (True, False)
  5. Caches are generally useful in stream applications (True, False)