Question d’entretien chez SIRI

what is difference between switch and while