Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  In a system with 32 bit virtual addresses and... Start Learning for Free
In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because of
  • a)
    the large amount of internal fragmentation
  • b)
    the large amount of external fragmentation
  • c)
    the large memory overhead in maintaining page tables
  • d)
    the large computation overhead in the translation process
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
In a system with 32 bit virtual addresses and 1 KB page size, use of o...
Correct option C
Number of entries in page table =
                    (virtual address space size)/(page size)
                    = (2^32)/(2^10) 
                    = 2^22
View all questions of this test
Most Upvoted Answer
In a system with 32 bit virtual addresses and 1 KB page size, use of o...
Explanation:

Virtual to physical address translation is an important aspect of memory management in computer systems. One way to perform this translation is by using page tables, which map virtual pages to physical pages. In a system with 32 bit virtual addresses and 1 KB page size, one-level page tables are not practical for virtual to physical address translation for the following reasons:

Large memory overhead in maintaining page tables:
- One-level page tables require a single table that contains all the entries for the entire virtual address space.
- In a system with 32 bit virtual addresses and 1 KB page size, the virtual address space is 2^32 bytes, which requires 2^20 entries in the page table.
- Each entry in the page table requires at least 4 bytes (to store the physical page number), so the total size of the page table is at least 4 MB.
- This is a large memory overhead, especially considering that not all entries in the page table will be used.

Fragmentation:
- One-level page tables can suffer from external fragmentation, where there are free physical pages but they are not contiguous.
- This can result in wasted memory, as a virtual page may not be able to be mapped to a contiguous set of physical pages.
- However, this is not the main reason that one-level page tables are not practical in this case.

Computation overhead:
- One-level page tables require a linear search through the page table to find the entry corresponding to a given virtual address.
- In a system with 2^32 byte virtual address space and 1 KB page size, this requires at least 2^20 memory accesses to find the corresponding physical page.
- This is a large computation overhead, especially considering that this operation will be performed frequently.

Therefore, the main reason that one-level page tables are not practical in this case is the large memory overhead in maintaining page tables.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer?
Question Description
In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer?.
Solutions for In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice In a system with 32 bit virtual addresses and 1 KB page size, use of one-level page tables for virtual to physical address translation is not practical because ofa)the large amount of internal fragmentationb)the large amount of external fragmentationc)the large memory overhead in maintaining page tablesd)the large computation overhead in the translation processCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev