CSC 498 · Computer Network and Data Communications
Our notes
2 min readThe communication model
Source → transmitter → channel (medium) → receiver → destination, with noise entering on the channel. For data: a computer (source) → modem or network card (transmitter) → cable, fibre or radio → network card → computer.
Five parts of any data communication system: message, sender, receiver, medium, protocol (the agreed rules).
Data and signals
- Analogue signals vary continuously (voice on an old telephone line). Digital signals have a limited number of levels (two for binary).
- Data can be analogue or digital, and so can signals: digital data over an analogue channel needs a modem; analogue voice over a digital network needs a codec (pulse code modulation).
- Digital transmission is preferred today: cheaper chips, noise can be removed by regenerating (repeaters rebuild clean pulses; amplifiers boost noise too), easy encryption and error control, and voice, video and data share one network.
Describing a periodic signal
- Amplitude A (peak value), frequency f in hertz (cycles per second), period T = 1/f, phase φ (position in the cycle, degrees or radians).
- s(t) = A sin(2πft + φ).
- Wavelength λ = v/f (v = speed in the medium; 3 × 10⁸ m s⁻¹ in free space, about 2 × 10⁸ in copper and fibre).
Worked example. A 900 MHz GSM signal has λ = 3 × 10⁸/9 × 10⁸ = 0.33 m; a 2.4 GHz Wi-Fi signal 12.5 cm.
Transmission modes by direction
- Simplex: one way only (radio and TV broadcast, a keyboard to a computer).
- Half-duplex: both ways, one at a time (walkie-talkie, older Wi-Fi in practice).
- Full-duplex: both ways at once (telephone call, switched Ethernet).
Measures
- Bit rate: bits per second (bps).
- Baud (symbol rate): signal changes per second. If each symbol carries n bits (L = 2ⁿ levels), bit rate = baud × log₂ L.
Worked example. A modem sends 2,400 symbols per second with 16 different symbols: 2,400 × log₂ 16 = 2,400 × 4 = 9,600 bps.
- Bandwidth: the range of frequencies a channel passes (Hz). In everyday talk "bandwidth" also means data rate.
- Throughput: the data rate actually achieved; latency (delay): time for a bit to cross the network.
- Propagation delay = distance ÷ speed. Worked example. Lagos to London by fibre (about 6,000 km at 2 × 10⁸ m s⁻¹): 30 ms one way. Via a geostationary satellite (about 36,000 km up and back): 72,000 km/3 × 10⁸ = 240 ms, which is why satellite links feel slow for calls and games.
- Transmission delay = bits ÷ bit rate: a 1,500-byte packet on a 10 Mbps link takes 12,000/10⁷ = 1.2 ms.
Exams usually ask: draw and explain the communication model; analogue versus digital; simplex, half and full duplex with examples; bit rate versus baud; calculate wavelength and delays.
Common mistake: treating baud and bit rate as the same. They are equal only with two signal levels; with 16 levels each baud carries 4 bits.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Computer Networks: A Systems Approach, 1.2 Requirements
(opens book.systemsapproach.org in a new tab)
Peterson and Davie, Computer Networks: A Systems Approach, Computer Networks: A Systems Approach, 1.2 Requirements, CC BY 4.0 · licence
-
MIT 6.02 notes: Why digital? Communication abstractions and digital signalling
MIT course notes chapter (PDF, about 1.2 MB): fuller than our notes, with worked examples.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, MIT 6.02 notes: Why digital? Communication abstractions and digital signalling, CC BY-NC-SA 4.0 · licence
-
Data communication
(opens en.wikipedia.org in a new tab)
Wikipedia, Data communication, CC BY-SA 4.0 · licence
Watch
-
Introduction to Computer Networks
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Components of a Computer Network
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Network Performance
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Computer Networks: Crash Course Computer Science #28
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.