HamiIT
Sign inGet started
Home
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBsc CSITSemester 4Operating SystemUnit 4: Memory Management (8 Hrs.)
Chapter Study

Bsc CSIT Semester 4 – Operating System – Unit 4: Memory Management (8 Hrs.)

Comprehensive questions and detailed answers for Unit 4: Memory Management (8 Hrs.). Perfect for exam preparation and concept clarity.

20
Questions
130
Marks
Back to All Chapters
1
  1. For the processes listed in the following table, draw a Gantt chart illustrating their execution using:

    • a) First-Come-First-Serve (FCFS)
    • b) Shortest-Job-First (SJF)
    • c) Shortest-Remaining-Time-Next (SRTN)
    • d) Round-Robin (quantum = 2)
    • e) Round-Robin (quantum = 1)
    ProcessesArrival TimeCPU Time
    A0.0003
    B1.0016
    C4.0014
    D6.0022
    • What is the turnaround time for each algorithm?

    OR

    What do you mean by disk management? What is the major difference between error handling and formatting?

HardNumerical10 marks2070(TU Final)
2
  1. How many page faults occur for each of the following page replacement algorithms for the reference string
    0 1 7 2 3 2 7 1 0 3 with four page frames and eight pages?
    Suppose all frames are initially empty.
    • a) Optimal replacement
    • b) FIFO replacement
    • c) LRU replacement
    • d) Clock replacement
HardNumerical10 marks2070(TU Final)
3

What are Segmentation and Paging? Why are they sometimes combined into one scheme?

MediumTHEORY5 marks2070(TU Final)
4

What is page fault? Consider the following page reference string; 3, 3, 5, 4, 7, 1, 5, 5, 1, 4, 3, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms assuming 4 page frames?
a) LRU page replacement
b) FIFO page replacement
c) Optimal page replacement
d) Clock replacement

HardNumerical10 marks2071(TU Final)
5

Differentiate between internal and external fragmentation with example.

MediumTHEORY5 marks2071(TU Final)
6

What are the segmentation and paging? Why they are combined into one scheme?

MediumTHEORY5 marks2071(TU Final)
7

Write short notes: (Any two)
a) Best Fit vs. Worst Fit
b) Swapping
c) Semaphores

MediumTHEORY5 marks2071(TU Final)
8

Given a references to the following pages by program,
1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.
How many page faults will occur if the program has three page frames available to it and uses LRU replacement?

MediumNumerical5 marks2072(TU Final)
9

What is Fragmentation? Differentiate between internal and external fragmentation.

MediumTHEORY5 marks2072(TU Final)
10

How Second Chance page replacement algorithm differs from FIFO page replacement policy? Discuss the concept of Belady’s anomaly with suitable example.

HardTHEORY10 marks2076(TU Final)
11

Why program relocation and protection is important? Explain the technique of achieving program relocation and protection.

MediumTHEORY5 marks2076(TU Final)
12

Why OPR is best but not pratically fessible page replacement algorithm? Calculate the number of page faults for OPR, LRU and Clock page replacement algorithm for the reference string: 1, 3, 4, 2, 3, 5, 4, 3, 1, 2, 4, 6, 3, 2, 1, 4, 2. Assume the memory size is 3.

HardNumerical10 marks2078(TU Final)
13

Differentiate between internal and external fragmentation? Suppose that we have memory of 100 KB with 5 partitions of size 150 KB, 200 KB, 250 KB, 100 KB, and 300 KB. Where the processes A and B of size 175 KB and 125 KB will be loaded, if we used Best-Fit, and Worst-Fit Strategy?

MediumNumerical5 marks2078(TU Final)
14

Why do we need virtual memory? Describe the sructure of a page table.

MediumTHEORY5 marks2080(TU Final)
15

Find the number of page fault using FIFO and LRU for the reference string 4,7,6,1,7,6,1,2,7,24, 7, 6, 1, 7, 6, 1, 2, 7, 24,7,6,1,7,6,1,2,7,2 with frame size 3.

MediumNumerical5 marks2080(TU Final)
16

Define working set. How does clock replacement algorithm works?

MediumTHEORY5 marks2080(TU Final)
17

Explain the translation of logical address into physical address using segment table with necessary diagram. List advantages and disadvantages of segmentation.

