Domanda di colloquio di Lloyds Technology Centre

What is the difference between a switch statement and loops?