Magnasoft interview question

How do raster and vector data differ, and give an example of each?