HardTHEORY10 marks2081(TU Final)
18

Consider a swapping system in which memory consists of the following hole sizes in memory order:

15 MB, 2 MB, 10 MB, 6 MB, 8 MB and 20 MB.

Which hole is taken for successive segment requests of:

(a) 10 MB

(b) 10 MB

For first fit, next fit and best fit.

MediumNumerical5 marks2081(TU Final)
19

Write short notes on:

a. Virtual Memory

b. Race Condition

MediumTHEORY5 marks2081(TU Final)
20

Consider the page references 7,0,1,2,0,3,0,4,2,3,0,3,2, Find the number of page fault using OPR and FIFO, with 4 page frame.

MediumNumerical5 marks2079(TU Final)
Showing 20 questions (more available)

Exam Years

Past question papers

2081
TU Final•3 questions
2080
TU Final•3 questions
2080
TU Final•4 questions
2079
TU Final•2 questions
2078
TU Final•2 questions
2076
TU Final•2 questions
2072
TU Final•2 questions
2071
TU Final•4 questions
2070
TU Final•3 questions

Questions in Unit 4: Memory Management (8 Hrs.)

1) For the processes listed in the following table, draw a Gantt chart illustrating their execution using: - a) First-Come-First-Serve (FCFS) - b) Shortest-Job-First (SJF) - c) Shortest-Remai

Marks: 10

Year: 2070 Final TU

Given processes (arrival, burst): A(0.000, 3), B(1.001, 6), C(4.001, 4), D(6.002, 2) 1) FCFS (non‑preemptive) - Order: A → B → C → D - Completion times: A=3.000, B=9.000, C=13.000, D=15.000 - TAT

2) How many page faults occur for each of the following page replacement algorithms for the reference string 0 1 7 2 3 2 7 1 0 3 with four page frames and eight pages? Suppose all frames are

Marks: 10

Year: 2070 Final TU

Page Replacement Algorithms and Page Faults Given: - Reference string: 0 1 7 2 3 2 7 1 0 3 - Number of page frames: 4 - Total pages: 8 - All frames are initially empty. --- 1. a) Optimal Page

What are Segmentation and Paging? Why are they sometimes combined into one scheme?

Marks: 5

Year: 2070 Final TU

Segmentation and Paging in Operating Systems 1. Segmentation - Definition: Memory management scheme that divides logical memory into variable-sized segments based on the program’s logical divisions (

What is page fault? Consider the following page reference string; 3, 3, 5, 4, 7, 1, 5, 5, 1, 4, 3, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms

Marks: 10

Year: 2071 Final TU

Page Faults and Page Replacement Algorithms 1. Definition of Page Fault A page fault occurs when a process tries to access a page that is not currently in main memory. - The operating system then l

Differentiate between internal and external fragmentation with example.

Marks: 5

Year: 2071 Final TU

Internal vs External Fragmentation | Feature | Internal Fragmentation | External Fragmentation | |------------

What are the segmentation and paging? Why they are combined into one scheme?

Marks: 5

Year: 2071 Final TU

Segmentation and Paging in Memory Management 1. Segmentation - Definition: Segmentation is a memory management scheme where a program is divided into logical units called segments. - Key Points:

Write short notes: (Any two)\ a) Best Fit vs. Worst Fit\ b) Swapping\ c) Semaphores

Marks: 5

Year: 2071 Final TU

Short Notes (Choose Any Two) a) Best Fit vs Worst Fit (Memory Allocation) | Feature | Best Fit | Worst Fit | |-----

Given a references to the following pages by program,\ 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.\ How many page faults will occur if the program has three page frames available to it

Marks: 5

Year: 2072 Final TU

