Final answer:
Hubs caused collisions in computer networking, but this was fixed by using switches that create individual network segments and reduce collision domains.
Step-by-step explanation:
In computer networking, hubs used to cause collisions when multiple devices would try to transmit data at the same time. This was because hubs operate in a shared medium where all connected devices receive the transmitted data, leading to collisions. To fix this issue, the use of switches was introduced.
Switches are devices that create individual network segments, known as virtual LANs (VLANs). Each device connected to a switch has its own VLAN, which means that collision domains are reduced. This allows devices to transmit data simultaneously without collisions.
Unlike hubs, switches have the capability to learn and remember the MAC addresses of devices connected to their ports. This enables switches to send the data directly to the intended device, rather than broadcasting it to all connected devices like hubs do.