Over 10 years we helping companies reach their financial and branding goals. Onum is a values-driven SEO agency dedicated.

CONTACTS
ECET 2026 CSE

Day 36 – Evening Session: OS – Memory Management (Paging & Segmentation) – ECET 2026

Memory Management is a core OS topic and one of the most repeated in ECET. Questions from Paging and Segmentation are simple, often direct, and scoring.


📘 Concept Notes

🔹 Paging

  • Paging is a memory management technique where process memory is divided into fixed-size pages and physical memory is divided into frames.
  • Pages are mapped to frames using a Page Table.
  • Avoids external fragmentation but may have internal fragmentation.

Formula – Logical Address Breakdown

If:

  • Logical address size =  m bits
  • Page size =  2^n bytes

Then:

  • Page number =  m - n bits
  • Page offset =  n bits

Physical Address

 \text{Physical Address} = \text{Frame Number} ; || ; \text{Offset}


🔹 Example – Paging

  • Logical address =  16 bits
  • Page size =  1 ; KB = 2^{10} ; bytes

→ Offset =  10 bits
→ Page number =  16 - 10 = 6 bits

So logical address =  (6 ; bits ; page ; number, ; 10 ; bits ; offset)


🔹 Segmentation

  • Segmentation divides memory into variable-sized segments based on logical divisions of a program (code, data, stack, etc.).
  • Each segment has:
    • Segment Number
    • Segment Base Address
    • Segment Limit

Formula – Physical Address in Segmentation

If logical address = (segment number, offset):

 \text{Physical Address} = \text{Base(segment)} + \text{Offset}

Condition:  \text{Offset} < \text{Limit(segment)}


🔹 Comparison Table

FeaturePagingSegmentation
DivisionFixed-size pagesVariable-size segments
Address partsPage no. + OffsetSegment no. + Offset
FragmentationInternalExternal
BasisPhysical memory divisionLogical division of program

🔟 10 Expected MCQs – ECET 2026

Q1. Paging divides memory into:
A) Segments
B) Frames & Pages
C) Blocks & Files
D) Tables

Q2. Segmentation divides memory based on:
A) Fixed-size blocks
B) Logical divisions
C) Cache levels
D) Virtual memory

Q3. In paging, the mapping between page and frame is stored in:
A) Segment Table
B) Page Table
C) TLB
D) Cache

Q4. In paging, if logical address size = 12 bits, page size =  2^4 → page number bits = ?
A) 4
B) 8
C) 12
D) 16

Q5. In segmentation, physical address = ?
A) Segment Number + Offset
B) Base + Offset
C) Limit + Offset
D) Page No. + Offset

Q6. Which problem exists in paging?
A) External fragmentation
B) Internal fragmentation
C) Both A & B
D) None

Q7. Which problem exists in segmentation?
A) External fragmentation
B) Internal fragmentation
C) Both A & B
D) None

Q8. If page size =  1 ; KB and logical address =  14 bits → offset bits = ?
A) 8
B) 10
C) 12
D) 14

Q9. Which technique allows logical division of program (code, data, stack)?
A) Paging
B) Segmentation
C) Swapping
D) Fragmentation

Q10. Advantage of paging is:
A) No external fragmentation
B) No internal fragmentation
C) Faster access
D) Both A & B


✅ Answer Key

Q.NoAnswer
Q1B
Q2B
Q3B
Q4B
Q5B
Q6B
Q7A
Q8B
Q9B
Q10A

🧠 Explanations

  • Q1 → B: Paging divides memory into pages & frames.
  • Q2 → B: Segmentation is based on logical program structure.
  • Q3 → B: Page Table stores mapping.
  • Q4 → B:  12 - 4 = 8 bits → page number.
  • Q5 → B: Segmentation uses base + offset.
  • Q6 → B: Paging causes internal fragmentation.
  • Q7 → A: Segmentation causes external fragmentation.
  • Q8 → B: Page size  1 KB = 2^{10} → 10 offset bits.
  • Q9 → B: Segmentation allows logical division.
  • Q10 → A: Paging removes external fragmentation.

🎯 Why Practice Matters

  • Paging & Segmentation questions are compulsory in OS section of ECET.
  • Simple formulas & definitions → easy 2–3 marks.
  • Also important for interviews and advanced computer architecture.

📲 Join Our ECET Prep WhatsApp Community

👉 Join WhatsApp Group – Click Here

Leave a comment

Your email address will not be published. Required fields are marked *