SIRI interview question

what is difference between switch and while