Lecture Work
Lecture Work
DIGITAL TRANSMISSION
Digital-to-Digital Conversion
Line Coding
1
Computer Communications Networks CYB 204
2
Computer Communications Networks CYB 204
The data rate defines the number of data elements (bits) sent
in 1s. The unit is bits per second (bps). The signal rate is the
number of signal elements sent in 1s. The unit is the baud.
There are several common terminologies used in the
literature. The data rate is sometimes called the bit rate; the
3
Computer Communications Networks CYB 204
4
Computer Communications Networks CYB 204
Example
A signal is carrying data in which one data element is
encoded as one signal element (r = 1). If the bit rate is 100
kbps, what is the average value of the baud rate if c is
between 0 and l?
Solution
We assume that the average value of c is (1/2). The
baud rate is then S =c * N * (1/r) = (1/2) * 100,000 *
1 = 50,000 = 50 Kbaud
Bandwidth
Bandwidth refers to the permissible speed of data transfer
between devices within a network. It indicates the amount of
information that can be transmitted across the network over a
certain period of time. The higher the bandwidth, the faster
the data transmission speed.
5
Computer Communications Networks CYB 204
Channel Capacity
By capacity of a channel, it means the capacity of the
transmission medium (wire or link). Capacity is the number of
bits the transmission medium can hold.
6
Computer Communications Networks CYB 204
1. Bandwidth
2. Propagation delay
EXAMPLE 1
Solution:
7
Computer Communications Networks CYB 204
Capacity = 4 Mbps
If the bandwidth is given in bps (bits per second), you can still
use the same formula for capacity, but you'll need to adjust
8
Computer Communications Networks CYB 204
Example 2
Calculate the capacity of a communication channel with a
bandwidth of 20 Mbps (20 million bits per second) and a
propagation delay of 5 milliseconds.
Solution:
9
Computer Communications Networks CYB 204
EXAMPLE 3
A network with bandwidth of 10 Mbps can pass only an
average of 12,000 frames per minute with each frame carrying
an average of 10,000 bits. What is the throughput of this
network?
Solution
Given:
Bandwidth = 10 Mbps
Frames per minute = 12,000
Bits per frame = 10,000
Total bits per minute = Frames per minute × Bits per frame
= 120,000,000 bits/minute
10
Computer Communications Networks CYB 204
To find the throughput, we'll take the minimum of the total bits
per minute and the bandwidth, as throughput cannot exceed
the capacity of the network:
= 10,000,000 bits/minute
C = W * log2 (1 + SNR)
Given:
- Bandwidth (W) = 3 kHz = 3 * 103 Hz
- Signal-to-Noise Ratio (SNR) > 30 dB
11
Computer Communications Networks CYB 204
C ≈ 3 * 103 * 9.97
C ≈ 29.91 * 103
C ≈ 29910 bps
1. Ethernet:
- Description: Ethernet is the most commonly used LAN
technology. It employs a bus or star topology and uses Carrier
Sense Multiple Access with Collision Detection (CSMA/CD) as
its access method. This means that devices on the network
listen for traffic, and if the line is clear, they can transmit. If
12
Computer Communications Networks CYB 204
2. Token Ring:
- Description: Token Ring is a LAN technology that uses a
ring topology. Devices are connected in a logical ring, and a
token circulates around the ring, granting the right to transmit
data. Only the device holding the token can send data,
ensuring collision-free transmission.
- Speeds: Token Ring typically operated at speeds of 4 Mbps
or 16 Mbps.
- Media Types: Token Ring networks traditionally used
shielded twisted-pair copper cabling.
- MAC Addressing: Token Ring also uses MAC addresses for
addressing devices on the network. However, unlike Ethernet,
where devices compete for access to the network, Token Ring
devices must wait for the token to be passed to them before
they can transmit data.
Both Ethernet and Token Ring have been widely used in the
past, but Ethernet has largely become the dominant LAN
13
Computer Communications Networks CYB 204
1. Switched Ethernet:
- Description: In switched Ethernet, each device on the
network is connected to a switch port. Switches use MAC
addresses to forward data only to the port where the
destination device is located, resulting in more efficient data
transmission compared to shared Ethernet.
- Advantages:
i. Reduced collisions: Each device has its own dedicated
bandwidth, reducing the likelihood of collisions and improving
network performance.
ii. Better security: Switches create separate collision
domains for each port, isolating traffic and enhancing network
security.
iii. Scalability: Switched Ethernet networks can easily
scale to accommodate more devices without significant
performance degradation.
- Disadvantages:
i. Cost: Switched Ethernet typically requires more
hardware (switches) than shared Ethernet, leading to higher
initial setup costs.
ii. Complexity: Managing and configuring switches in a
switched Ethernet network can be more complex compared to
shared Ethernet.
2. Shared Ethernet:
14
Computer Communications Networks CYB 204
3. Client-Server Communications:
- Description: Client-server communication is a networking
model where one device (the client) requests services or
resources from another device (the server) over the network.
The server provides the requested resources or services to
the client in response to the client's requests.
- Advantages:
i. Centralized resources: Client-server architectures allow
for the centralization of resources and data, making it easier
to manage and secure.
ii. Scalability: Client-server architectures can easily scale
to accommodate a large number of clients and provide
services efficiently.
15
Computer Communications Networks CYB 204
16