All Exams Test series for 1 year @ ₹349 only
Question

If the virtual memory size is 32 MB and a physical memory size is 4MB with a page size of 2KB, Calculate the number of frames available in physical memory

This question was previously asked in
UGC NET 2024 Computer Science and Applications Question Paper (23-Aug-2024) (Shift 1)
The correct answer is

2048

In paging, physical memory is divided into fixed-size frames whose size equals the page size, so the number of frames depends only on the physical memory size; the virtual memory size determines the number of pages, not frames.

Step 1 — Physical memory = 4 MB = \(2^{22}\) bytes; page (frame) size = 2 KB = \(2^{11}\) bytes.

Step 2 — Number of frames = \(\dfrac{2^{22}}{2^{11}} = 2^{11} = 2048\).

Step 3 — For comparison, the number of virtual pages = \(\dfrac{2^{25}}{2^{11}} = 2^{14} = 16384\), which is irrelevant to the frame count.

1024 would correspond to a 4 KB page, 4096 to a 1 KB page, and 3072 is not a power of two and cannot arise from these sizes.

2048 option is correct.

Was this answer helpful?

Similar Questions

  1. In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced page is modified. What is the average access time to service a page fault assuming that the page to be replaced is modified 70% of the time ?

  2. A part of Windows 2000 operating system that is not portable is

  3. Which of the following is incorrect for virtual memory ?

  4. A virtual memory has a page size of 1K words. There are eight pages and four blocks. The associative memory page table contains the following entries :

    PageBlock
    03
    21
    52
    70

    Which of the following list of virtual addresses (in decimal) will not cause any page fault if referenced by the CPU ?

  5. Suppose that the number of instructions executed between page fault is directly proportional to the number of page frames allocated to a program. If the available memory is doubled, the mean interval between page faults is also doubled. Further, consider that a normal instruction takes one microsecond, but if a page fault occurs, it takes 2001 microseconds. If a program takes 60 sec to run, during which time it gets 15,000 page faults, how long would it take to run if twice as much memory were available ?

  6. Given below are the two statements:

    Statement I : The main objective for using virtual memory is to increase the effective capacity of the memory system

    Statement II : The size of virtual memory can be larger than the main memory

    In the light of the above statements, choose the correct answer from the options given below


Important Questions from Virtual Memory

  1. Consider the system of ordinary differential equations 

                                          $\frac{dx}{dt} = Mx$, 

    where $M$ is a $6 \times 6$ skew-symmetric matrix with entries in $\mathbb{R}$. Then, for this system, the origin is a stable critical point for

  2. If two non-continuous free partition of size ‘a’ and ‘b’ are available. A process of size ‘c’ cannot be allocated even when a + b > c, a < c and b < c. This problem is known as _______.

  3. In a byte-addressable architecture, what determines the theoretical maximum size of the virtual address space?

  4. Arrange the process of virtualization in cloud environments.
    A. Hypervisor installed on physical server
    B. Virtual machines created
    C. Resources allocated to Virtual machines
    D. Virtual machines run isolated workloads
    Choose the correct answer from the options given below:
  5. In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced page is modified. What is the average access time to service a page fault assuming that the page to be replaced is modified 70% of the time ?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App