Question: what is the difference between paging and segmentation in os?
Answer: In Paging, a process address space is broken into fixed sized blocks called pages. In Segmentation, a process address space is broken in varying sized blocks called sections. Operating System divides the memory into pages. Compiler is responsible to calculate the segment size, the virtual address and actual address.