Pergunta de entrevista da empresa Viasat

What is a diode,what is tcp protocol,diff between router and switch