WalzoneInterview Prep
📞 Interviewing soon? Practice with a realistic AI mock phone interview — it calls you, then scores you. First 15 min FREE →

Computer Networking · Basic · question 8 of 100

Can you explain the difference between unicast, multicast, and broadcast?

📕 Buy this interview preparation book: 100 Computer Networking questions & answers — PDF + EPUB for $5

In computer networking, communication between devices happens in different ways, and unicast, multicast, and broadcast are three common methods used to send data packets among devices.

Unicast is a one-to-one transmission method, where a single packet is sent from a sender to a specific receiver on the network. The receiver’s address is the only one included in the packet header, which means that only that receiver can see and process the packet. Unicast is the most common communication method used in computer networks. For example, when you browse a website, your device sends unicast packets to the server, and the server sends unicast packets back to your device.

Multicast, on the other hand, is a one-to-many transmission method, where a single packet is sent from the sender to a group of devices that subscribe to that particular multicast group address. When a device sends a multicast packet, it explicitly identifies the multicast group address in the packet header, and all devices that have subscribed to that multicast group address will receive and process the packet. Multicast is commonly used in multimedia applications, such as online streaming, where a single stream of data is distributed to many devices at once. For instance, when devices stream music or video from a service, the service sends the stream as multicast packets to all the devices that have subscribed to that particular stream.

Finally, broadcast is a one-to-all transmission method, where a single packet is sent from the sender to all devices on the local network. In broadcast, the destination address is not a specific device, but instead a broadcast address that represents all devices on the network. When a device sends a broadcast packet, all devices on the local network receive and process the packet. Broadcast is typically used for network discovery or network management tasks. For instance, when a device joins a network or acquires an IP address, it broadcasts a packet to all devices on the network to inform them of its presence.

In summary, unicast is a one-to-one transmission method, multicast is a one-to-many transmission method, and broadcast is a one-to-all transmission method. These three methods have different purposes and use cases, and understanding their differences is essential for building and managing computer networks.

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic Computer Networking interview — then scores it.
📞 Practice Computer Networking — free 15 min
📕 Buy this interview preparation book: 100 Computer Networking questions & answers — PDF + EPUB for $5

All 100 Computer Networking questions · All topics