I am preparing for a quiz in my computer science class, but I am not sure how to find the correct answers. The questions come in 4 varieties, such as--
Assume the following system: Auxiliary memory containing 4 gigabytes, Memory block equivalent to 4 kilobytes, Word size equivalent to 4 bytes.
- How many words are in a block, expressed as 2^_? (write the exponent)
- What is the number of bits needed to represent the address of a word in the auxiliary memory of this system?
- What is the number of bits needed to represent the address of a byte in a block of this system?
- If a file contains 32 megabytes, how many blocks are contained in the file, expressed as 2^_?
Any ideas how to find the solutions? The teacher hasn't given us any examples with solutions so I haven't been able to figure out how to do this by working backwards or anything and I haven't found any good resources online.
Any thoughts?