Computer Science, asked by syedarafiabatool72, 4 months ago

A computer has an 8G Byte memory with 64-bit word sizes. Each block of memory stores 16 words. If every block in memory has 4 words what will be the total number of blocks in the memory?

Answers

Answered by amikkr
0

The total number of blocks in the memory is 16,384.

Given:

8G Byte memory with 64-bit word sizes. Each block of memory stores 16 words.

every block in memory has 4 words 

To find:

Total number of blocks in the memory

Solution:

To find the total number of blocks in the memory, we need to first determine the total number of words in the memory.

Since the memory has 8GB and each word is 64 bits in size, we can calculate the total number of words as follows:

8GB * (1024MB/GB) * (1024KB/MB) * (1024B/KB) * (8bits/B)

= 67,108,864 bits

Then, we can divide the total number of bits by the size of each word in bits to find the total number of words:

67,108,864 bits / 64 bits/word =

1,048,576 words

Since each block stores, 16 words and every block in memory has 4 words, we can calculate the total number of blocks in the memory as follows:

1,048,576 words / (4 words/block * 16 words/block) =

16,384 blocks

Therefore, the total number of blocks in the memory is 16,384.

#SPJ1

Similar questions