Home CS439

CS439: Principles of Computer Systems

Discussion Section 5 Problem Set

Due in Section on Friday, October 10, 2025

The problem set must be completed before section and brought to section. To ensure that your problem set is turned in correctly and that you receive credit for discussion section, you must follow these guidelines exactly.
  1. What is a virtual address? What is a physical address? How do they relate to each other?

  2. What are overlays? How and why were they created?

  3. Assume you have a virtual memory system that uses paging. Is the system vulnerable to internal and/or external fragmentation? Explain.

  4. In class, we discussed that paging may increase internal fragmentation. What is internal fragmentation? What steps could you take to reduce it?

  5. Consider a paging system with 256 pages and 65536 bytes of physical memory. The page size of the system is 512 bytes.

    1. How many bits represent the page number?
    2. How many bits are in the complete virtual address?
    3. How many bits are in a physical address?
    4. What size are the page frames?
    5. How many physical frames exist?