Answer: provided in the explanation segment
Explanation:
taking a step by step process for this, we will analyze this problem,
we have that the Word size = 8 bytes
Cache size = 128 KB = 128×2¹⁰ bytes = 2¹⁷ bytes
(a). we are asked to cal for fully associative mapping with line size of 4 words.
(b). Direct mapping with the line size of 8 words:
(c). 2-way set associated mapping with the line size of 1 word:
(d). 8-way set associated mapping with the line size of 2 words:
8-way set associated mapping with the line size of 2 = 2*8 = 16 bytes
cheers i hope this helps!!!!