Problem Set 1
Problem Set 1
Failure Impact: Highly resilient; failure of one connection doesn't affect the overall network. Each device
has multiple paths to others.
Failure Impact: If a device fails, only that device is affected. However, if the central hub fails, the entire
network becomes inoperable.
Failure Impact: A break in the main cable (bus) can disrupt communication for all devices. However,
individual device failures typically don't affect the network.
Failure Impact: A failure in any single device or connection can disrupt the entire network, as data cannot
complete its loop.
Advantages:
Disadvantages:
3. Repeater
Definition: A repeater is an electronic device that receives a signal and retransmits it to extend the transmission
distance. Purpose:
4. Hub
Definition: A hub is a network device that connects multiple Ethernet devices, making them act as a single network
segment.
Purpose:
Simplex:
Half-Duplex:
Full-Duplex:
Time = 800,000 bits ÷ 1000 bps = 800 seconds = 13 minutes and 20 seconds.
10. If the bandwidth of the channel is 5 Kbps, how long does it take to send a
frame of 100,000 bits?
Given:
Calculation:
11. A file contains 28 million bytes. How long does it take to download this file
using a 56 Kbps channel?
Given:
File size = 28 million bytes = 28 × 10⁶ bytes = 28 × 8 × 10⁶ bits = 224 × 10⁶ bits
Bandwidth = 56 Kbps = 56,000 bps
Calculation:
Convert to minutes:
Answer:
4000 seconds or approximately 66.67 minutes
12. A file contains 56 million bytes. How long does it take to download this file
using a 280 Mbps channel?
Given:
Calculation:
Answer:
1.6 seconds
13. A file contains 2 million bytes. How long does it take to download this file
using:
a) 56 Kbps channel
b) 1 Mbps channel
Answer:
14. A light signal is travelling through a fiber. What is the delay if the fiber-optic
cable is 10 m, 100 m, and 1 Km?
Given:
Calculations:
10 m:
100 m:
Answer:
10 m: 50 ns
100 m: 500 ns
1 km: 5 µs
15. What is topology? Discuss various topologies with their advantages and
disadvantages.
Definition:
Network topology refers to the layout or organizational hierarchy of interconnected
nodes/devices in a computer network.
1. Bus Topology:
o Advantages: Easy to install, requires less cable.
o Disadvantages: Difficult to troubleshoot; failure of main cable disrupts entire
network.
2. Star Topology:
o Advantages: Easy to manage, failure of one device doesn't affect others.
o Disadvantages: If the central hub fails, the entire network fails.
3. Ring Topology:
o Advantages: Data flows in one direction, reducing packet collisions.
o Disadvantages: One failure can bring down the whole network.
4. Mesh Topology:
o Advantages: High fault tolerance, reliable communication.
o Disadvantages: Expensive, complex installation.
5. Tree Topology:
o Advantages: Scalable, hierarchical management.
o Disadvantages: Depends heavily on the main bus/hub.
6. Hybrid Topology:
o Advantages: Combines benefits of multiple topologies.
o Disadvantages: Complex and costly to implement.
16. A packet of 10,000 bits is transmitted over a link with a bandwidth of 1
Mbps. What is the transmission delay?
Given:
Calculation:
Answer:
10 milliseconds
17. What is the propagation delay if a signal travels through a 400 km cable at 8
× 10⁸ m/s?
Given:
Calculation:
Answer:
0.5 milliseconds
18. What is World Wide Web (WWW)? How is it different from the Internet?
Where:
20. For n devices in a network, what is the number of cable links required for a
mesh, ring, bus, and star topology?
Mesh Topology: In a mesh topology, each device is connected to every other device. The
number of links required is:
where n is the number of devices in the network. This is because each device is
connected to every other device, and there are n(n−1)2\frac{n(n-1)}{2} unique pairs.
Ring Topology: In a ring topology, each device is connected to exactly two other
devices, forming a circular connection. The number of links required is:
Number of links=n\text{Number of links} = n
where n is the number of devices, as each device needs to be connected to the next one in
a ring.
Bus Topology: In a bus topology, all devices are connected to a single central bus or
backbone. The number of links required is:
Star Topology: In a star topology, each device is connected to a central hub or switch.
The number of links required is:
where n is the number of devices, as each device connects to the central hub.
21. Performance is inversely related to delay. When you use the Internet, which
of the following applications are more sensitive to delay?
A. Sending an e-mail
B. Copying a file
C. Surfing the Internet
C. Surfing the Internet is more sensitive to delay because websites and interactive
applications (like video streaming or gaming) require low latency for real-time content
delivery. A high delay can cause a poor user experience with slower page loads, buffering
videos, or lag in online games.
A. Sending an email and B. Copying a file are less sensitive to delay since these tasks
can tolerate some delay without significantly affecting their functionality.
22. You have two computers connected by an Ethernet hub at home. Is this a
LAN, a MAN, or a WAN? Explain your reason.
This is a LAN (Local Area Network). A LAN is a network of devices connected within
a limited area, such as a home, office, or campus. Since the two computers are connected
within your home using an Ethernet hub, they are part of a local area network. A MAN
(Metropolitan Area Network) covers a larger area like a city, and a WAN (Wide Area
Network) spans even larger areas, like countries or continents.