Number of lines in cache = 32 kB/28
=> ( 25 * 210 ) / 28 = 27
No.of elements in one block= 128/ 8 = 27 / 23 = 24.
when 1st element is referred, we bring block number 0 of main memory to line number 0.we not only bring 1st element but also 24 elements(as we bring the whole block)... so when 1st element is referred, gives a miss.
next 24-1 elements gives hit.
miss rate 1/24.
no.of misses= (1/24) * number of references.
number of references = 512 * 512 (as each element is accessed once)
(1/24) * 218 = 214 misses.. option B .