Hi !
**in advance maybe this problem is more like math manipulation over computer's memory terms**
I'm struggling how should I imagine the problem to crack it down ..
the problem is that's given Memory size for example 128KB and block size is 256B so how many blocks on the Memory?
well, what I'm struggling is that I imagine *my logical view of memory* the memory like this :







so on the width I don't know what its distance assume it's x, on the height I don't know what's the distance assume it's y so we must get x*y=128KB
now I don't know how to continue to calculate how many block of 256B I have on my memory .. any help?
maybe I imagine it wrong which make the problem hard to solve?! it would be much appreciated if anyone tells me please how could I imagine the memory in that case for calculating the number of blocks to have ..
thanks alot
**in advance maybe this problem is more like math manipulation over computer's memory terms**
I'm struggling how should I imagine the problem to crack it down ..
the problem is that's given Memory size for example 128KB and block size is 256B so how many blocks on the Memory?
well, what I'm struggling is that I imagine *my logical view of memory* the memory like this :







so on the width I don't know what its distance assume it's x, on the height I don't know what's the distance assume it's y so we must get x*y=128KB
now I don't know how to continue to calculate how many block of 256B I have on my memory .. any help?
maybe I imagine it wrong which make the problem hard to solve?! it would be much appreciated if anyone tells me please how could I imagine the memory in that case for calculating the number of blocks to have ..
thanks alot
Last edited: