Exam 1 Study Guide - Fall '05 - ECE398SSL Computer Systems...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE398SSL: Computer Systems Engineering Fall 2005 Study Guide Sample Questions for the Second Midterm This guide contains example questions to help you study for the coming midterm. As was the case with the previous guide, most of these questions are short answer, whereas the test will include a larger portion of questions that require some code or analysis of code. The questions here are also not as carefully designed for clarity, in part so as to encourage you to think about different angles. On tests, we try to make our questions more precise. You may bring two 8.5x11” sheets (both sides) of handwritten notes to the test. No other materials are allowed. No calculators or other electronic devices are allowed. 1. Explain how a virtual address is translated to a physical address using a two-level page table hierarchy. Count the number of memory accesses involved. 2. How does use of virtual memory prevent a malicious program from contaminating or destroying another program’s memory? 3. Give an example of how memory fragmentation can negatively impact a system without virtual memory. 4. How does the Linux kernel track the number of uses of a Fle structure, memory map, or other structure shared between multiple tasks? Why does it do so? 5. Explain the advantages and disadvantages of using a 4-MB page size rather than a 4-kB page size to support paging. 6. DeFne external and internal memory fragmentation, and give an example of each. 7. Explain the advantages of abstracting a memory map as a set of contiguous regions rather than relying directly on the page tables for descriptive information. Hint: don’t forget one the original goals of using virtual memory, in addition to any other advantages.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Exam 1 Study Guide - Fall '05 - ECE398SSL Computer Systems...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online