Barclays interview question

Difference between paging and segmentation