In own words What is the difference between Segmentation and
In own words
What is the difference between Segmentation and paging, write few lines and examples.Solution
Answer:
Dividing the process into small parts is called pagging. Paging allows the main memory to read out the data which resides on the secondary memory.Pagging is thus the process of dividing the memory into fixedsized pages.
Example : Logical address space = size of the process . Let Logical Address Space = 256MB = 2^8 * 2^20 B
Word = 4B = 2^2B
Logical Address Space = 2^28/2^2 = 2^26 words.
Segmentation is simply dividing the memory into variable sized chunks and each chunk is allocated to processes.
