Pregunta de entrevista de Future Profilez

what is the difference between switch and if, for and while?