Memory Management: GATE CS Previous Year Questions

Memory Management · Operating System

67 questions · asked in 27 of 27 years (2000–2026)

MCQ 43 · MSQ 4 · NAT 201-mark 36 · 2-mark 31

2000Questions per year2026

Questions 51–55 of 67

Q51GATE 20071 markMCQ−0.33 if wrong
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, 1, 3, 7, 4, 5, 6, 3, 1.

If optimal page replacement policy is used, how many page faults occur for the above reference string?

Q52GATE 20071 markMCQ−0.33 if wrong
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 to a process sometimes increases the page fault rate.
Q: Some programs do not exhibit locality of reference.

Which one of the following is TRUE?

Q53GATE 20061 markMCQ−0.33 if wrong
For each of the four processes P1,P2,P3,P_1, P_2, P_3, and P4P_4. The total size in kilobytes (KB) and the number of segments are given below.
ProcessTotal size (in KB)Number of segmentsP11954P22545P3453P43648\begin{array}{|c|c|c|}\hline \textbf{Process} & \textbf{Total size (in KB)} & \textbf{Number of segments} \\\hline \text{$P_1$} & \text{195}& \text{4}\\\hline \text{$P_2$} & \text{254} & \text{5}\\\hline \text{$P_3$} & \text{45}& \text{3} \\\hline \text{$P_4$} & \text{364}& \text{8} \\\hline \end{array}
The page size is 1 KB. The size of an entry in the page table is 4 bytes. The size of an entry in the segment table is 8 bytes. The maximum size of a segment is 256 KB. The paging method for memory management uses two-level paging, and its storage overhead is P. The storage overhead for the segmentation method is S. The storage overhead for the segmentation and paging method is T. What is the relation among the overheads for the different methods of memory management in the concurrent execution of the above four processes?

Q54GATE 20061 markMCQ−0.33 if wrong
In the working-set strategy, which of the following is done by the operating system to prevent thrashing?

I. It initiates another process if there are enough extra frames.
II. It selects a process to suspend if the sum of the sizes of the working-sets exceeds the total number of available frames.

Q55GATE 20061 markMCQ−0.33 if wrong
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 to get rid of the virtual entirely. Which one of the following is true?

Keep practising

Topics in Operating System

All CS topics ›