Northrop Grumman interview question

difference between oscilloscope and spectrum analyzer