A CPU has 32-bit addresses and uses paging with a page size of 4 KB. How many bits are used for the offset?
Q1. A CPU has 32-bit addresses and uses paging with a page size of 4 KB. How many bits are used for the offset?
Answer: 12
Explanation: Page size = 4 KB = 2^12 bytes, so 12 bits are used for the offset.