Question d’entretien chez Future Profilez

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