Interestingly, that just so happens to be what the switches do here where I work: Connect multiple 10-megabit hubs together.

But they also connect directly to 100-megabit cards in the servers, and a few 100-megabit-capapble workstations plug straight into the switches. I mean, the teacher was wrong, but he did describe one valid use for a switch.
_________________________
Tony Fabris