Data Communication and Networking
Data Communication and Networking
Data Communication and Networking
Economics
ASSIGNMENT # 2
DATA COMMUNICATOIN AND NETWORKING
SUBMITTED TO:
Ms Fatima Tariq
SUBMITTED BY:
Mahnoor Fatima
ROLL NO:
BSCS(V)-F22-54
Compare Infrastructure-based and Infrastructure-less
Networks:
This network provides more security This network provides fewer security
options. options.
o Circuit Switching:
Explanation: In circuit switching, a dedicated communication path
(circuit) is established between the sender and receiver for the entire
duration of the communication. This path remains reserved and
exclusive, ensuring consistent and predictable communication quality.
Usage and Example: Circuit switching is commonly used in traditional
telephone networks, where a dedicated circuit is established between
the calling and receiving parties for the duration of the call. Once the
circuit is established, the data (voice) flows directly between the two
parties.
Advantages: Predictable and constant communication quality, suitable
for real-time applications like voice calls.
Disadvantages: Inefficient use of resources when the circuit is idle, not
well-suited for burst or variable data traffic.
o Message Switching:
Explanation: In message switching, data is divided into messages or
packets, and each packet is independently routed through the network.
Each node in the network temporarily stores and forwards the entire
message.
Usage and Example: Early computer networks like the ARPANET used
message switching, where data packets were treated as discrete
messages and routed through the network node by node.
Advantages: Flexibility in routing, better resource utilization compared
to circuit switching.
Disadvantages: Increased latency due to node-to-node storage and
forwarding, inefficient for large messages.
o Packet Switching:
Explanation: Packet switching breaks data into smaller packets and
routes them individually through the network. Packets can take different
paths to reach the destination, and they are reassembled at the
receiver's end.
Usage and Example: Most modern computer networks, including the
Internet, use packet switching. The Internet Protocol (IP) is a prime
example of packet switching, where data packets are routed based on
destination addresses.
Advantages: Efficient use of network resources, robustness against
failures, adaptable to varying traffic loads.
Disadvantages: Potential for packet loss or out-of-order delivery,
increased complexity in managing packet flow.