Principles of Computer Networks - Assignment
Principles of Computer Networks - Assignment
Number of users: LANs support fewer users than WANs, which can lead to less congestion.
Propagation delay: The time it takes for a signal to travel between devices in a network. LANs have a lower
propagation delay than WANs.
Data transfer rate: LANs have a higher data transfer rate than WANs.
Connection type: WAN connections often use public internet infrastructure, which can lead to congestion, errors,
and delays. Private leased lines can be faster, but they are more expensive to install.
3.Outline the distinctions between LAN and WAN
Cost: LANs are typically less expensive to set up and maintain than WANs.
Speed: WANs are usually slower than LANs, with a typical speed of 150 Mbp/s. Some
WANs can reach 1 Gigabit speeds, but this is not the norm.
Transmission medium: LANs use coaxial or UTP cable, while WANs use PSTN or satellite
link.
Devices: LANs use Layer 1 and Layer 2 devices, while WANs use Layer 3 devices such as
multi-layer switches and routers
ASSIGNMENT 2
1. Explain the differences between unicast, multicast, and broadcast communication in
networks. Provide an example use case for each.
Unicast
A one-to-one communication method that sends data from a single source to a
single recipient. For example, sending a text message to a friend is a unicast
communication.
2. Multicast
A one-to-many communication method that sends data from a single source to
a specific group of recipients. For example, sending data to a group of online
gamers is a multicast communication.
3. Broadcast
A one-to-all communication method that sends data from a single source to all
devices on a network. For example, a television network broadcasting live
content is a broadcast communication.
2.What is Quality of Service (QoS) in networking? Why is it important for real-time applications like
VoIP and video conferencing?
Carrier-sense multiple access with collision detection (CSMA/CD) is a network protocol that
regulates communication in Ethernet networks by preventing multiple devices from sending
data at the same time. CSMA/CD works by:
1. Carrier sense: A device listens to the network medium to see if it's idle.
2. Transmission: If the medium is idle, the device transmits data.
3. Collision detection: If another device starts transmitting at the same time, a collision
occurs.
4. Collision resolution: All devices stop transmitting, wait a random amount of time, and
then try to retransmit.