0
0

Memory Management Basics

Introduction

Memory Management என்பது Operating System இன் மிக முக்கியமான பொறுப்புகளில் ஒன்றாகும். இது programs சரியாக இயங்க தேவையான memoryயை பெறுவதை உறுதி செய்து, அவை ஒன்றுக்கொன்று இடையூறு செய்யாமல் இயங்க உதவுகிறது.

OS குறைந்த memory resourcesஐ எவ்வாறு திறமையாக கையாளுகிறது என்பதை தேர்வர்கள் புரிந்திருக்கிறார்களா என்பதை அறிய, competitive exams அடிப்படை memory conceptsஐ அடிக்கடி சோதிக்கின்றன.

Pattern: Memory Management Basics

Pattern

Memory management என்பது Operating System இன் ஒரு function ஆகும்; இது இயங்கிக் கொண்டிருக்கும் programsக்காக main memory (RAM)யின் allocation, use, மற்றும் release ஆகியவற்றை கட்டுப்படுத்துகிறது.

Step-by-Step Example

Question

எந்த Operating System function, வெவ்வேறு programsக்கு RAM allocate செய்வதற்கு பொறுப்பாக உள்ளது?

Options:
A. Process management
B. File management
C. Memory management
D. Device management

Solution

  1. Step 1: குறிப்பிடப்பட்ட resourceஐ கண்டறியுங்கள்

    கேள்வியில் தெளிவாக RAM குறிப்பிடப்பட்டுள்ளது; இது computer இன் main memory ஆகும்.
  2. Step 2: resourceஐ OS function உடன் பொருத்துங்கள்

    RAMயின் allocation மற்றும் deallocation ஆகியவை Operating System இன் memory management function மூலம் கையாளப்படுகின்றன.
  3. Final Answer:

    Memory management → Option C
  4. Quick Check:

    memory allocation இல்லாமல் programs இயங்க முடியாது → memory management உறுதி ✅

Quick Variations

1. programs இடையே memory conflictsஐத் தடுக்கும் OS function எது என்று கேள்வி வரலாம்.

2. சில நேரங்களில் virtual memory concepts அடிப்படையில் கேள்வி அமைக்கப்படும்.

3. paging vs segmentation பற்றிய அடிப்படை comparison கேள்விகள் பொதுவாக வருகின்றன.

Trick to Always Use

  • Step 1 → கேள்வியில் RAM அல்லது main memory குறிப்பிடப்பட்டால், Memory Management என்று நினையுங்கள்.
  • Step 2 → allocation, deallocation, மற்றும் protection ஆகியவை எப்போதும் இந்த functionக்கு சேர்ந்தவை.

Summary

Summary

  • Memory management RAM எவ்வாறு allocate செய்து பயன்படுத்தப்படுகிறது என்பதை கட்டுப்படுத்துகிறது.
  • programs ஒன்றுக்கொன்று memoryயில் இடையூறு செய்யாமல் இருப்பதை இது உறுதி செய்கிறது.
  • Virtual memory மற்றும் paging ஆகியவை memory management இன் extensions ஆகும்.
  • இது medium-level ஆக இருந்தாலும், அடிக்கடி கேட்கப்படும் OS concept ஆகும்.

Practice

(1/5)
1. Which operating system function ensures that different programs do not overwrite each other’s memory space?
easy
A. Memory management
B. Process management
C. File management
D. Device management

Solution

  1. Step 1: Identify the problem mentioned

    The question talks about preventing programs from interfering with each other’s memory.
  2. Step 2: Match with OS responsibility

    Memory protection and isolation are handled by memory management.
  3. Final Answer:

    Memory management → Option A
  4. Quick Check:

    Preventing memory conflicts is a core memory management task ✅
Hint: Memory protection always comes under memory management.
Common Mistakes: Choosing process management instead of memory management.
2. Which concept allows a computer to use hard disk space as an extension of RAM?
easy
A. Paging
B. Virtual memory
C. Segmentation
D. Cache memory

Solution

  1. Step 1: Identify the key idea

    The question mentions using disk space like RAM.
  2. Step 2: Match with the correct concept

    Virtual memory allows secondary storage to act as additional main memory.
  3. Final Answer:

    Virtual memory → Option B
  4. Quick Check:

    Disk used as memory extension = Virtual memory ✅
Hint: Disk acting like RAM always points to virtual memory.
Common Mistakes: Confusing virtual memory with cache memory.
3. Which memory management technique divides memory into fixed-size blocks?
easy
A. Segmentation
B. Virtual memory
C. Paging
D. Swapping

Solution

  1. Step 1: Identify the memory division method

    The question specifies fixed-size blocks.
  2. Step 2: Match with the correct technique

    Paging divides memory into fixed-size pages.
  3. Final Answer:

    Paging → Option C
  4. Quick Check:

    Fixed-size blocks always indicate paging ✅
Hint: Fixed size = Paging, variable size = Segmentation.
Common Mistakes: Mixing up paging and segmentation.
4. Which memory management activity decides how much memory each running program receives?
medium
A. Memory allocation
B. Memory protection
C. Swapping
D. Segmentation

Solution

  1. Step 1: Identify the decision-making task

    The question refers to deciding memory size for programs.
  2. Step 2: Match with OS activity

    Allocating memory to programs is called memory allocation.
  3. Final Answer:

    Memory allocation → Option A
  4. Quick Check:

    Giving memory to programs = Memory allocation ✅
Hint: Allocation means deciding who gets how much memory.
Common Mistakes: Confusing allocation with protection.
5. Which memory management technique divides memory according to logical parts of a program?
medium
A. Paging
B. Virtual memory
C. Swapping
D. Segmentation

Solution

  1. Step 1: Focus on logical division

    The question highlights division based on program logic.
  2. Step 2: Identify the technique

    Segmentation divides memory into logical segments like code, data, and stack.
  3. Final Answer:

    Segmentation → Option D
  4. Quick Check:

    Logical parts of a program = Segmentation ✅
Hint: Logical division always indicates segmentation.
Common Mistakes: Selecting paging when logical structure is mentioned.

Mock Test

Ready for a challenge?

Take a 10-minute AI-powered test with 10 questions (Easy-Medium-Hard mix) and get instant SWOT analysis of your performance!

10 Questions
5 Minutes