Practice mode Operating Systems

A system uses 32-bit logical addresses and a page size of 4 KB. How many bits form the page number?

Correct answer B. 20

Explanation

A 4 KB page holds 2^12 bytes, so the low 12 bits of the address give the offset within the page. The remaining 32 - 12 = 20 high-order bits form the page number, allowing 2^20 (about one million) pages. The answer 12 confuses the offset field with the page number, a common mistake when splitting logical addresses.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.