ITPEC FE Morning April 2020 Question 19

Source exam: ITPEC FE Morning April 2020Topic: Computer Systems & Hardware

ITPEC FE Morning April 2020 — Question 19 of 80

Virtual Memory Paging — calculate the number of pages from address space and page size.

Given a 32-bit virtual address space mapped to 4 KB pages:

  • Total address space: 2^32 bytes
  • Page size: 4 KB = 4 × 1024 = 2^12 bytes
  • Number of pages: 2^32 ÷ 2^12 = 2^20

Why not others:
- (a) 2^4 — only 16 pages; far too few for a 32-bit space

- (b) 2^10 — would require a page size of 2^22 (4 MB), not 4 KB

- (d) 2^32 — total number of addressable bytes, not pages

Key rule: Number of pages = 2^(address bits) ÷ page size. With powers of two, subtract exponents: 32 - 12 = 20.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.