Problem: LRU Page Replacement Given: - Page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 - Number of page frames = 3 - Replacement policy = LRU (Least Recently Us

What is Fragmentation? Differentiate between internal and external fragmentation.

Marks: 5

Year: 2072 Final TU

Fragmentation in Operating Systems Definition: - Fragmentation occurs when memory is broken into small pieces over time due to allocation and deallocation. - It causes wasted memory, which cannot be u

How Second Chance page replacement algorithm differs from FIFO page replacement policy? Discuss the concept of Belady’s anomaly with suitable example.

Marks: 10

Year: 2076 Final TU

Second Chance Page Replacement vs FIFO FIFO (First-In-First-Out) Page Replacement: - The page that has been in memory for the longest time is removed first. - It does not consider whether the page was

Why program relocation and protection is important? Explain the technique of achieving program relocation and protection.

Marks: 5

Year: 2076 Final TU

Why Program Relocation and Protection are Important ✅ Program Relocation Program relocation is required because a program cannot always be loaded into the same memory location every time. It ensure

Why OPR is best but not pratically fessible page replacement algorithm? Calculate the number of page faults for OPR, LRU and Clock page replacement algorithm for the reference string: 1, 3, 4, 2, 3, 5

Marks: 10

Year: 2078 Final TU

Optimal Page Replacement (OPR) and Practical Feasibility 1. Why OPR is the Best but Not Practically Feasible - Optimal Page Replacement (OPR): - Replaces the page that will not be used for the lon

Differentiate between internal and external fragmentation? Suppose that we have memory of 100 KB with 5 partitions of size 150 KB, 200 KB, 250 KB, 100 KB, and 300 KB. Where the processes A and B of si

Marks: 5

Year: 2078 Final TU

Internal vs External Fragmentation | Aspect | Internal Fragmentation | External Fragmentation | |-----------------------------|-----

Why do we need virtual memory? Describe the sructure of a page table.

Marks: 5

Year: 2080 Final TU

Virtual Memory 1. Why Do We Need Virtual Memory? Virtual memory is a technique that allows a process to use more memory than physically available by temporarily storing data on disk. Benefits: 1. P

Find the number of page fault using FIFO and LRU for the reference string \(4, 7, 6, 1, 7, 6, 1, 2, 7, 2\) with frame size 3.

Marks: 5

Year: 2080 Final TU

Page Replacement Example Reference String: 4, 7, 6, 1, 7, 6, 1, 2, 7, 2 Number of Frames: 3 --- 1. FIFO (First-In-First-Out) Stepwise Simulation: | Time | Pages in Frame (FIFO Order) | Page Fault?

Define working set. How does clock replacement algorithm works?

Marks: 5

Year: 2080 Final TU

Working Set and Clock Page Replacement Algorithm 1. Working Set - Definition: The working set of a process is the set of pages that a process has actively used in the recent past (typically last

Explain the translation of logical address into physical address using segment table with necessary diagram. List advantages and disadvantages of segmentation.

Marks: 10

Year: 2081 Final TU

Translation of Logical Address to Physical Address Using Segment Table In segmentation, the logical address is divided into two parts: - Segment Number (s) - Offset (d) within that segment Each proces

Consider a swapping system in which memory consists of the following hole sizes in memory order: 15 MB, 2 MB, 10 MB, 6 MB, 8 MB and 20 MB. Which hole is taken for successive segment requests of: (a)

Marks: 5

Year: 2081 Final TU

Swapping Allocation: First Fit, Next Fit and Best Fit Given Holes in order: 15 MB, 2 MB, 10 MB, 6 MB, 8 MB, 20 MB Requests: (a) 10 MB (b) 10 MB --- 1. First Fit Allocation First Fit selects

Write short notes on: a. Virtual Memory b. Race Condition

Marks: 5

Year: 2081 Final TU

Short Notes a) Virtual Memory Definition: Virtual memory is a memory management technique where the logical memory (used by programs) is separated from physical memory (RAM). It allows execution o

Consider the page references 7,0,1,2,0,3,0,4,2,3,0,3,2, Find the number of page fault using OPR and FIFO, with 4 page frame.

Marks: 5

Year: 2079 Final TU

Given Page Reference String 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2 Number of page frames = 4 --- 1. FIFO (First-In-First-Out) Page Replacement Algorithm: Replace the oldest page in memory when a new

About Unit 4: Memory Management (8 Hrs.) Questions

This page contains comprehensive questions from the Unit 4: Memory Management (8 Hrs.) chapter of Operating System, part of the Bsc CSIT Semester 4 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Operating System Chapters

Unit 4: Memory Management (8 Hrs.) chapter questions with answers for Operating System (Bsc CSIT Semester 4). Prepare for TU exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact

Contact

  • 📧hamiit.dev@gmail.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

© 2026 Hami IT. All rights reserved.