HUb: limited port compare to switch.less speed compare to switch because more collision.
Switch: To Avoid collision we use switch. In switch Each Port having own collision Domain.
HUB:Hub is a layer-1 device,in this data transmission in the form of bits.
SWITCH:Switch is a layer-2 device,in this data transmission in the form of frames.
Bi directional information.
It exchanges the data
to connect the computers
It gives the acknowledgment for received data