Barclays Interview Question

Difference between paging and segmentation