67.3k views
3 votes
If each sandbox has size 16 megabytes, how many applets can be sandboxed on a machine with a 32-bit address space

1 Answer

4 votes

Given that,

Size of each sandbox = 16 MB

Address space = 32- bit

We need to calculate the total size of address space

Using formula of total size


\text{total size of address space}=2^(32)


\text{total size of address space}=4*10^9


\text{total size of address space}=4\ Gigabytes

We need to calculate the total of applets

Using formula of total applets


\text{total applets}=\frac{\text{total size of address space}}{\text{size of one applet}}

Put the value into the formula


\text{total applets}=(4\ GB)/(16\ MB)


\text{total applets}=(4*1024\ MB)/(16\ MB)


\text{total applets}=256

Hence, The total of applets are 256.

User Dorin Botan
by
5.6k points