CPSC 3300 - Spring 2015 Homework 7 Due at start of class on Friday, April 17 1. Consider an array declared in C as "double a[100];". How many 64-byte cache lines are required to hold the complete array? 2. Consider the byte address 0x002468ac. What is the value modulo 64? (That is, what is the offset of this address within a 64-byte block?) 3. Consider the byte address 0x002468ac. What is the value shifted to the right by 6 bits? (That is, what is the block address corresponding to this byte address when using 64-byte blocks?) 4. Consider matrix transpose written in C. Which array is exhibiting spatial locality: array "a", "b", or both? (Note that NROWS and NCOLS could each be relatively large compared to the size of the cache.) for(i=0;i