Unit 2: Data transmission and networking devices
Computer Networks-I notes · PTU syllabus (UGCC2517)
On this page
Unit summary
Data travels across networks as signals, and devices such as hubs, switches and routers direct it. This unit covers analog and digital signals, transmission modes, bandwidth and latency, and the functions and configuration of networking devices.
After this unit you can
- Distinguish analog and digital signals
- Explain simplex, half-duplex and full-duplex modes
- Define bandwidth, throughput and latency
- Explain the working of hubs, switches, bridges, routers and gateways
PTU syllabus topics
- Analog vs digital signals
- transmission modes (simplex, half-duplex, full-duplex)
- bandwidth and latency
- routers
- switches
- hubs
- bridges
- gateways — functions and configuration
Topic 1
Analog and digital signals
Data travels over a medium as a signal. An analog signal is a continuous wave that can take any value in a range. A digital signal has only discrete values, usually two, representing 0 and 1.
Form
Continuous wave
Discrete values (0 and 1)
Noise
Affected easily
More resistant
Example
Human voice, radio
Computer data
Conversion
Modem converts digital to analog and back
—
Example
A voice call over the internet: your voice is an analog sound wave. The phone samples it thousands of times a second and converts it to digital bits (analog-to-digital conversion). The bits travel over the network, and the receiver's phone converts them back to an analog wave for the speaker.
Exam tip
A modem converts digital to analog (modulation) and analog to digital (demodulation). That is where its name comes from.
Topic 2
Transmission modes
The transmission mode describes the direction in which data flows between two devices.
| Mode | Direction | Example |
|---|---|---|
| Simplex | One way only | Keyboard to computer, TV broadcast |
| Half-duplex | Both ways, one at a time | Walkie-talkie |
| Full-duplex | Both ways at the same time | Telephone call |
Example
Everyday examples: a radio broadcast sends in one direction only (simplex). On a walkie-talkie each person presses a button to talk and releases it to listen (half-duplex). On a phone call both people can speak and hear at the same time (full-duplex).
Topic 3
Bandwidth and latency
- Bandwidth: the maximum data rate of a link, measured in bits per second (bps, Mbps, Gbps).
- Throughput: the actual data rate achieved.
- Latency (delay): time for data to travel from source to destination = propagation + transmission + queuing + processing delay.
- Jitter: variation in delay — harmful to voice and video calls.
Example
Transmission delay = packet size / bandwidth. A 1,000,000-bit file on a 10 Mbps link takes 0.1 seconds to transmit.
Topic 4
Networking devices
Hub
Physical
Repeats incoming data to all ports
Repeater
Physical
Regenerates weak signals
Bridge
Data link
Connects two LAN segments and filters by MAC
Switch
Data link
Sends frames only to the destination port using a MAC table
Router
Network
Forwards packets between networks using IP addresses
Gateway
All layers
Connects networks using different protocols
Basic configuration: a switch learns MAC addresses automatically; a router is configured with IP addresses on its interfaces, a default gateway and routing (static or dynamic, such as RIP or OSPF).
Exam tip
A hub creates one collision domain for all ports; a switch gives each port its own collision domain; a router separates broadcast domains.
Key terms
- Bandwidth
- Maximum data rate of a link
- Latency
- Time taken for data to travel across a network
- Full-duplex
- Two-way simultaneous transmission
- Switch
- A device forwarding frames by MAC address
- Router
- A device forwarding packets between networks by IP address
Quick revision
- Analog = continuous; digital = discrete.
- Simplex one-way; half-duplex alternating; full-duplex simultaneous.
- Hub (L1) broadcasts; switch (L2) uses MAC; router (L3) uses IP.
- Transmission delay = size / bandwidth.
Important exam questions
Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).
Short-answer questions
- Q1.Differentiate between analog and digital signals.
- Q2.Give one example each of simplex, half-duplex and full-duplex.
- Q3.Define bandwidth and latency.
- Q4.Differentiate between a hub and a switch.
- Q5.What is a gateway?
Long-answer questions
- Q1.Explain transmission modes and the factors affecting latency.
- Q2.Explain the working of hubs, switches, bridges, routers and gateways with their OSI layers.
- Q3.Compare switching and routing and explain how a switch learns MAC addresses.
Stuck on this unit?
Message SBS on WhatsApp for help with Computer Networks-I, or to ask about studying BCA at Synetic.
