Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8291443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:07:57+00:00 2026-06-08T13:07:57+00:00

Consider a virtual memory system with 32-bit virtual addresses and 1KB pages. Each page

  • 0

Consider a virtual memory system with 32-bit virtual addresses and 1KB pages. Each page table entry requires 32-bits. It is desired to limit the page table size to one page.

  1. How many levels of page tables are required?
  2. Tables at two of the levels have 256 entries;tables at one level
    have 64 entries.(8+8+6=22). If the top level page table has 2^6
    entries then how many pages are possible?
  3. If middle level page table has 2^6 entries then how many pages are
    possible ?
  4. If bottom level page table has 2^6 entries then how many pages are
    possible ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:07:58+00:00Added an answer on June 8, 2026 at 1:07 pm

    There are 2^32/2^10 = 2^22 pages on such a system. This means that only 22-bits are needed to address a page. For simplicity and practicality, most modern systems would align that to 32-bits and use the extra bits as flags, so at 32-bit page table entries there are 16 MB in page table addresses. A single page can hold 256 entries, necessitating a total number of pages to 2^22 / 256 = 16384 for the deepest level. The next level would then have 16384 / 256 = 64; The highest level would fit on one page, since 64 < 256, and therefore the answer is 3.

    If you disgregard 32-bit alignment (which would be untenable in real world scenarios), then the answer is still three, since at 22-bits there are a maximum of 372 entries per page and therefore, 2^22/ 372 = 11275 for the first and 11275 / 372 = 30 for the second, and 1 for the third.

    Alternatively you could interpret it from top to bottom, so instead of starting from the deepest level you start from the top level. In this particular case, starting from the top will lead to the deepest level having the most unused entries per page. This is obviously not ideal and it is better to have unused page table entries at higher levels.

    With either of these interpretations, however, the answer is unequivocally 3.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider a virtual memory system with a 38-bit virtual byte address, 1KB pages and
Consider the following C++ code: class A { public: virtual void f()=0; }; int
Consider the following code: class A { public: virtual void f() throw ( int
Please consider the following simple use case: public class Foo { public virtual int
Consider the following class structure: class Filter { virtual void filter() = 0; virtual
Consider the case where a virtual function in base class is not overriden in
Consider the following template class class MyClassInterface { public: virtual double foo(double) = 0;
Consider the following class hierarchy: base class Object with a virtual method foo() an
Consider the example below: #include <iostream> using namespace std; class base { public: virtual
Consider: struct device{ virtual void switchon() = 0 {} }; int main() { }

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.