Skip to content
Early access — you're among the first to try PYQLabs. Share feedback

Virtual Memory

GATE CSE & IT · 40 questions across 29 years (1989-2025) · 73% recurrence rate

Recurrence sparkline

19892025
198920072025

Difficulty mix

easy 53%
med 43%
hard 5%

Question types

MCQ30
NAT7
OTHER2
MTF1

All 40 questions on Virtual Memory

2025 PYQ

In optimal page replacement algorithm, information about all future page references is available to the operating system (OS). A modification of the optimal page replacement algorithm is as follows: The OS correctly pred...

Med
2023 PYQ

Consider the following two-dimensional array D in the C programming language, which is stored in row-major order: int D[128] [128]; Demand paging is used for allocating memory and each physical page frame holds 512 eleme...

Med
2022 PYQ

Consider a demand paging system with four page frames (initially empty) and LRU page replacement policy. For the following page reference string 7, 2, 7, 3, 2, 5, 3, 4, 6, 7, 7, 1, 5, 6, 1 the page fault rate, defined as...

Med
2020 PYQ

Consider a paging system that uses a 1-level page table residing in main memory and a TLB for address translation. Each main memory access takes 100 ns and TLB lookup takes 20 ns. Each page transfer to/from the disk take...

Hard
2018 PYQ

Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is $$M$$ units if the corresponding memory page is available in memory, and $$D$$ units if t...

Easy
2016 PYQ

In which one of the following page replacement algorithms it is possible for the page fault rate to increase even when the number of allocated frames increases?

Easy
2015 PYQ

Consider a main memory with five page frames and the following sequence of page references: 3, 8, 2, 3, 9, 1, 6, 3, 8, 9, 3, 6, 2, 1, 3. Which one of the following is true with respect to page replacement policies First...

Med
2014 PYQ

A computer has twenty physical page frames which contain pages numbered $$101$$ through $$120.$$ Now a program accesses the pages numbered $$1, 2, …, 100$$ in that order, and repeats the access sequence THRICE . Which on...

Hard
2014 PYQ

A system uses $$3$$ page frames for storing process pages in main memory. It uses the Least Recently Used $$(LRU)$$ page replacement policy. Assume that all the page frames are initially empty. What is the total number o...

Easy
2014 PYQ

Assume that there are $$3$$ page frames which are initially empty. If the page reference string is $$1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6,$$ the number of page faults using the optimal replacement policy is______________.

Med
2012 PYQ

Consider the virtual page reference string $$$1,2,3,2,4,1,3,2,4,1$$$ On a demand paged virtual memory system running on a computer system that has main memory size of $$3$$ page frames which are initially empty. Let $$LR...

Med
2010 PYQ

A system uses FIFO policy for page replacement. It has $$4$$ pages frames with no pages loaded to begin with. The system first accesses $$100$$ distinct pages in some order and then accesses the same $$100$$ pages but no...

Med
2009 PYQ

In which one of the following page replacement policies, Belady’s anomaly may occur?

Easy
2009 PYQ

Consider the virtual page reference string $$$1,2,3,2,4,1,3,2,4,1$$$ On a demand paged virtual memory system running on a computer system that has main memory size of $$3$$ page frames which are initially empty. Let $$LR...

Med
2007 PYQ

A process has been allocated $$3$$ page frames. Assume that none of the pages of the process are available in the memory initially. The process makes the following sequence of page references (reference string): $$$1, 2,...

Easy
2007 PYQ

A process has been allocated $$3$$ page frames. Assume that none of the pages of the process are available in the memory initially. The process makes the following sequence of page references (reference string): $$$1, 2,...

Med
2007 PYQ

A virtual memory system uses First In First Out (FIFO) page replacement policy and allocates a fixed number of frames to a process. Consider the following statements: $$P:$$ Increasing the number of page frames allocated...

Med
2006 PYQ

A Computer system supports $$32$$-bit virtual addresses as well as $$32$$-bit physical addresses. Since the virtual address space is of the same size as the physical address space, the operating system designers decide t...

Med
2005 PYQ

Increasing the $$RAM$$ of a computer typically improves performance because

Easy
2004 PYQ

The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by.

Med
2003 PYQ

Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?

Med
2002 PYQ

The optimal page replacement algorithm will select the page that.

Easy
2001 PYQ

Which of the following statements is false?

Easy
2001 PYQ

Consider a virtual memory system with $$FIFO$$ page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will

Easy
2000 PYQ

Suppose the time to service a page fault is on the average $$10$$ milliseconds, while a memory access takes $$1$$ microsecond. Then a $$99.99$$% hit ratio results in average memory access time of.

Easy
1999 PYQ

Which of the following is/are advantage of virtual memory?

Easy
1998 PYQ

If an instruction takes $${\rm I}$$ microseconds and a page fault takes an additional $$j$$ microseconds, the effective instruction time if on the average a page fault occurs every $$k$$ instruction is:

Easy
1997 PYQ

Locality of reference implies that the page reference being made by a process

Easy
1997 PYQ

Dirty bit for a page in a page table

Easy
1995 PYQ

In a virtual memory system the address space specified by the address lines of the $$CPU$$ must be __________ than the physical memory size and _______ than the secondary storage size.

Easy
1995 PYQ

The address sequence generated by tracing a particular program executing in a pure demand paging system with $$100$$ records per page with $$1$$ free main memory frame is recorded as follows. What is the number of page f...

Easy
1994 PYQ

A memory page containing a heavily used variable that was initialized very early and is in constant use is removed when

Easy
1993 PYQ

The following page addresses, in the given sequence, were generated by a program: 1 2 3 4 1 3 5 2 1 5 4 3 2 3 This program is run on a demand paged virtual memory system, with main memory size equal to $$4$$ pages. Indic...

Med
1992 PYQ

Let the page reference and the working set window be c c d b c e c e a d and 4, respectively. The initial working set at time $$t = 0$$ contains the pages {a, d, e}, where a was referenced at time $$t = 0, d$$ was refere...

Med
1992 PYQ

Which page replacement policy sometimes leads to more page faults when size of memory is increased?

Easy
1991 PYQ

The total size of address space in a virtual memory systems is limited by

Easy
1991 PYQ

State whether the following statement TRUE or FALSE. The amount of virtual memory available is limited by the availability of secondary storage.

Easy
1991 PYQ

State whether the following statement TRUE or FALSE. The $$LRU$$ page-replacement policy may cause thrashing for some type of programs.

Easy
1990 PYQ

In a two -level virtual memory, the memory access time for main memory, $${t_M} = {10^{ - 8}}\sec $$ and the memory access time for the secondary memory, tag $$ = {10^{ - 3}}.$$ What must be the hit ratio, $$H$$ such tha...

Med
1989 PYQ

Match the pairs in the following question. List - $${\rm I}$$ $$(A)$$$$\,\,\,\,$$ Virtual Memory $$(B)$$$$\,\,\,\,$$ Shared memory $$(C)$$$$\,\,\,\,$$ Look-ahead buffer $$(D)$$$$\,\,\,\,$$ Look-aside buffer List - $${\rm...

Med