Answer :
Answer:
- Four 32-bit integers can be stored in a 16-byte cache block, since 4 x 32 bits = 128 bits = 16 bytes.
- References to the elements of the A and B arrays exhibit temporal locality, since they are accessed multiple times within the inner loop of the code.
- References to the elements of the A array exhibit spatial locality, since they are accessed sequentially within the inner loop of the code, with each access being in the same row but in a different column.